Changeset 1969
- Timestamp:
- 07/10/12 05:14:28 (11 months ago)
- File:
-
- 1 edited
-
trunk/core/gui_tbox.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/gui_tbox.c
r1874 r1969 33 33 static const char* tbox_msg; 34 34 static char cursor_to_draw; 35 static int cl_greygrey;36 35 37 36 // height of prompt … … 271 270 // clean previous symbols line 272 271 int pline = (line == 0)?lines:line-1; 273 draw_filled_rect(key_offset_x, tbox_buttons_y, key_offset_x+(tbox_width-1)*FONT_WIDTH, tbox_buttons_y+3*FONT_HEIGHT, cl_greygrey);272 draw_filled_rect(key_offset_x, tbox_buttons_y, key_offset_x+(tbox_width-1)*FONT_WIDTH, tbox_buttons_y+3*FONT_HEIGHT, MAKE_COLOR(COLOR_GREY, COLOR_GREY)); 274 273 275 274 // draw current symbols line … … 331 330 } 332 331 else { 333 draw_line(text_offset_x+(1+cursor-offset)*FONT_WIDTH, text_offset_y+1, text_offset_x+(1+cursor-offset)*FONT_WIDTH, text_offset_y+FONT_HEIGHT-3, cl_greygrey);332 draw_line(text_offset_x+(1+cursor-offset)*FONT_WIDTH, text_offset_y+1, text_offset_x+(1+cursor-offset)*FONT_WIDTH, text_offset_y+FONT_HEIGHT-3, MAKE_COLOR(COLOR_GREY, COLOR_GREY)); 334 333 cursor_to_draw = 1; 335 334 }
Note: See TracChangeset
for help on using the changeset viewer.