FONT_HEIGHT 9 core/console.c #define MAX_CONSOLE_LINES (camera_screen.height/FONT_HEIGHT-1) FONT_HEIGHT 87 core/console.c int y = (console_y + console_max_lines - 1) * FONT_HEIGHT; FONT_HEIGHT 96 core/console.c draw_string_justified(x, y - c * FONT_HEIGHT, buf, col, 0, console_line_length * FONT_WIDTH, TEXT_LEFT|TEXT_FILL); FONT_HEIGHT 223 core/console.c coord y = (camera_screen.height - (h+1) * FONT_HEIGHT) >> 1; FONT_HEIGHT 225 core/console.c draw_rectangle(x-3, y-3, x+w*FONT_WIDTH+3, y+(h+1)*FONT_HEIGHT+2, col, RECT_BORDER1|DRAW_FILLED); // main box FONT_HEIGHT 226 core/console.c draw_rectangle(x-2, y-2, x+w*FONT_WIDTH+2, y+FONT_HEIGHT+1, col, RECT_BORDER1|DRAW_FILLED); //title FONT_HEIGHT 229 core/console.c y += FONT_HEIGHT + 2; FONT_HEIGHT 235 core/console.c draw_string_justified(x-1, y + c * FONT_HEIGHT, console_buf[i], col, 0, w * FONT_WIDTH, TEXT_LEFT|TEXT_FILL); FONT_HEIGHT 239 core/console.c draw_rectangle(x+w*FONT_WIDTH, y+((MAX_CONSOLE_HISTORY-console_scroll-h)*(h*FONT_HEIGHT))/MAX_CONSOLE_HISTORY, FONT_HEIGHT 240 core/console.c x+w*FONT_WIDTH+2, y+((MAX_CONSOLE_HISTORY-console_scroll)*(h*FONT_HEIGHT))/MAX_CONSOLE_HISTORY-1, FONT_HEIGHT 279 core/gui.c coord y = (camera_screen.height - EXP_TEXT_HEIGHT*FONT_HEIGHT) >> 1; FONT_HEIGHT 321 core/gui.c draw_string(16,FONT_HEIGHT*c,buf,MAKE_COLOR(COLOR_BLACK,COLOR_YELLOW)); FONT_HEIGHT 328 core/gui.c draw_string(16,FONT_HEIGHT*c,buf,MAKE_COLOR(COLOR_BLACK,COLOR_YELLOW)); FONT_HEIGHT 335 core/gui.c draw_string(16,FONT_HEIGHT*c,buf,MAKE_COLOR(COLOR_BLACK,COLOR_YELLOW)); FONT_HEIGHT 2326 core/gui.c logo_text_height = logo_text_height * FONT_HEIGHT + 8; FONT_HEIGHT 2354 core/gui.c draw_string(x+((logo_text_width-strlen(text[i])*FONT_WIDTH)>>1), y+i*FONT_HEIGHT+4, text[i], cl); FONT_HEIGHT 2358 core/gui.c do_expire_splash(x+((logo_text_width)>>1),y+(i+1)*FONT_HEIGHT+4); FONT_HEIGHT 2557 core/gui.c return y + FONT_HEIGHT; FONT_HEIGHT 2584 core/gui.c int y = FONT_HEIGHT; FONT_HEIGHT 2595 core/gui.c y += FONT_HEIGHT; FONT_HEIGHT 2604 core/gui.c y += FONT_HEIGHT; FONT_HEIGHT 2608 core/gui.c y += FONT_HEIGHT; FONT_HEIGHT 2618 core/gui.c y += FONT_HEIGHT; FONT_HEIGHT 2687 core/gui.c w = draw_string_justified(camera_screen.disp_left, camera_screen.height-FONT_HEIGHT, FONT_HEIGHT 2694 core/gui.c draw_string_clipped(camera_screen.disp_left, camera_screen.height-FONT_HEIGHT, script_title, user_color(conf.menu_color), w); FONT_HEIGHT 2950 core/gui.c draw_string(FONT_WIDTH, FONT_HEIGHT, lang_str(LANG_ERROR_MISSING_MODULES), user_color(conf.osd_color_warn)); FONT_HEIGHT 932 core/gui_draw.c for (; i<FONT_HEIGHT; i++) FONT_HEIGHT 1147 core/gui_draw.c if (i < FONT_HEIGHT) FONT_HEIGHT 1148 core/gui_draw.c draw_rectangle(x,y+i*ysize,x+FONT_WIDTH*xsize-1,y+FONT_HEIGHT*ysize+ysize-1,clb,RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 1283 core/gui_draw.c draw_rectangle(x, y, x+xo-1, y+FONT_HEIGHT-1, cl, RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 1290 core/gui_draw.c draw_rectangle(x+l, y, x+max_width-1, y+FONT_HEIGHT-1, cl, RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 1343 core/gui_draw.c y += FONT_HEIGHT; FONT_HEIGHT 1435 core/gui_draw.c draw_string(col*FONT_WIDTH, row*FONT_HEIGHT, str, cl); FONT_HEIGHT 1559 core/gui_draw.c draw_rectangle(x-2, y-2, x+w+2, y+FONT_HEIGHT+2, cl, RECT_BORDER1|DRAW_FILLED|RECT_SHADOW1); // main box FONT_HEIGHT 94 core/gui_mbox.c coord y = (camera_screen.height - (h+2) * FONT_HEIGHT) >> 1; FONT_HEIGHT 95 core/gui_mbox.c draw_rectangle(x-4, y-4, x+w*FONT_WIDTH+4, y+(h+2)*FONT_HEIGHT+SPACING_BTN+2+SPACING_TITLE+7, FONT_HEIGHT 97 core/gui_mbox.c draw_rectangle(x-2, y-2, x+w*FONT_WIDTH+2, y+FONT_HEIGHT+2, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE), RECT_BORDER1|DRAW_FILLED); //title FONT_HEIGHT 100 core/gui_mbox.c y += FONT_HEIGHT+2+SPACING_TITLE; FONT_HEIGHT 111 core/gui_mbox.c mbox_buttons_y = y+h*FONT_HEIGHT+SPACING_BTN; FONT_HEIGHT 157 core/gui_mbox.c if ((sy >= mbox_buttons_y-2) && (sy <= mbox_buttons_y+FONT_HEIGHT+2)) FONT_HEIGHT 185 core/gui_mbox.c draw_rectangle(x+10, y+4+FONT_HEIGHT, x+w-10, y+h-10, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE), RECT_BORDER1|DRAW_FILLED); // progress rect FONT_HEIGHT 186 core/gui_mbox.c draw_rectangle(x+11, y+5+FONT_HEIGHT, x+11+(w-22)*perc/100, y+h-11, MAKE_COLOR(COLOR_RED, COLOR_RED), RECT_BORDER0|DRAW_FILLED); // progress bar FONT_HEIGHT 118 core/gui_osd.c draw_osd_string(conf.dof_pos, 0, FONT_HEIGHT, "DOF/HYP:", col, conf.dof_scale); FONT_HEIGHT 121 core/gui_osd.c draw_osd_string(conf.dof_pos, i*FONT_WIDTH, FONT_HEIGHT, osd_buf, (f_ex && camera_info.dof_values.distance_valid)?valid_col:col, conf.dof_scale); FONT_HEIGHT 123 core/gui_osd.c draw_osd_string(conf.dof_pos, i*FONT_WIDTH, FONT_HEIGHT, "/", col, conf.dof_scale); FONT_HEIGHT 125 core/gui_osd.c draw_osd_string(conf.dof_pos, (++i)*FONT_WIDTH, FONT_HEIGHT, osd_buf, (f_ex && camera_info.dof_values.hyperfocal_valid)?valid_col:col, conf.dof_scale); FONT_HEIGHT 137 core/gui_osd.c n+=FONT_HEIGHT; FONT_HEIGHT 163 core/gui_osd.c m+=FONT_HEIGHT; FONT_HEIGHT 200 core/gui_osd.c m+=FONT_HEIGHT; FONT_HEIGHT 527 core/gui_osd.c draw_osd_string(conf.mode_video_pos, 0, 2*FONT_HEIGHT, osd_buf, col, conf.mode_video_scale); FONT_HEIGHT 534 core/gui_osd.c draw_osd_string(conf.mode_video_pos, 0, 3*FONT_HEIGHT, osd_buf, col, conf.mode_video_scale); FONT_HEIGHT 541 core/gui_osd.c draw_osd_string(conf.mode_video_pos, 0, 2*FONT_HEIGHT, osd_buf, col, conf.mode_video_scale); FONT_HEIGHT 546 core/gui_osd.c draw_osd_string(conf.mode_video_pos, 0, 2*FONT_HEIGHT, osd_buf, col, conf.mode_video_scale); FONT_HEIGHT 603 core/gui_osd.c time_yofst = FONT_HEIGHT; FONT_HEIGHT 657 core/gui_osd.c draw_osd_string(conf.temp_pos, 0, yofst*FONT_HEIGHT, osd_buf, user_color(conf.osd_color), conf.temp_scale); FONT_HEIGHT 1085 core/gui_osd.c draw_string(64,FONT_HEIGHT+FONT_HEIGHT*i,osd_buf, user_color(conf.osd_color)); FONT_HEIGHT 1114 core/gui_osd.c int DBGMISCVALS_Y = ((camera_screen.height/FONT_HEIGHT)-6); FONT_HEIGHT 1220 core/gui_osd.c draw_string(64,FONT_HEIGHT+FONT_HEIGHT*i,osd_buf, col); FONT_HEIGHT 1246 core/gui_osd.c draw_string(16,FONT_HEIGHT+FONT_HEIGHT*i,osd_buf, col); FONT_HEIGHT 1260 core/gui_osd.c draw_string(64,FONT_HEIGHT+FONT_HEIGHT*i,osd_buf, col); FONT_HEIGHT 141 core/memmgmt.c draw_string(2*FONT_WIDTH, 12*FONT_HEIGHT, osd_buf, user_color(conf.osd_color)); FONT_HEIGHT 148 core/memmgmt.c draw_string(2*FONT_WIDTH, 13*FONT_HEIGHT, osd_buf, user_color(conf.osd_color)); FONT_HEIGHT 471 core/usb_remote.c draw_string(2,FONT_HEIGHT,buf,MAKE_COLOR(COLOR_YELLOW,COLOR_RED)); FONT_HEIGHT 476 core/usb_remote.c draw_string(2,FONT_HEIGHT*3,buf,MAKE_COLOR(COLOR_BLACK,COLOR_YELLOW)); FONT_HEIGHT 482 core/usb_remote.c draw_string(2,FONT_HEIGHT*2,buf,MAKE_COLOR(COLOR_YELLOW,COLOR_BLACK)); FONT_HEIGHT 484 core/usb_remote.c draw_string(2,FONT_HEIGHT*4,buf,MAKE_COLOR(COLOR_BLACK,COLOR_YELLOW)); FONT_HEIGHT 486 core/usb_remote.c draw_string(2,FONT_HEIGHT*5,buf,MAKE_COLOR(COLOR_BLACK,COLOR_YELLOW)); FONT_HEIGHT 505 core/usb_remote.c draw_string(2,FONT_HEIGHT*6,buf,MAKE_COLOR(COLOR_BLACK,COLOR_YELLOW)); FONT_HEIGHT 250 lib/font/rbf_font.c rbf_font->hdr.charSize = FONT_HEIGHT; FONT_HEIGHT 251 lib/font/rbf_font.c rbf_font->hdr.height = FONT_HEIGHT; FONT_HEIGHT 260 modules/exmem_inspector.c disph = camera_screen.height / FONT_HEIGHT; FONT_HEIGHT 289 modules/exmem_inspector.c draw_string(camera_screen.disp_left, FONT_HEIGHT, sampling?"SET-stop MENU-exit RIGHT-viewmode LEFT-save":"SET-start MENU-exit RIGHT-viewmode LEFT-save", MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 293 modules/exmem_inspector.c draw_string(camera_screen.disp_left, 2*FONT_HEIGHT, "Idx Name Addr Size ", MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 296 modules/exmem_inspector.c draw_string(camera_screen.disp_left, 2*FONT_HEIGHT, "Idx Name Addr Top ", MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 302 modules/exmem_inspector.c draw_string(camera_screen.disp_left, 2*FONT_HEIGHT, "Time Name Addr Size ", MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 305 modules/exmem_inspector.c draw_string(camera_screen.disp_left, 2*FONT_HEIGHT, "Time Name Addr Top ", MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 310 modules/exmem_inspector.c showidx=3*FONT_HEIGHT; FONT_HEIGHT 333 modules/exmem_inspector.c showidx += FONT_HEIGHT; FONT_HEIGHT 364 modules/exmem_inspector.c showidx += FONT_HEIGHT; FONT_HEIGHT 984 modules/file_shelter.c disph = camera_screen.height / FONT_HEIGHT; FONT_HEIGHT 986 modules/file_shelter.c helph = camera_screen.height / FONT_HEIGHT - 5; FONT_HEIGHT 1026 modules/file_shelter.c draw_string(camera_screen.disp_left, FONT_HEIGHT, !starea?"SET-backup MENU-exit \x18\x19-help":noformatyet?"SET-check MENU-exit \x18\x19-help":"SET-restore MENU-exit \x18\x19-help", MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 1042 modules/file_shelter.c draw_rectangle(camera_screen.disp_left, FONT_HEIGHT*2, camera_screen.disp_right, FONT_HEIGHT*5-1, MAKE_COLOR(COLOR_BLACK, COLOR_BLACK), RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 1046 modules/file_shelter.c draw_string(camera_screen.disp_left, 2*FONT_HEIGHT, osdbuf, MAKE_COLOR(COLOR_BLACK, COLOR_YELLOW)); FONT_HEIGHT 1054 modules/file_shelter.c draw_string(camera_screen.disp_left, 3*FONT_HEIGHT, osdbuf, MAKE_COLOR(COLOR_BLACK, restore_status?COLOR_RED:COLOR_GREEN)); FONT_HEIGHT 1056 modules/file_shelter.c draw_string(camera_screen.disp_left, 4*FONT_HEIGHT, osdbuf, MAKE_COLOR(COLOR_BLACK, restore_status?COLOR_RED:COLOR_GREEN)); FONT_HEIGHT 1061 modules/file_shelter.c draw_rectangle(camera_screen.disp_left, FONT_HEIGHT*2, camera_screen.disp_right, FONT_HEIGHT*5-1, MAKE_COLOR(COLOR_BLACK, COLOR_BLACK), RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 1065 modules/file_shelter.c draw_string(camera_screen.disp_left, 2*FONT_HEIGHT, osdbuf, MAKE_COLOR(COLOR_BLACK, COLOR_YELLOW)); FONT_HEIGHT 1073 modules/file_shelter.c draw_string(camera_screen.disp_left, 3*FONT_HEIGHT, osdbuf, MAKE_COLOR(COLOR_BLACK, restore_status?COLOR_RED:COLOR_GREEN)); FONT_HEIGHT 1075 modules/file_shelter.c draw_string(camera_screen.disp_left, 4*FONT_HEIGHT, osdbuf, MAKE_COLOR(COLOR_BLACK, restore_status?COLOR_RED:COLOR_GREEN)); FONT_HEIGHT 1080 modules/file_shelter.c draw_rectangle(camera_screen.disp_left, FONT_HEIGHT*2, camera_screen.disp_right, FONT_HEIGHT*5-1, MAKE_COLOR(COLOR_BLACK, COLOR_BLACK), RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 1082 modules/file_shelter.c draw_string(camera_screen.disp_left, 2*FONT_HEIGHT, osdbuf, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 1084 modules/file_shelter.c draw_string(camera_screen.disp_left, 3*FONT_HEIGHT, "Backup successful", MAKE_COLOR(COLOR_BLACK, COLOR_GREEN)); FONT_HEIGHT 1088 modules/file_shelter.c draw_string(camera_screen.disp_left, 3*FONT_HEIGHT, osdbuf, MAKE_COLOR(COLOR_BLACK, COLOR_YELLOW)); FONT_HEIGHT 1089 modules/file_shelter.c draw_string(camera_screen.disp_left, 4*FONT_HEIGHT, "See CHDK console for filename(s)", MAKE_COLOR(COLOR_BLACK, COLOR_YELLOW)); FONT_HEIGHT 1092 modules/file_shelter.c draw_string(camera_screen.disp_left, 3*FONT_HEIGHT, "Backup failed - insufficient memory", MAKE_COLOR(COLOR_BLACK, COLOR_RED)); FONT_HEIGHT 1095 modules/file_shelter.c draw_string(camera_screen.disp_left, 3*FONT_HEIGHT, "Backup failed", MAKE_COLOR(COLOR_BLACK, COLOR_RED)); FONT_HEIGHT 1101 modules/file_shelter.c draw_rectangle(camera_screen.disp_left, FONT_HEIGHT*5, camera_screen.disp_right, camera_screen.height-1, MAKE_COLOR(COLOR_BLACK, COLOR_BLACK), RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 1105 modules/file_shelter.c draw_string(camera_screen.disp_left, (5+y)*FONT_HEIGHT, help1[scrolly+y], MAKE_COLOR(COLOR_BLACK, COLOR_GREY)); FONT_HEIGHT 1116 modules/file_shelter.c draw_rectangle(camera_screen.disp_left, FONT_HEIGHT*2, camera_screen.disp_right, FONT_HEIGHT*5-1, MAKE_COLOR(COLOR_BLACK, COLOR_BLACK), RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 1117 modules/file_shelter.c draw_string(camera_screen.disp_left, 2*FONT_HEIGHT, "Restoring ...", MAKE_COLOR(COLOR_BLACK, COLOR_GREEN)); FONT_HEIGHT 1122 modules/file_shelter.c draw_rectangle(camera_screen.disp_left, FONT_HEIGHT*2, camera_screen.disp_right, FONT_HEIGHT*5-1, MAKE_COLOR(COLOR_BLACK, COLOR_BLACK), RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 1123 modules/file_shelter.c draw_string(camera_screen.disp_left, 2*FONT_HEIGHT, "Testing ...", MAKE_COLOR(COLOR_BLACK, COLOR_GREEN)); FONT_HEIGHT 1128 modules/file_shelter.c draw_rectangle(camera_screen.disp_left, FONT_HEIGHT*2, camera_screen.disp_right, FONT_HEIGHT*5-1, MAKE_COLOR(COLOR_BLACK, COLOR_BLACK), RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 1129 modules/file_shelter.c draw_string(camera_screen.disp_left, 2*FONT_HEIGHT, "Counting ...", MAKE_COLOR(COLOR_BLACK, COLOR_GREEN)); FONT_HEIGHT 1134 modules/file_shelter.c draw_rectangle(camera_screen.disp_left, FONT_HEIGHT*2, camera_screen.disp_right, FONT_HEIGHT*5-1, MAKE_COLOR(COLOR_BLACK, COLOR_BLACK), RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 1135 modules/file_shelter.c draw_string(camera_screen.disp_left, 2*FONT_HEIGHT, "Backing up ...", MAKE_COLOR(COLOR_BLACK, COLOR_GREEN)); FONT_HEIGHT 1140 modules/file_shelter.c draw_rectangle(camera_screen.disp_left, FONT_HEIGHT*2, camera_screen.disp_right, FONT_HEIGHT*5-1, MAKE_COLOR(COLOR_BLACK, COLOR_BLACK), RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 1141 modules/file_shelter.c draw_string(camera_screen.disp_left, 2*FONT_HEIGHT, "Verifying integrity ...", MAKE_COLOR(COLOR_BLACK, COLOR_GREEN)); FONT_HEIGHT 1146 modules/file_shelter.c draw_rectangle(camera_screen.disp_left, FONT_HEIGHT*2, camera_screen.disp_right, FONT_HEIGHT*5-1, MAKE_COLOR(COLOR_BLACK, COLOR_BLACK), RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 1150 modules/file_shelter.c draw_string(camera_screen.disp_left, 2*FONT_HEIGHT, help_bootwarn, MAKE_COLOR(COLOR_BLACK, COLOR_RED)); FONT_HEIGHT 1153 modules/file_shelter.c draw_string(camera_screen.disp_left, 2*FONT_HEIGHT, help_bootwarn, MAKE_COLOR(COLOR_BLACK, COLOR_RED)); FONT_HEIGHT 1156 modules/file_shelter.c draw_string(camera_screen.disp_left, 3*FONT_HEIGHT, help_partwarn, MAKE_COLOR(COLOR_BLACK, COLOR_RED)); FONT_HEIGHT 1166 modules/file_shelter.c draw_string(camera_screen.disp_left, 3*FONT_HEIGHT, osdbuf, MAKE_COLOR(COLOR_BLACK, COLOR_GREEN)); FONT_HEIGHT 1174 modules/file_shelter.c draw_char(camera_screen.disp_left, 3*FONT_HEIGHT, pc[phase&3], MAKE_COLOR(COLOR_BLACK, COLOR_GREEN)); FONT_HEIGHT 1182 modules/file_shelter.c draw_string(camera_screen.disp_left, 3*FONT_HEIGHT, osdbuf, MAKE_COLOR(COLOR_BLACK, COLOR_GREEN)); FONT_HEIGHT 29 modules/games/gui_4wins.c #define BORDER_TOP (FONT_HEIGHT + 10) FONT_HEIGHT 203 modules/games/gui_4wins.c draw_rectangle(x, y, x + w, y + FONT_HEIGHT + 8, cl, RECT_BORDER2 | DRAW_FILLED | RECT_ROUND_CORNERS); FONT_HEIGHT 275 modules/games/gui_4wins.c draw_string_justified(x, 4 * FONT_HEIGHT, (mode_rival == 1) ? lang_str(LANG_CONNECT4_HUMAN) : "cam", TEXT_COLOR, 0, 12 * FONT_WIDTH, TEXT_LEFT | TEXT_FILL); FONT_HEIGHT 337 modules/games/gui_4wins.c rect_size = 8 * (camera_screen.height - FONT_HEIGHT - 20) / (9 * FIELD_HEIGHT); FONT_HEIGHT 341 modules/games/gui_4wins.c rect_size = (camera_screen.height - FONT_HEIGHT - 20) / FIELD_HEIGHT; FONT_HEIGHT 350 modules/games/gui_4wins.c draw_rectangle(camera_screen.disp_right - 16 * FONT_WIDTH, 5 * FONT_HEIGHT, camera_screen.disp_right - FONT_WIDTH, camera_screen.height - 10, MAKE_COLOR(INFO_COLOR, INFO_COLOR), RECT_BORDER0 | DRAW_FILLED | RECT_ROUND_CORNERS); FONT_HEIGHT 352 modules/games/gui_4wins.c draw_line(camera_screen.disp_left, FONT_HEIGHT, camera_screen.disp_right - 1, FONT_HEIGHT, COLOR_GREY_LT); FONT_HEIGHT 368 modules/games/gui_4wins.c draw_string(camera_screen.disp_right - 15 * FONT_WIDTH, 3 * FONT_HEIGHT, lang_str(LANG_CONNECT4_RIVAL), TEXT_COLOR); FONT_HEIGHT 370 modules/games/gui_4wins.c draw_string(camera_screen.disp_right - (10 + strlen(str)) * FONT_WIDTH, camera_screen.height - 9 * FONT_HEIGHT, str, MAKE_COLOR(INFO_COLOR, P1_COLOR)); FONT_HEIGHT 372 modules/games/gui_4wins.c draw_string(camera_screen.disp_right - 9 * FONT_WIDTH, camera_screen.height - 9 * FONT_HEIGHT, str, INFO_TEXT_COLOR); FONT_HEIGHT 374 modules/games/gui_4wins.c draw_string(camera_screen.disp_right - 7 * FONT_WIDTH, camera_screen.height - 9 * FONT_HEIGHT, str, MAKE_COLOR(INFO_COLOR, P2_COLOR)); FONT_HEIGHT 416 modules/games/gui_4wins.c draw_string(camera_screen.disp_right - 12 * FONT_WIDTH, camera_screen.height - 2 * FONT_HEIGHT, str, INFO_TEXT_COLOR); FONT_HEIGHT 417 modules/games/gui_4wins.c gui_osd_draw_clock(camera_screen.disp_right - 11 * FONT_WIDTH, camera_screen.height - 3 * FONT_HEIGHT, INFO_TEXT_COLOR, 1); FONT_HEIGHT 39 modules/games/gui_mastermind.c y = FONT_HEIGHT+FONT_HEIGHT/2+(y*cell_size); FONT_HEIGHT 46 modules/games/gui_mastermind.c int y = FONT_HEIGHT+FONT_HEIGHT/2+(curr_y*cell_size) + cell_size/2 - FONT_WIDTH/2 + 1; FONT_HEIGHT 93 modules/games/gui_mastermind.c draw_string(camera_screen.disp_right-24*FONT_WIDTH, camera_screen.height-6*FONT_HEIGHT-FONT_HEIGHT/2, msg, TEXT_COLOR); FONT_HEIGHT 136 modules/games/gui_mastermind.c cell_size = 8 * (camera_screen.height - FONT_HEIGHT * 2) / (9 * 9); FONT_HEIGHT 140 modules/games/gui_mastermind.c cell_size = (camera_screen.height - FONT_HEIGHT * 2) / 10; FONT_HEIGHT 152 modules/games/gui_mastermind.c draw_hline(camera_screen.disp_left + FONT_WIDTH / 2, FONT_HEIGHT * 2 + 8 * cell_size, 4 * cell_size + FONT_WIDTH, COLOR_WHITE); FONT_HEIGHT 153 modules/games/gui_mastermind.c draw_vline(camera_screen.disp_left + 4 * cell_size + FONT_WIDTH * 2, FONT_HEIGHT, 8 * cell_size, COLOR_WHITE); FONT_HEIGHT 154 modules/games/gui_mastermind.c draw_vline(camera_screen.disp_left + 4 * cell_size + FONT_WIDTH * 2 + 3, FONT_HEIGHT, 8 * cell_size, COLOR_WHITE); FONT_HEIGHT 157 modules/games/gui_mastermind.c draw_rectangle(camera_screen.disp_right - (24 - i * 4) * FONT_WIDTH, 2 * FONT_HEIGHT + FONT_HEIGHT / 2, camera_screen.disp_right - (24 - i * 4) * FONT_WIDTH + FONT_HEIGHT, 3 * FONT_HEIGHT + FONT_HEIGHT / 2, MAKE_COLOR(colors[i], colors[i]), FONT_HEIGHT 160 modules/games/gui_mastermind.c draw_rectangle(camera_screen.disp_right - 19 * FONT_WIDTH - FONT_HEIGHT - 8, 5 * FONT_HEIGHT, camera_screen.disp_right - 19 * FONT_WIDTH - 8, 6 * FONT_HEIGHT, MAKE_COLOR(COLOR_BLACK, COLOR_BLACK), RECT_BORDER0 | DRAW_FILLED); FONT_HEIGHT 161 modules/games/gui_mastermind.c draw_string(camera_screen.disp_right - 19 * FONT_WIDTH, 5 * FONT_HEIGHT, lang_str(LANG_MENU_GAMES_RIGHT_PLACE), TEXT_COLOR); FONT_HEIGHT 163 modules/games/gui_mastermind.c draw_rectangle(camera_screen.disp_right - 19 * FONT_WIDTH - FONT_HEIGHT - 8, 6 * FONT_HEIGHT + FONT_HEIGHT / 2, camera_screen.disp_right - 19 * FONT_WIDTH - 8, 7 * FONT_HEIGHT + FONT_HEIGHT / 2, MAKE_COLOR(COLOR_WHITE, COLOR_WHITE), FONT_HEIGHT 165 modules/games/gui_mastermind.c draw_string(camera_screen.disp_right - 19 * FONT_WIDTH, 6 * FONT_HEIGHT + FONT_HEIGHT / 2, lang_str(LANG_MENU_GAMES_C_IN_ANSWER), TEXT_COLOR); FONT_HEIGHT 167 modules/games/gui_mastermind.c draw_string(camera_screen.disp_right - 24 * FONT_WIDTH, FONT_HEIGHT + FONT_HEIGHT / 2, lang_str(LANG_MENU_GAMES_AC_COLORS), TEXT_COLOR); FONT_HEIGHT 169 modules/games/gui_mastermind.c draw_string(camera_screen.disp_right - 24 * FONT_WIDTH, camera_screen.height - 3 * FONT_HEIGHT, lang_str(LANG_MENU_GAMES_CURSOR1), TEXT_COLOR); FONT_HEIGHT 170 modules/games/gui_mastermind.c draw_string(camera_screen.disp_right - 24 * FONT_WIDTH, camera_screen.height - 4 * FONT_HEIGHT, lang_str(LANG_MENU_GAMES_CURSOR2), TEXT_COLOR); FONT_HEIGHT 171 modules/games/gui_mastermind.c draw_string(camera_screen.disp_right - 24 * FONT_WIDTH, camera_screen.height - 5 * FONT_HEIGHT, lang_str(LANG_MENU_GAMES_CURSOR3), TEXT_COLOR); FONT_HEIGHT 273 modules/games/gui_mastermind.c draw_string_justified(camera_screen.disp_left, camera_screen.height-FONT_HEIGHT, FONT_HEIGHT 221 modules/games/gui_reversi.c draw_rectangle(camera_screen.disp_left+field_size+field_x, FONT_HEIGHT*5, camera_screen.disp_right, FONT_HEIGHT 222 modules/games/gui_reversi.c camera_screen.height-FONT_HEIGHT*4-1, MAKE_COLOR(COLOR_BLUE, COLOR_BLUE), RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 331 modules/games/gui_reversi.c draw_string(x+FONT_WIDTH*(7-strlen(buf))/2, y+FONT_HEIGHT*2, buf, MAKE_COLOR(COLOR_BLUE, COLOR_WHITE)); FONT_HEIGHT 332 modules/games/gui_reversi.c draw_string(x, y+FONT_HEIGHT*2, plm1, MAKE_COLOR(COLOR_BLUE, COLOR_WHITE)); FONT_HEIGHT 333 modules/games/gui_reversi.c draw_ellipse(x+FONT_WIDTH*1.5+(cell_size>>1), y+FONT_HEIGHT*3+(cell_size>>1), FONT_HEIGHT 336 modules/games/gui_reversi.c draw_string(x+FONT_WIDTH*(7-strlen(buf))/2, y+FONT_HEIGHT*6, buf, MAKE_COLOR(COLOR_BLUE, COLOR_WHITE)); FONT_HEIGHT 337 modules/games/gui_reversi.c draw_string(x, y+FONT_HEIGHT*6, plm2, MAKE_COLOR(COLOR_BLUE, COLOR_WHITE)); FONT_HEIGHT 338 modules/games/gui_reversi.c draw_ellipse(x+FONT_WIDTH*1.5+(cell_size>>1), y+FONT_HEIGHT*7+(cell_size>>1), FONT_HEIGHT 424 modules/games/gui_reversi.c draw_string_justified(camera_screen.disp_left, camera_screen.height-FONT_HEIGHT, FONT_HEIGHT 303 modules/games/gui_snake.c draw_string(camera_screen.disp_width / 2 - strlen(str_buf)*FONT_WIDTH/2,camera_screen.height/2-FONT_HEIGHT/2,str_buf, MAKE_COLOR(COLOR_GREY, COLOR_BLUE)); FONT_HEIGHT 452 modules/games/gui_snake.c draw_string(camera_screen.disp_width/2 - strlen(str_buf)*FONT_WIDTH/2, camera_screen.height-FONT_HEIGHT-4, str_buf, MAKE_COLOR(COLOR_GREY, COLOR_BLUE)); FONT_HEIGHT 462 modules/games/gui_snake.c screen_top = (camera_screen.height - FONT_HEIGHT - 4 - RING_HEIGHT * snake_screen_size)/2; FONT_HEIGHT 447 modules/games/gui_sokoban.c draw_string(camera_screen.disp_left+cell_size*FIELD_WIDTH+2, 8+FONT_HEIGHT, str, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 456 modules/games/gui_sokoban.c draw_string_justified(camera_screen.disp_left, camera_screen.height-FONT_HEIGHT, FONT_HEIGHT 158 modules/games/gui_sudoku.c draw_string(xPadStart+padLineDistance*x+(padLineDistance-FONT_WIDTH)/2, yPadStart+padLineDistance*y+(padLineDistance-FONT_HEIGHT)/2, str, MAKE_COLOR(SUDOKU_BG_COLOR, COLOR_BLACK)); FONT_HEIGHT 161 modules/games/gui_sudoku.c draw_string(xPadStart+padLineDistance+(padLineDistance-FONT_WIDTH)/2, yPadStart+padLineDistance*(-1)+(padLineDistance-FONT_HEIGHT)/2, str, MAKE_COLOR(SUDOKU_BG_COLOR, COLOR_BLACK)); FONT_HEIGHT 194 modules/games/gui_sudoku.c draw_string(xMenuPos, FONT_HEIGHT*i+4, lang_str(LANG_SUDOKU_MENU_START+i), (menuPos==i && mode==MODE_MENU) ? MARKER_TEXT_COLOR : TEXT_COLOR); FONT_HEIGHT 241 modules/games/gui_sudoku.c draw_string(xFieldBorder+fieldLineDistance*xPos+(fieldLineDistance-FONT_WIDTH)/2, yFieldBorder+fieldLineDistance*yPos+(fieldLineDistance-FONT_HEIGHT)/2, str, MAKE_COLOR(MARKER_COLOR, COLOR_WHITE)); FONT_HEIGHT 252 modules/games/gui_sudoku.c draw_string(xFieldBorder+fieldLineDistance*x+(fieldLineDistance-FONT_WIDTH)/2, yFieldBorder+fieldLineDistance*y+(fieldLineDistance-FONT_HEIGHT)/2, str, MAKE_COLOR(SUDOKU_BG_COLOR, COLOR_BLACK)); FONT_HEIGHT 253 modules/games/gui_sudoku.c else draw_string(xFieldBorder+fieldLineDistance*x+(fieldLineDistance-FONT_WIDTH)/2, yFieldBorder+fieldLineDistance*y+(fieldLineDistance-FONT_HEIGHT)/2, str, MAKE_COLOR(SUDOKU_BG_COLOR, MARKER_COLOR)); FONT_HEIGHT 243 modules/games/gui_tetris.c int yo = FONT_HEIGHT; FONT_HEIGHT 15 modules/gui_bench.c #define draw_txt_string(x,y,s,c) draw_string((x)*FONT_WIDTH,(y)*FONT_HEIGHT,s,c) FONT_HEIGHT 16 modules/gui_bench.c #define draw_txt_stringnonalign(x,y,s,c) draw_string((x)*FONT_WIDTH+1,(y)*FONT_HEIGHT,s,c) FONT_HEIGHT 140 modules/gui_bench.c int s=(ss==0)?0:FONT_WIDTH*FONT_HEIGHT*value/ss; FONT_HEIGHT 141 modules/gui_bench.c int sn=(ss==0)?0:FONT_WIDTH*FONT_HEIGHT*valuen/ss; FONT_HEIGHT 72 modules/gui_calendar.c draw_rectangle(cal_x-1, cal_y-1, cal_x+cal_w, cal_y+FONT_HEIGHT+8, TITLE_COLOR, RECT_BORDER1|DRAW_FILLED); FONT_HEIGHT 73 modules/gui_calendar.c draw_rectangle(cal_x-1, cal_y+FONT_HEIGHT+8, cal_x+cal_w, cal_y+cal_h, CALENDAR_COLOR, RECT_BORDER1|DRAW_FILLED); FONT_HEIGHT 75 modules/gui_calendar.c draw_rectangle(cal_x+cal_w-FONT_WIDTH*4*2, cal_y+FONT_HEIGHT+8+1, cal_x+cal_w-1, cal_y+cal_h-1, MAKE_COLOR(BG_COLOR(WEEKEND_COLOR), BG_COLOR(WEEKEND_COLOR)), RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 77 modules/gui_calendar.c draw_string(x, cal_y+4+FONT_HEIGHT+4+4, lang_str(days[i]), (i<5)?CALENDAR_COLOR:WEEKEND_COLOR); FONT_HEIGHT 88 modules/gui_calendar.c cal_h = 4+FONT_HEIGHT+4+4+FONT_HEIGHT+4+(FONT_HEIGHT+4)*6; FONT_HEIGHT 90 modules/gui_calendar.c cal_y = FONT_HEIGHT+(camera_screen.height-FONT_HEIGHT-cal_h)/2; FONT_HEIGHT 149 modules/gui_calendar.c draw_rectangle(cal_x+FONT_WIDTH, y, cal_x+cal_w-FONT_WIDTH-FONT_WIDTH*4-FONT_WIDTH, y+FONT_HEIGHT, MAKE_COLOR(BG_COLOR(TITLE_COLOR), BG_COLOR(TITLE_COLOR)), RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 158 modules/gui_calendar.c y += FONT_HEIGHT+4+4; FONT_HEIGHT 160 modules/gui_calendar.c y += FONT_HEIGHT+4; FONT_HEIGHT 171 modules/gui_calendar.c y += FONT_HEIGHT+4; FONT_HEIGHT 174 modules/gui_calendar.c for (; y<cal_y+cal_h; y += FONT_HEIGHT+4, x=0) { FONT_HEIGHT 52 modules/gui_debug.c draw_string(10*FONT_WIDTH, y+FONT_HEIGHT, buf, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 55 modules/gui_debug.c draw_string(10*FONT_WIDTH, y+2*FONT_HEIGHT, buf, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 65 modules/gui_debug.c draw_string(10*FONT_WIDTH, y+3*FONT_HEIGHT, buf, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 70 modules/gui_debug.c draw_string(10*FONT_WIDTH, y+FONT_HEIGHT, bad_address, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 71 modules/gui_debug.c draw_string(10*FONT_WIDTH, y+2*FONT_HEIGHT, bad_address, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 72 modules/gui_debug.c draw_string(10*FONT_WIDTH, y+3*FONT_HEIGHT, bad_address, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 81 modules/gui_debug.c draw_string(1*FONT_WIDTH, 0*FONT_HEIGHT, "Address:", MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 82 modules/gui_debug.c draw_string(22*FONT_WIDTH,0*FONT_HEIGHT, "Incr:", MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 83 modules/gui_debug.c draw_string(39*FONT_WIDTH,0*FONT_HEIGHT, "Auto:", MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 84 modules/gui_debug.c draw_string(1*FONT_WIDTH, 1*FONT_HEIGHT, "Values:", MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 85 modules/gui_debug.c draw_string(2*FONT_WIDTH, 2*FONT_HEIGHT, "DWORD :", MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 86 modules/gui_debug.c draw_string(2*FONT_WIDTH, 3*FONT_HEIGHT, "WORD :", MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 87 modules/gui_debug.c draw_string(2*FONT_WIDTH, 4*FONT_HEIGHT, "BYTE :", MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 88 modules/gui_debug.c draw_string(2*FONT_WIDTH, 5*FONT_HEIGHT, "STRING :", MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 89 modules/gui_debug.c draw_string(1*FONT_WIDTH, 7*FONT_HEIGHT, "Dereferencing:", MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 90 modules/gui_debug.c draw_string(2*FONT_WIDTH, 8*FONT_HEIGHT, "DWORD :", MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 91 modules/gui_debug.c draw_string(2*FONT_WIDTH, 9*FONT_HEIGHT, "WORD :", MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 92 modules/gui_debug.c draw_string(2*FONT_WIDTH, 10*FONT_HEIGHT,"BYTE :", MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 93 modules/gui_debug.c draw_string(2*FONT_WIDTH, 11*FONT_HEIGHT,"STRING :", MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 104 modules/gui_debug.c gui_debug_draw_values(2*FONT_HEIGHT, addr); FONT_HEIGHT 106 modules/gui_debug.c gui_debug_draw_values(8*FONT_HEIGHT, *((void**)addr)); FONT_HEIGHT 108 modules/gui_debug.c gui_debug_draw_values(8*FONT_HEIGHT, addr); FONT_HEIGHT 39 modules/gui_fselect.c #define BODY_FONT_LINES BODY_LINES * FONT_HEIGHT FONT_HEIGHT 103 modules/gui_fselect.c #define MAIN_H (FONT_HEIGHT + TAB_DIVIDER + BODY_FONT_LINES + TAB_DIVIDER + FONT_HEIGHT) // Constant FONT_HEIGHT 707 modules/gui_fselect.c body_y = main_y + FONT_HEIGHT + TAB_DIVIDER; FONT_HEIGHT 775 modules/gui_fselect.c for (i=0, ptr=top; i<BODY_LINES && ptr; ++i, ptr=ptr->next, off_body_y += FONT_HEIGHT) FONT_HEIGHT 55 modules/gui_hexbox.c h = FONT_HEIGHT * 5; FONT_HEIGHT 140 modules/gui_hexbox.c draw_rectangle(x-2, y-2, x+w+2, y+FONT_HEIGHT+2, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE), RECT_BORDER1|DRAW_FILLED); FONT_HEIGHT 142 modules/gui_hexbox.c draw_string(x+FONT_WIDTH*2, y+FONT_HEIGHT*4, box_helpline, MAKE_COLOR(COLOR_GREY, COLOR_WHITE)); FONT_HEIGHT 146 modules/gui_hexbox.c gui_hexbox_draw_hex32(*num_to_edit, currpos, offs_num, y + FONT_HEIGHT * 2); FONT_HEIGHT 147 modules/gui_hexbox.c gui_hexbox_draw_hint(*num_to_edit, offs_num + 11*FONT_WIDTH, y + FONT_HEIGHT * 2); FONT_HEIGHT 87 modules/gui_mpopup.c y+=FONT_HEIGHT; FONT_HEIGHT 107 modules/gui_mpopup.c y = (camera_screen.height - h*FONT_HEIGHT) / 2; FONT_HEIGHT 108 modules/gui_mpopup.c draw_rectangle(x-4, y-4, x+w*FONT_WIDTH+4, y+h*FONT_HEIGHT+3, FONT_HEIGHT 166 modules/gui_mpopup.c if ((sx >= mpopup_actions_x) && (sx <= mpopup_actions_x+mpopup_actions_w*FONT_WIDTH) && (sy >= mpopup_actions_y) && (sy <= mpopup_actions_y+mpopup_actions_num*FONT_HEIGHT)) FONT_HEIGHT 168 modules/gui_mpopup.c sy = (sy - mpopup_actions_y) / FONT_HEIGHT; FONT_HEIGHT 20 modules/gui_osd_edit.c #define SCY(y) (FONT_HEIGHT*(y)/FONT_REAL_HEIGHT) FONT_HEIGHT 30 modules/gui_osd_edit.c {LANG_OSD_LAYOUT_EDITOR_CLOCK, &conf.clock_pos, {5*FONT_WIDTH, FONT_HEIGHT}, &conf.clock_scale }, FONT_HEIGHT 31 modules/gui_osd_edit.c {LANG_OSD_LAYOUT_EDITOR_TEMP, &conf.temp_pos, {9*FONT_WIDTH, FONT_HEIGHT}, &conf.temp_scale }, FONT_HEIGHT 32 modules/gui_osd_edit.c {LANG_OSD_LAYOUT_EDITOR_RAW, &conf.mode_raw_pos, {7*FONT_WIDTH, FONT_HEIGHT}, &conf.mode_raw_scale }, FONT_HEIGHT 34 modules/gui_osd_edit.c {LANG_OSD_LAYOUT_EDITOR_BAT_TEXT, &conf.batt_txt_pos, {5*FONT_WIDTH, FONT_HEIGHT}, &conf.batt_txt_scale }, FONT_HEIGHT 36 modules/gui_osd_edit.c {LANG_OSD_LAYOUT_EDITOR_SPACE_TEXT, &conf.space_txt_pos, {5*FONT_WIDTH, FONT_HEIGHT}, &conf.space_txt_scale }, FONT_HEIGHT 40 modules/gui_osd_edit.c {LANG_OSD_LAYOUT_EDITOR_EV, &conf.mode_ev_pos, {12*FONT_WIDTH, FONT_HEIGHT}, &conf.mode_ev_scale }, FONT_HEIGHT 42 modules/gui_osd_edit.c {LANG_OSD_LAYOUT_EDITOR_VIDEO, &conf.mode_video_pos, {9*FONT_WIDTH, 4*FONT_HEIGHT}, &conf.mode_video_scale }, FONT_HEIGHT 43 modules/gui_osd_edit.c {LANG_OSD_LAYOUT_EDITOR_DOF_CALC, &conf.dof_pos, {23*FONT_WIDTH, 2*FONT_HEIGHT}, &conf.dof_scale }, FONT_HEIGHT 45 modules/gui_osd_edit.c {LANG_OSD_LAYOUT_EDITOR_STATES, &conf.mode_state_pos, {12*FONT_WIDTH, 4*FONT_HEIGHT}, &conf.mode_state_scale }, FONT_HEIGHT 46 modules/gui_osd_edit.c {LANG_OSD_LAYOUT_EDITOR_MISC, &conf.values_pos, {9*FONT_WIDTH, 9*FONT_HEIGHT}, &conf.values_scale }, FONT_HEIGHT 71 modules/gui_osd_edit.c #if (FONT_HEIGHT <= FONT_REAL_HEIGHT) FONT_HEIGHT 83 modules/gui_osd_edit.c draw_string(0, (osd[curr_item].pos->x<strlen(osd_buf)*FONT_WIDTH+4 && osd[curr_item].pos->y<FONT_HEIGHT+4)?camera_screen.height-FONT_HEIGHT:0, FONT_HEIGHT 97 modules/gui_osd_edit.c #if (FONT_HEIGHT > FONT_REAL_HEIGHT) FONT_HEIGHT 106 modules/gui_osd_edit.c #if (FONT_HEIGHT > FONT_REAL_HEIGHT) FONT_HEIGHT 127 modules/gui_osd_edit.c #if (FONT_HEIGHT > FONT_REAL_HEIGHT) FONT_HEIGHT 199 modules/gui_palette.c h = (camera_screen.height - (2 * FONT_HEIGHT)) / 3; FONT_HEIGHT 204 modules/gui_palette.c draw_rectangle(xl+(x*w), (2*FONT_HEIGHT)+(y*h), xl+(x*w)+w-1, (2*FONT_HEIGHT)+(y*h)+h-FONT_HEIGHT-6, MAKE_COLOR(cols[test_page][c],cols[test_page][c]), RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 205 modules/gui_palette.c draw_string(xl+(x*w),(2*FONT_HEIGHT)+(y*h)+h-FONT_HEIGHT-3, nams[test_page][c], MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 214 modules/gui_palette.c h = (camera_screen.height - (2 * FONT_HEIGHT)) / 3; FONT_HEIGHT 219 modules/gui_palette.c draw_rectangle(xl+(x*w), (2*FONT_HEIGHT)+(y*h), xl+(x*w)+w-1, (2*FONT_HEIGHT)+(y*h)+h-FONT_HEIGHT-6, MAKE_COLOR(cols[test_page][c],cols[test_page][c]), RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 220 modules/gui_palette.c draw_string(xl+(x*w),(2*FONT_HEIGHT)+(y*h)+h-FONT_HEIGHT-3, nams[test_page][c], MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 229 modules/gui_palette.c h = (camera_screen.height - (2 * FONT_HEIGHT)) / 4; FONT_HEIGHT 234 modules/gui_palette.c draw_rectangle(xl+(x*w), (2*FONT_HEIGHT)+(y*h), xl+(x*w)+w-1, (2*FONT_HEIGHT)+(y*h)+h-FONT_HEIGHT-6, FONT_HEIGHT 236 modules/gui_palette.c draw_string(xl+(x*w),(2*FONT_HEIGHT)+(y*h)+h-FONT_HEIGHT-3, nams[test_page][c], MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 250 modules/gui_palette.c #define DISP_TOP_CHDK (FONT_HEIGHT + BORDER_SIZE) FONT_HEIGHT 266 modules/gui_palette.c cellsize = (camera_screen.height - FONT_HEIGHT - 3 * BORDER_SIZE -1 ) / 17; FONT_HEIGHT 267 modules/gui_palette.c disptop = camera_screen.height + DISP_TOP_CHDK - cellsize * 16 - FONT_HEIGHT - 2 * BORDER_SIZE - 1; FONT_HEIGHT 279 modules/gui_palette.c draw_rectangle(xl, 0, xr, FONT_HEIGHT-1, MAKE_COLOR(COLOR_BLACK, COLOR_BLACK), RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 86 modules/gui_read.c y=FONT_HEIGHT; FONT_HEIGHT 239 modules/gui_read.c draw_rectangle((x+w)*FONT_WIDTH+2, y*FONT_HEIGHT+1, FONT_HEIGHT 240 modules/gui_read.c (x+w)*FONT_WIDTH+6, (y+h)*FONT_HEIGHT-1-1, MAKE_COLOR(COLOR_BLACK, COLOR_BLACK), RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 175 modules/gui_tbox.c draw_button(tbox_buttons_x, tbox_buttons_y+FONT_HEIGHT, BUTTON_SIZE, LANG_MBOX_BTN_OK, (tbox_button_active == 0)); FONT_HEIGHT 176 modules/gui_tbox.c draw_button(tbox_buttons_x + (BUTTON_SIZE*FONT_WIDTH+BUTTON_SEP), tbox_buttons_y+FONT_HEIGHT, BUTTON_SIZE, LANG_MBOX_BTN_CANCEL, (tbox_button_active == 1)); FONT_HEIGHT 190 modules/gui_tbox.c coord y = (camera_screen.height - (tbox_height+6) * FONT_HEIGHT-SPACING_BELOW_TEXT) >> 1; FONT_HEIGHT 191 modules/gui_tbox.c draw_rectangle(x-4, y-4, x+tbox_width*FONT_WIDTH+4, y+(tbox_height+6)*FONT_HEIGHT+SPACING_BTN+2+SPACING_TITLE+11, FONT_HEIGHT 193 modules/gui_tbox.c draw_rectangle(x-2, y-2, x+tbox_width*FONT_WIDTH+2, y+FONT_HEIGHT+2, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE), RECT_BORDER1|DRAW_FILLED); //title FONT_HEIGHT 196 modules/gui_tbox.c y += FONT_HEIGHT+2+SPACING_TITLE; FONT_HEIGHT 202 modules/gui_tbox.c text_offset_y = y+(tbox_height*FONT_HEIGHT)+SPACING_BELOW_TEXT; FONT_HEIGHT 205 modules/gui_tbox.c tbox_buttons_y = text_offset_y+FONT_HEIGHT+SPACING_BELOW_TEXT; // on place of symbol line FONT_HEIGHT 223 modules/gui_tbox.c key_offset_x+((tbox_width+MAX_MSG_LENGTH)>>1)*FONT_WIDTH, tbox_buttons_y+3*FONT_HEIGHT, MAKE_COLOR(COLOR_GREY,COLOR_GREY), RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 224 modules/gui_tbox.c draw_text_justified(key_offset_x, tbox_buttons_y+FONT_HEIGHT, ">navigate cursor<", MAKE_COLOR(COLOR_GREY, COLOR_WHITE), tbox_width, 1, TEXT_CENTER); FONT_HEIGHT 230 modules/gui_tbox.c draw_rectangle(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), RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 234 modules/gui_tbox.c static int y_offset[4] = { FONT_HEIGHT, 0, FONT_HEIGHT, 2*FONT_HEIGHT }; FONT_HEIGHT 257 modules/gui_tbox.c key_offset_x+tbox_width*FONT_WIDTH-3, tbox_buttons_y+3*FONT_HEIGHT, MAKE_COLOR(COLOR_GREY, COLOR_GREY), RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 258 modules/gui_tbox.c draw_text_justified(key_offset_x, tbox_buttons_y+FONT_HEIGHT, "text limit reached", MAKE_COLOR(COLOR_GREY, COLOR_RED), tbox_width, 1, TEXT_CENTER); FONT_HEIGHT 263 modules/gui_tbox.c 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, cursor_to_draw ? COLOR_YELLOW : COLOR_GREY); FONT_HEIGHT 269 modules/gui_tbox.c 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, COLOR_BLACK); FONT_HEIGHT 489 modules/histogram.c draw_string(conf.histo_pos.x+HISTO_WIDTH-FONT_WIDTH*3, conf.histo_pos.y-FONT_HEIGHT, "EXP", hc); FONT_HEIGHT 494 modules/histogram.c draw_string(conf.histo_pos.x, conf.histo_pos.y-FONT_HEIGHT, osd_buf, hc); FONT_HEIGHT 496 modules/histogram.c draw_string(conf.histo_pos.x, conf.histo_pos.y-FONT_HEIGHT, " 9.99x ", hc); FONT_HEIGHT 498 modules/histogram.c draw_rectangle(conf.histo_pos.x, conf.histo_pos.y-FONT_HEIGHT, conf.histo_pos.x+8*FONT_WIDTH, conf.histo_pos.y-1, MAKE_COLOR(COLOR_TRANSPARENT, COLOR_TRANSPARENT), RECT_BORDER0|DRAW_FILLED); FONT_HEIGHT 132 modules/module_inspector.c draw_string(camera_screen.disp_left, showidx+FONT_HEIGHT, txt, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 134 modules/module_inspector.c draw_string(camera_screen.disp_left, showidx+2*FONT_HEIGHT, txt, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 145 modules/module_inspector.c draw_string(camera_screen.disp_left+FONT_WIDTH, FONT_HEIGHT, "SET-redraw, DISP-unload_all, MENU-exit", MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 146 modules/module_inspector.c draw_string(camera_screen.disp_left, 2*FONT_HEIGHT, "Idx Name Addr Size", MAKE_COLOR(COLOR_BLACK, COLOR_WHITE)); FONT_HEIGHT 148 modules/module_inspector.c showidx=3*FONT_HEIGHT; FONT_HEIGHT 161 modules/module_inspector.c showidx += FONT_HEIGHT; FONT_HEIGHT 164 modules/module_inspector.c showidx += FONT_HEIGHT; FONT_HEIGHT 173 modules/module_inspector.c showidx += 3*FONT_HEIGHT; FONT_HEIGHT 180 modules/module_inspector.c showidx += 3*FONT_HEIGHT;