twoColors 80 core/console.c twoColors col = user_color(conf.osd_color); twoColors 217 core/console.c twoColors col = user_color(conf.menu_color); twoColors 266 core/gui.c twoColors cl; twoColors 287 core/gui.c twoColors cl = MAKE_COLOR(COLOR_RED, COLOR_WHITE); twoColors 2334 core/gui.c twoColors cl = MAKE_COLOR(COLOR_RED, COLOR_WHITE); twoColors 2536 core/gui.c static int shortcut_text(int x, int y, int button, int func_str, const char *state, twoColors col) twoColors 2587 core/gui.c twoColors col = user_color(conf.menu_color); twoColors 2588 core/gui.c twoColors hdr_col = user_color(conf.menu_title_color); twoColors 72 core/gui_batt.c twoColors cl = user_color((perc<=20) ? conf.osd_color_warn : conf.osd_color); twoColors 252 core/gui_draw.c static void draw_pixel_simple_start(twoColors tc) twoColors 809 core/gui_draw.c void draw_rectangle(coord x1, coord y1, coord x2, coord y2, twoColors cl, int flags) twoColors 890 core/gui_draw.c void draw_char(coord x, coord y, const char ch, twoColors cl) twoColors 939 core/gui_draw.c void draw_char(coord x, coord y, const char ch, twoColors cl) twoColors 1024 core/gui_draw.c void draw_char_unscaled(coord x, coord y, const char ch, twoColors cl) twoColors 1093 core/gui_draw.c void draw_char_scaled(coord x, coord y, const char ch, twoColors cl, int xsize, int ysize) twoColors 1097 core/gui_draw.c twoColors clf = MAKE_COLOR(FG_COLOR(cl),FG_COLOR(cl)); twoColors 1098 core/gui_draw.c twoColors clb = MAKE_COLOR(BG_COLOR(cl),BG_COLOR(cl)); twoColors 1153 core/gui_draw.c void draw_char_scaled(coord x, coord y, const char ch, twoColors cl, int xsize, int ysize) twoColors 1157 core/gui_draw.c twoColors clf = MAKE_COLOR(FG_COLOR(cl),FG_COLOR(cl)); twoColors 1158 core/gui_draw.c twoColors clb = MAKE_COLOR(BG_COLOR(cl),BG_COLOR(cl)); twoColors 1231 core/gui_draw.c int draw_string_clipped(coord x, coord y, const char *s, twoColors cl, int max_width) twoColors 1249 core/gui_draw.c int draw_string(coord x, coord y, const char *s, twoColors cl) twoColors 1259 core/gui_draw.c int draw_string_justified(coord x, coord y, const char *s, twoColors cl, int xo, int max_width, int justification) twoColors 1332 core/gui_draw.c int draw_text_justified(coord x, coord y, const char *s, twoColors cl, int max_chars, int max_lines, int justification) twoColors 1351 core/gui_draw.c void draw_string_scaled(coord x, coord y, const char *s, twoColors cl, int xsize, int ysize) twoColors 1368 core/gui_draw.c void draw_string_scaled(coord x, coord y, const char *s, twoColors cl, int xsize, int ysize) twoColors 1403 core/gui_draw.c void draw_osd_string(OSD_pos pos, int xo, int yo, char *s, twoColors c, OSD_scale scale) twoColors 1413 core/gui_draw.c void draw_osd_string(OSD_pos pos, int xo, int yo, char *s, twoColors c, OSD_scale scale) twoColors 1433 core/gui_draw.c void draw_txt_string(coord col, coord row, const char *str, twoColors cl) twoColors 1556 core/gui_draw.c twoColors cl = MAKE_COLOR((active) ? COLOR_RED : COLOR_BLACK, COLOR_WHITE); twoColors 1679 core/gui_draw.c twoColors user_color(confColor cc) twoColors 120 core/gui_draw.h extern void draw_rectangle(coord x1, coord y1, coord x2, coord y2, twoColors cl, int flags); twoColors 125 core/gui_draw.h extern void draw_char(coord x, coord y, const char ch, twoColors cl); twoColors 126 core/gui_draw.h extern int draw_string_clipped(coord x, coord y, const char *s, twoColors cl, int max_width); twoColors 127 core/gui_draw.h extern int draw_string(coord x, coord y, const char *s, twoColors cl); twoColors 128 core/gui_draw.h extern int draw_string_justified(coord x, coord y, const char *s, twoColors cl, int xo, int max_width, int justification); twoColors 129 core/gui_draw.h extern int draw_text_justified(coord x, coord y, const char *s, twoColors cl, int max_chars, int max_lines, int justification); twoColors 130 core/gui_draw.h extern void draw_string_scaled(coord x, coord y, const char *s, twoColors cl, int xsize, int ysize); twoColors 131 core/gui_draw.h extern void draw_osd_string(OSD_pos pos, int xo, int yo, char *s, twoColors c, OSD_scale scale); twoColors 134 core/gui_draw.h extern void draw_txt_string(coord col, coord row, const char *str, twoColors cl); twoColors 143 core/gui_draw.h extern twoColors user_color(confColor c); twoColors 771 core/gui_menu.c static twoColors cl, cl_symbol; twoColors 959 core/gui_menu.c twoColors save = cl; twoColors 100 core/gui_osd.c twoColors col = user_color(conf.osd_color); twoColors 101 core/gui_osd.c twoColors valid_col = MAKE_COLOR(BG_COLOR(col), COLOR_GREEN); twoColors 188 core/gui_osd.c twoColors col = user_color(conf.osd_color); twoColors 189 core/gui_osd.c twoColors valid_col = MAKE_COLOR(BG_COLOR(col), COLOR_GREEN); twoColors 217 core/gui_osd.c twoColors col = user_color(((raw_count > conf.remaining_raw_treshold) || (b <= 6)) ? conf.osd_color : conf.osd_color_warn); twoColors 442 core/gui_osd.c void gui_osd_draw_clock(int x, int y, twoColors cl, int is_osd_edit) twoColors 504 core/gui_osd.c twoColors col = user_color(conf.osd_color); twoColors 689 core/gui_osd.c twoColors col = user_color(conf.osd_color); twoColors 1111 core/gui_osd.c twoColors col = user_color(conf.osd_color); twoColors 25 core/gui_osd.h extern void gui_osd_draw_clock(int x, int y, twoColors cl, int is_osd_edit); twoColors 18 core/gui_space.c static twoColors cl; twoColors 34 core/gui_usb.c twoColors cl = user_color(conf.osd_color); twoColors 30 include/color.h #define MAKE_COLOR(bg, fg) ((twoColors)(((color)(bg) << 8) | (color)(fg))) twoColors 34 include/font.h extern int rbf_draw_char(int x, int y, int ch, twoColors cl); twoColors 35 include/font.h extern int rbf_draw_symbol(int x, int y, int ch, twoColors cl); twoColors 36 include/font.h extern int rbf_draw_string(int x, int y, const char *str, twoColors cl); twoColors 37 include/font.h extern int rbf_draw_clipped_string(int x, int y, const char *str, twoColors cl, int l, int maxlen); twoColors 38 include/font.h extern int rbf_draw_string_len(int x, int y, int len, const char *str, twoColors cl); twoColors 39 include/font.h extern int rbf_draw_string_right_len(int x, int y, int len, const char *str, twoColors cl); twoColors 40 include/font.h extern int rbf_draw_menu_header(int x, int y, int len, char symbol, const char *str, twoColors cl); twoColors 311 lib/font/rbf_font.c void font_draw_char(int x, int y, char *cdata, int width, int height, int pixel_width, twoColors cl) { twoColors 322 lib/font/rbf_font.c int rbf_draw_char(int x, int y, int ch, twoColors cl) { twoColors 339 lib/font/rbf_font.c int rbf_draw_symbol(int x, int y, int ch, twoColors cl) { twoColors 376 lib/font/rbf_font.c int rbf_draw_string_c(int x, int y, const char *str, twoColors c1, int c, twoColors c2) { twoColors 387 lib/font/rbf_font.c int rbf_draw_string(int x, int y, const char *str, twoColors cl) { twoColors 408 lib/font/rbf_font.c int rbf_draw_clipped_string(int x, int y, const char *str, twoColors cl, int l, int maxlen) twoColors 411 lib/font/rbf_font.c twoColors inv_cl = MAKE_COLOR(FG_COLOR(cl), BG_COLOR(cl)); twoColors 427 lib/font/rbf_font.c int rbf_draw_string_len(int x, int y, int len, const char *str, twoColors cl) { twoColors 439 lib/font/rbf_font.c int rbf_draw_string_right_len(int x, int y, int len, const char *str, twoColors cl) { twoColors 454 lib/font/rbf_font.c int rbf_draw_menu_header(int x, int y, int len, char symbol, const char *str, twoColors cl) { twoColors 198 modules/games/gui_4wins.c twoColors cl = MAKE_COLOR(COLOR_RED, COLOR_WHITE); twoColors 36 modules/games/gui_mastermind.c static void choice_box(int x, int y, twoColors cl) twoColors 273 modules/games/gui_sokoban.c static void sokoban_draw_box(int x, int y, twoColors cl) { twoColors 242 modules/games/gui_tetris.c twoColors cl = MAKE_COLOR(TETRIS_COLOR_BG, TETRIS_COLOR_TEXT); twoColors 180 modules/gui_bench.c twoColors cl; twoColors 746 modules/gui_fselect.c twoColors cl_marked; twoColors 232 modules/gui_grid.c twoColors ucol = user_color(conf.grid_color); twoColors 244 modules/gui_grid.c twoColors col = (conf.grid_force_color) ? ucol : MAKE_COLOR(get_script_color(ptr->clb), get_script_color(ptr->clf)); twoColors 82 modules/gui_mpopup.c twoColors cl; twoColors 99 modules/gui_read.c twoColors col = user_color(conf.reader_color); twoColors 116 modules/gui_read.c twoColors col = user_color(conf.reader_color); twoColors 325 modules/histogram.c twoColors hc = user_color(conf.histo_color); twoColors 326 modules/histogram.c twoColors hc2 = user_color(conf.histo_color2); twoColors 381 modules/histogram.c twoColors hc = user_color(conf.histo_color); twoColors 382 modules/histogram.c twoColors hc2 = user_color(conf.histo_color2); twoColors 431 modules/histogram.c twoColors hc = user_color(conf.histo_color); twoColors 432 modules/histogram.c twoColors hc2 = user_color(conf.histo_color2); twoColors 841 modules/motion_detector.c twoColors c = MAKE_COLOR(COLOR_TRANSPARENT, COLOR_GREEN); twoColors 445 modules/user_menu_edit.c static twoColors cl, cl_symbol; twoColors 467 platform/ixus240_elph320hs/kbd.c twoColors c1 = MAKE_COLOR((camMode&MODE_VID)?COLOR_TRANSPARENT:COLOR_BLACK, COLOR_WHITE); twoColors 468 platform/ixus240_elph320hs/kbd.c twoColors c2 = MAKE_COLOR((camMode&MODE_VID)?COLOR_TRANSPARENT:COLOR_BLACK, COLOR_GREEN); twoColors 479 platform/ixus240_elph320hs/kbd.c twoColors cl = c1; twoColors 244 platform/ixus310_elph500hs/kbd.c twoColors cl = c1; twoColors 264 platform/n/kbd.c twoColors c1 = MAKE_COLOR(COLOR_RED_DK,COLOR_WHITE); // ALT exit button twoColors 265 platform/n/kbd.c twoColors c2 = MAKE_COLOR(COLOR_WHITE, COLOR_BLUE_DK); // Right side keys twoColors 266 platform/n/kbd.c twoColors c3 = MAKE_COLOR(COLOR_WHITE, COLOR_RED_DK); // Left side keys twoColors 267 platform/n/kbd.c twoColors c4 = MAKE_COLOR(COLOR_GREY_DK_TRANS, COLOR_WHITE); // Semi-transparent keys twoColors 278 platform/n/kbd.c twoColors clr = c3; twoColors 264 platform/n_facebook/kbd.c twoColors c1 = MAKE_COLOR(COLOR_RED_DK,COLOR_WHITE); // ALT exit button twoColors 265 platform/n_facebook/kbd.c twoColors c2 = MAKE_COLOR(COLOR_WHITE, COLOR_BLUE_DK); // Right side keys twoColors 266 platform/n_facebook/kbd.c twoColors c3 = MAKE_COLOR(COLOR_WHITE, COLOR_RED_DK); // Left side keys twoColors 267 platform/n_facebook/kbd.c twoColors c4 = MAKE_COLOR(COLOR_GREY_DK_TRANS, COLOR_WHITE); // Semi-transparent keys twoColors 278 platform/n_facebook/kbd.c twoColors clr = c3;