Changeset 4080 for neercs/trunk/src/help.c
- Timestamp:
- Nov 30, 2009, 5:07:52 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
neercs/trunk/src/help.c
r4075 r4080 1 /* 1 /* 2 2 * neercs console-based window manager 3 3 * Copyright (c) 2006 Sam Hocevar <sam@zoy.org> … … 45 45 int x = (caca_get_canvas_width(screen_list->cv) - w) / 2; 46 46 int y = (caca_get_canvas_height(screen_list->cv) - h) / 2; 47 48 47 48 49 49 caca_set_color_ansi(screen_list->cv, CACA_BLUE, CACA_BLUE); 50 50 caca_fill_box(screen_list->cv, x, y, w, h, '#'); 51 51 caca_set_color_ansi(screen_list->cv, CACA_DEFAULT, CACA_BLUE); 52 52 caca_draw_cp437_box(screen_list->cv, x, y, w, h); 53 53 54 54 x += 2; 55 55 y++; … … 64 64 caca_printf(screen_list->cv, x, y++, ""); 65 65 caca_printf(screen_list->cv, x, y++, "All shortcuts are in format 'ctrl-a-X' where X is :"); 66 caca_printf(screen_list->cv, x, y++, "n: \tNext window");67 caca_printf(screen_list->cv, x, y++, "p: \tPrevious window");68 caca_printf(screen_list->cv, x, y++, "w: \tSwitch window manager");69 caca_printf(screen_list->cv, x, y++, "c: \tCreate new window");70 caca_printf(screen_list->cv, x, y++, "m: \tThumbnails");71 caca_printf(screen_list->cv, x, y++, "d: \tDetach");72 caca_printf(screen_list->cv, x, y++, "k: \tClose window and kill associated process");73 caca_printf(screen_list->cv, x, y++, "h: \tThis help");66 caca_printf(screen_list->cv, x, y++, "n: Next window"); 67 caca_printf(screen_list->cv, x, y++, "p: Previous window"); 68 caca_printf(screen_list->cv, x, y++, "w: Switch window manager"); 69 caca_printf(screen_list->cv, x, y++, "c: Create new window"); 70 caca_printf(screen_list->cv, x, y++, "m: Thumbnails"); 71 caca_printf(screen_list->cv, x, y++, "d: Detach"); 72 caca_printf(screen_list->cv, x, y++, "k: Close window and kill associated process"); 73 caca_printf(screen_list->cv, x, y++, "h: This help"); 74 74 caca_printf(screen_list->cv, x, y++, ""); 75 75 caca_printf(screen_list->cv, x, y++, "");
Note: See TracChangeset
for help on using the changeset viewer.