Changeset 1897
- Timestamp:
- 06/03/12 01:28:15 (13 months ago)
- File:
-
- 1 edited
-
trunk/core/games/gui_4wins.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/games/gui_4wins.c
r1594 r1897 333 333 draw_txt_string((camera_screen.ts_button_border/FONT_WIDTH)+30, 3, lang_str(LANG_CONNECT4_RIVAL), TEXT_COLOR); 334 334 sprintf(str, "%d",count_win[0]); 335 draw_txt_string((camera_screen. width-camera_screen.ts_button_border)/FONT_WIDTH-2-10, camera_screen.height/FONT_HEIGHT-9, str, MAKE_COLOR(INFO_COLOR, P1_COLOR));335 draw_txt_string((camera_screen.ts_button_border/FONT_WIDTH)+34, camera_screen.height/FONT_HEIGHT-9, str, MAKE_COLOR(INFO_COLOR, P1_COLOR)); 336 336 sprintf(str, ":"); 337 draw_txt_string((camera_screen. width-camera_screen.ts_button_border)/FONT_WIDTH-2-7, camera_screen.height/FONT_HEIGHT-9, str, INFO_TEXT_COLOR);337 draw_txt_string((camera_screen.ts_button_border/FONT_WIDTH)+36, camera_screen.height/FONT_HEIGHT-9, str, INFO_TEXT_COLOR); 338 338 sprintf(str, "%d",count_win[1]); 339 draw_txt_string((camera_screen. width-camera_screen.ts_button_border)/FONT_WIDTH-2-4, camera_screen.height/FONT_HEIGHT-9, str, MAKE_COLOR(INFO_COLOR, P2_COLOR));339 draw_txt_string((camera_screen.ts_button_border/FONT_WIDTH)+38, camera_screen.height/FONT_HEIGHT-9, str, MAKE_COLOR(INFO_COLOR, P2_COLOR)); 340 340 draw_mode(); 341 341 if(cur_player==2&&!mode_rival) set(); … … 371 371 void gui_4wins_draw(int enforce_redraw) { 372 372 static char str[16]; 373 sprintf(str, " %3d%%", get_batt_perc());374 draw_txt_string((camera_screen. width-camera_screen.ts_button_border)/FONT_WIDTH-2-13, camera_screen.height/FONT_HEIGHT-2, str, INFO_TEXT_COLOR);375 gui_osd_draw_clock(camera_screen.ts_button_border+ 290,208,INFO_TEXT_COLOR);373 sprintf(str, "Batt: %3d%%", get_batt_perc()); 374 draw_txt_string((camera_screen.ts_button_border/FONT_WIDTH)+31, camera_screen.height/FONT_HEIGHT-2, str, INFO_TEXT_COLOR); 375 gui_osd_draw_clock(camera_screen.ts_button_border+35*FONT_WIDTH,208-FONT_HEIGHT,INFO_TEXT_COLOR); 376 376 } 377 377
Note: See TracChangeset
for help on using the changeset viewer.