Changeset 1480
- Timestamp:
- 12/12/11 06:14:08 (19 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
core/console.c (modified) (2 diffs)
-
platform/ixus310_elph500hs/kbd.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/console.c
r1394 r1480 130 130 if (t <= console_last_drawn + CONSOLE_HIDE_TIMEOUT) 131 131 { 132 int y = (console_y + console_max_lines - console_num_lines) * FONT_HEIGHT; 133 int x = console_x * FONT_WIDTH + CAM_TS_BUTTON_BORDER; 134 132 135 for(c = 0; c < console_num_lines; ++c) 133 136 { … … 135 138 l = strlen(console_buf[i]); 136 139 137 draw_ txt_string(console_x, console_y + console_max_lines - console_num_lines + c,138 console_buf[i], MAKE_COLOR(COLOR_BG, COLOR_FG)); 139 140 for (; l < console_line_length; ++l)141 draw_txt_char(console_x + l, console_y + console_max_lines - console_num_lines + c,142 ' ', MAKE_COLOR(COLOR_BG, COLOR_FG));140 draw_string(x, y + c * FONT_HEIGHT, console_buf[i], MAKE_COLOR(COLOR_BG, COLOR_FG)); 141 142 if (l < console_line_length) 143 draw_filled_rect(x + l * FONT_WIDTH, y + c * FONT_HEIGHT, 144 x + console_line_length * FONT_WIDTH, y + c * FONT_HEIGHT + FONT_HEIGHT, 145 MAKE_COLOR(COLOR_BG, COLOR_BG)); 143 146 } 144 147 } -
trunk/platform/ixus310_elph500hs/kbd.c
r1420 r1480 346 346 { 3, KEY_DISPLAY , 0x00000008, LB(0,4), 0, "Back", 0, GUI_MODE_MENU, GUI_MODE_MENU, MODE_REC|MODE_PLAY }, 347 347 { 3, KEY_DISPLAY , 0x00000008, LB(0,4), 0, "Disp", 0, GUI_MODE_PALETTE, 100, MODE_REC|MODE_PLAY }, 348 { 3, KEY_UP , 0x00000010, RB(0,1), 0, "Up", 0, GUI_MODE_ MENU,100, MODE_REC|MODE_PLAY },349 { 3, KEY_LEFT , 0x00000020, RB(0,2), 0, "Left", 0, GUI_MODE_ MENU,100, MODE_REC|MODE_PLAY },350 { 3, KEY_RIGHT , 0x00000040, RB(0,3), 0, "Right", 0, GUI_MODE_ MENU,100, MODE_REC|MODE_PLAY },351 { 3, KEY_DOWN , 0x00000080, RB(0,4), 0, "Down", 0, GUI_MODE_ MENU,100, MODE_REC|MODE_PLAY },348 { 3, KEY_UP , 0x00000010, RB(0,1), 0, "Up", 0, GUI_MODE_ALT, 100, MODE_REC|MODE_PLAY }, 349 { 3, KEY_LEFT , 0x00000020, RB(0,2), 0, "Left", 0, GUI_MODE_ALT, 100, MODE_REC|MODE_PLAY }, 350 { 3, KEY_RIGHT , 0x00000040, RB(0,3), 0, "Right", 0, GUI_MODE_ALT, 100, MODE_REC|MODE_PLAY }, 351 { 3, KEY_DOWN , 0x00000080, RB(0,4), 0, "Down", 0, GUI_MODE_ALT, 100, MODE_REC|MODE_PLAY }, 352 352 353 353 { 3, KEY_UP , 0x00000010, RB(0,0), 0, "Man", "Focus", GUI_MODE_ALT, GUI_MODE_ALT, MODE_REC, &conf.subj_dist_override_koef, 0, &conf.touchscreen_disable_shortcut_controls },
Note: See TracChangeset
for help on using the changeset viewer.