Show
Ignore:
Timestamp:
09/07/09 22:54:57 (3 years ago)
Author:
Pierre-Alexandre Meyer <pierre@…>
Children:
47ac912cd5d8df0a96b8f5b98d7476f7cfb1cb19
Parents:
3e8d9f7d228c21be97f0d948546b07e5aa959313
git-committer:
Pierre-Alexandre Meyer <pierre@mouraf.org> / 2009-09-07T15:54:57Z-0700
Message:

cmenu: use ASCII characters for scrollbars

Use and v as hints for scrolling. Use \141 from the Special Characters and
Line Drawing Character Set as the scrollbox.

Note: printf "\016\141\017" doesn't seem to work well on xterm, although
it does work on the vga console.

Signed-off-by: Pierre-Alexandre Meyer <pierre@…>

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • com32/cmenu/libmenu/menu.h

    r843f0e r397586  
    7373#define HLITE         1         // The offset for Hlite attrib 
    7474 
    75 #define MOREABOVE    24         // char to print when more menu items available above 
    76 #define MOREBELOW    25         // more items available below 
    77 #define SCROLLBOX    176        // Filled char to display 
     75#define MOREABOVE    '^'                // char to print when more menu items available above 
     76#define MOREBELOW    'v'                // more items available below 
    7877 
    7978// Attributes of the menu system