cl               1393 core/conf.c                *((confColor*)osd_conf_info[i].var) = osd_conf_info[i].cl;
cl                265 core/gui.c         twoColors cl;
cl                267 core/gui.c             cl=MAKE_COLOR(COLOR_RED, COLOR_WHITE);
cl                272 core/gui.c             cl=MAKE_COLOR(COLOR_TRANSPARENT, COLOR_WHITE);
cl                280 core/gui.c         draw_text_justified(x, y, exp_text, cl, EXP_TEXT_WIDTH, camera_info.state.gui_mode_alt ? EXP_TEXT_HEIGHT : 1, TEXT_CENTER|TEXT_FILL);
cl                286 core/gui.c         twoColors cl = MAKE_COLOR(COLOR_RED, COLOR_WHITE);
cl                292 core/gui.c         draw_string(x-((strlen(under_dev_text)*FONT_WIDTH)>>1), y, under_dev_text, cl);
cl               2320 core/gui.c         twoColors cl = MAKE_COLOR(COLOR_RED, COLOR_WHITE);
cl               2340 core/gui.c             draw_string(x+((logo_text_width-strlen(text[i])*FONT_WIDTH)>>1), y+i*FONT_HEIGHT+4, text[i], cl);
cl                 73 core/gui_batt.c     twoColors cl = user_color((perc<=20) ? conf.osd_color_warn : conf.osd_color);
cl                 76 core/gui_batt.c     draw_osd_string(conf.batt_txt_pos, 0, 0, osd_buf, cl, conf.batt_txt_scale);
cl                 41 core/gui_draw.c void            (*draw_pixel_proc)(unsigned int offset, color cl);
cl                 42 core/gui_draw.c void            (*draw_pixel_proc_norm)(unsigned int offset, color cl);
cl                 52 core/gui_draw.c static void draw_pixel_std(unsigned int offset, color cl)
cl                 57 core/gui_draw.c 	bitmap_buffer[active_bitmap_buffer][offset] = cl;
cl                 59 core/gui_draw.c 	frame_buffer[0][offset] = frame_buffer[1][offset] = cl;
cl                 73 core/gui_draw.c     CALC_YUV_LUMA_OPACITY_FOR_COLOR(cl,y,o);
cl                 84 core/gui_draw.c         CALC_YUV_CHROMA_FOR_COLOR(cl,u,v);
cl                117 core/gui_draw.c unsigned int color_to_rawpx(color cl, unsigned int *op)
cl                120 core/gui_draw.c     CALC_YUV_CHROMA_FOR_COLOR(cl,u,v);
cl                121 core/gui_draw.c     CALC_YUV_LUMA_OPACITY_FOR_COLOR(cl,y,o);
cl                141 core/gui_draw.c unsigned int color_to_rawpx(color cl, unsigned int *op)
cl                156 core/gui_draw.c void draw_pixel_proc_rotated(unsigned int offset, color cl)
cl                158 core/gui_draw.c     draw_pixel_proc_norm(rotate_base - offset, cl);
cl                161 core/gui_draw.c void draw_set_draw_proc(void (*pixel_proc)(unsigned int offset, color cl))
cl                193 core/gui_draw.c     color cl;
cl                197 core/gui_draw.c     cl = BG_COLOR(tc);
cl                198 core/gui_draw.c     CALC_YUV_LUMA_OPACITY_FOR_COLOR(cl,yuvclr[1],yuvclr[3]);
cl                199 core/gui_draw.c     CALC_YUV_CHROMA_FOR_COLOR(cl,yuvclr[0],yuvclr[2]);
cl                200 core/gui_draw.c     cl = FG_COLOR(tc);
cl                201 core/gui_draw.c     CALC_YUV_LUMA_OPACITY_FOR_COLOR(cl,yuvclr[5],yuvclr[7]);
cl                202 core/gui_draw.c     CALC_YUV_CHROMA_FOR_COLOR(cl,yuvclr[4],yuvclr[6]);
cl                413 core/gui_draw.c void draw_pixel(coord x, coord y, color cl)
cl                420 core/gui_draw.c         draw_pixel_proc(offset,   cl);
cl                422 core/gui_draw.c         draw_pixel_proc(offset+1, cl);  // Draw second pixel if screen scaling is needed
cl                427 core/gui_draw.c void draw_pixel_unrotated(coord x, coord y, color cl)
cl                434 core/gui_draw.c         draw_pixel_proc_norm(offset,   cl);
cl                436 core/gui_draw.c         draw_pixel_proc_norm(offset+1, cl);  // Draw second pixel if screen scaling is needed
cl                486 core/gui_draw.c void draw_line(coord x1, coord y1, coord x2, coord y2, color cl)
cl                507 core/gui_draw.c          if (steep) draw_pixel(y, x, cl);
cl                508 core/gui_draw.c          else draw_pixel(x, y, cl);
cl                519 core/gui_draw.c void draw_hline(coord x, coord y, int len, color cl)
cl                535 core/gui_draw.c         draw_pixel_proc(offset, cl);
cl                538 core/gui_draw.c void draw_vline(coord x, coord y, int len, color cl)
cl                544 core/gui_draw.c         draw_pixel(x, y, cl);
cl                550 core/gui_draw.c void draw_rectangle(coord x1, coord y1, coord x2, coord y2, twoColors cl, int flags)
cl                582 core/gui_draw.c         draw_vline(x1, y1 + round * 2, y2 - y1 - round * 4 + 1, FG_COLOR(cl));
cl                583 core/gui_draw.c         draw_vline(x2, y1 + round * 2, y2 - y1 - round * 4 + 1, FG_COLOR(cl));
cl                584 core/gui_draw.c         draw_hline(x1 + 1 + round, y1, x2 - x1 - round * 2 - 1, FG_COLOR(cl));
cl                585 core/gui_draw.c         draw_hline(x1 + 1 + round, y2, x2 - x1 - round * 2 - 1, FG_COLOR(cl));
cl                604 core/gui_draw.c             draw_hline(x1, y, x2 - x1 + 1, BG_COLOR(cl));
cl                631 core/gui_draw.c void draw_char(coord x, coord y, const char ch, twoColors cl)
cl                640 core/gui_draw.c         draw_hline(x, y+i, FONT_WIDTH, BG_COLOR(cl));
cl                658 core/gui_draw.c             draw_pixel(x+ii, y+i, (dsym & (0x80>>ii))? FG_COLOR(cl) : BG_COLOR(cl));
cl                665 core/gui_draw.c                 draw_pixel(x+ii, y+i, (dsym & (0x80>>ii))? FG_COLOR(cl) : BG_COLOR(cl));
cl                674 core/gui_draw.c         draw_hline(x, y+i, FONT_WIDTH, BG_COLOR(cl));
cl                680 core/gui_draw.c void draw_char(coord x, coord y, const char ch, twoColors cl)
cl                686 core/gui_draw.c     color fg = FG_COLOR(cl);
cl                687 core/gui_draw.c     color bg = BG_COLOR(cl);
cl                690 core/gui_draw.c     draw_pixel_simple_start(cl);
cl                765 core/gui_draw.c void draw_char_unscaled(coord x, coord y, const char ch, twoColors cl)
cl                771 core/gui_draw.c     color fg = FG_COLOR(cl);
cl                772 core/gui_draw.c     color bg = BG_COLOR(cl);
cl                775 core/gui_draw.c     draw_pixel_simple_start(cl);
cl                834 core/gui_draw.c void draw_char_scaled(coord x, coord y, const char ch, twoColors cl, int xsize, int ysize)
cl                838 core/gui_draw.c     twoColors clf = MAKE_COLOR(FG_COLOR(cl),FG_COLOR(cl));
cl                839 core/gui_draw.c     twoColors clb = MAKE_COLOR(BG_COLOR(cl),BG_COLOR(cl));
cl                894 core/gui_draw.c void draw_char_scaled(coord x, coord y, const char ch, twoColors cl, int xsize, int ysize)
cl                898 core/gui_draw.c     twoColors clf = MAKE_COLOR(FG_COLOR(cl),FG_COLOR(cl));
cl                899 core/gui_draw.c     twoColors clb = MAKE_COLOR(BG_COLOR(cl),BG_COLOR(cl));
cl                972 core/gui_draw.c int draw_string_clipped(coord x, coord y, const char *s, twoColors cl, int max_width)
cl                976 core/gui_draw.c 	    draw_char(x, y, *s, cl);
cl                982 core/gui_draw.c 	        draw_char(x-FONT_WIDTH,y, '>', cl);
cl                990 core/gui_draw.c int draw_string(coord x, coord y, const char *s, twoColors cl)
cl                992 core/gui_draw.c     return draw_string_clipped(x, y, s, cl, camera_screen.width);
cl               1000 core/gui_draw.c int draw_string_justified(coord x, coord y, const char *s, twoColors cl, int xo, int max_width, int justification)
cl               1024 core/gui_draw.c         draw_rectangle(x, y, x+xo-1, y+FONT_HEIGHT-1, cl, RECT_BORDER0|DRAW_FILLED);
cl               1027 core/gui_draw.c     l = draw_string_clipped(x+xo, y, s, cl, max_width - xo) - x;
cl               1031 core/gui_draw.c         draw_rectangle(x+l, y, x+max_width-1, y+FONT_HEIGHT-1, cl, RECT_BORDER0|DRAW_FILLED);
cl               1073 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)
cl               1081 core/gui_draw.c         rx = draw_string_justified(x, y, s, cl, 0, max_chars*FONT_WIDTH, justification);
cl               1092 core/gui_draw.c void draw_string_scaled(coord x, coord y, const char *s, twoColors cl, int xsize, int ysize)
cl               1096 core/gui_draw.c         draw_char_scaled(x, y, *s, cl, xsize, ysize);
cl               1101 core/gui_draw.c             draw_char_scaled(x-FONT_WIDTH*xsize,y, '>', cl, xsize, ysize);
cl               1109 core/gui_draw.c void draw_string_scaled(coord x, coord y, const char *s, twoColors cl, int xsize, int ysize)
cl               1115 core/gui_draw.c             draw_char_unscaled(x, y, *s, cl);
cl               1120 core/gui_draw.c                 draw_char_unscaled(x-FONT_REAL_WIDTH,y, '>', cl);
cl               1129 core/gui_draw.c             draw_char_scaled(x, y, *s, cl, xsize, ysize);
cl               1134 core/gui_draw.c                 draw_char_scaled(x-FONT_WIDTH*xsize,y, '>', cl, xsize, ysize);
cl               1174 core/gui_draw.c void draw_txt_string(coord col, coord row, const char *str, twoColors cl)
cl               1176 core/gui_draw.c     draw_string(col*FONT_WIDTH, row*FONT_HEIGHT, str, cl);
cl               1209 core/gui_draw.c void draw_ellipse(coord CX, coord CY, unsigned int XRadius, unsigned int YRadius, color cl, int flags)
cl               1230 core/gui_draw.c             draw_hline(CX-X,CY-Y,X*2+1,cl);
cl               1231 core/gui_draw.c             draw_hline(CX-X,CY+Y,X*2+1,cl);
cl               1235 core/gui_draw.c             draw_pixel(CX-X,CY-Y,cl);
cl               1236 core/gui_draw.c             draw_pixel(CX-X,CY+Y,cl);
cl               1237 core/gui_draw.c             draw_pixel(CX+X,CY-Y,cl);
cl               1238 core/gui_draw.c             draw_pixel(CX+X,CY+Y,cl);
cl               1267 core/gui_draw.c                 draw_hline(CX-X,CY-Y,X*2+1,cl);
cl               1268 core/gui_draw.c                 draw_hline(CX-X,CY+Y,X*2+1,cl);
cl               1274 core/gui_draw.c             draw_pixel(CX-X,CY-Y,cl);
cl               1275 core/gui_draw.c             draw_pixel(CX-X,CY+Y,cl);
cl               1276 core/gui_draw.c             draw_pixel(CX+X,CY-Y,cl);
cl               1277 core/gui_draw.c             draw_pixel(CX+X,CY+Y,cl);
cl               1297 core/gui_draw.c     twoColors cl = MAKE_COLOR((active) ? COLOR_RED : COLOR_BLACK, COLOR_WHITE);
cl               1300 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
cl               1301 core/gui_draw.c     draw_string(x+((w-(strlen(lang_str(str_id))*FONT_WIDTH))>>1), y, lang_str(str_id), cl);
cl               1375 core/gui_draw.c color get_script_color(int cl)
cl               1377 core/gui_draw.c     if (cl < 256)
cl               1378 core/gui_draw.c         return cl;
cl               1380 core/gui_draw.c         return chdk_colors[cl-256];
cl                101 core/gui_draw.h extern void draw_set_draw_proc(void (*pixel_proc)(unsigned int offset, color cl));
cl                110 core/gui_draw.h extern void draw_pixel(coord x, coord y, color cl);
cl                111 core/gui_draw.h extern void draw_pixel_unrotated(coord x, coord y, color cl);
cl                115 core/gui_draw.h extern unsigned int color_to_rawpx(color cl, unsigned int *op);
cl                117 core/gui_draw.h extern void draw_line(coord x1, coord y1, coord x2, coord y2, color cl);
cl                118 core/gui_draw.h extern void draw_hline(coord x, coord y, int len, color cl);
cl                119 core/gui_draw.h extern void draw_vline(coord x, coord y, int len, color cl);
cl                122 core/gui_draw.h extern void draw_rectangle(coord x1, coord y1, coord x2, coord y2, twoColors cl, int flags);
cl                123 core/gui_draw.h extern void draw_ellipse(coord xc, coord yc, unsigned int a, unsigned int b, color cl, int flags);
cl                127 core/gui_draw.h extern void draw_char(coord x, coord y, const char ch, twoColors cl);
cl                128 core/gui_draw.h extern int  draw_string_clipped(coord x, coord y, const char *s, twoColors cl, int max_width);
cl                129 core/gui_draw.h extern int  draw_string(coord x, coord y, const char *s, twoColors cl);
cl                130 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);
cl                131 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);
cl                132 core/gui_draw.h extern void draw_string_scaled(coord x, coord y, const char *s, twoColors cl, int xsize, int ysize);
cl                136 core/gui_draw.h extern void draw_txt_string(coord col, coord row, const char *str, twoColors cl);
cl                140 core/gui_draw.h extern color get_script_color(int cl);
cl                758 core/gui_menu.c static twoColors cl, cl_symbol;
cl                774 core/gui_menu.c     xx += rbf_draw_char(xx, yy, ' ', cl);
cl                795 core/gui_menu.c     xx += rbf_draw_string_len(xx, yy, w-len_space-len_space-len_br1-len_str-len_br2-len_space-symbol_width, lang_str(curr_menu->menu[imenu].text), cl);
cl                796 core/gui_menu.c     xx += rbf_draw_string(xx, yy, " [", cl);
cl                806 core/gui_menu.c     xx += rbf_draw_string_right_len(xx, yy, len_str, str, cl);
cl                808 core/gui_menu.c     rbf_draw_string(xx, yy, "] ", cl);
cl                815 core/gui_menu.c     xx += rbf_draw_string_len(xx, yy, w-len_space-len_space-symbol_width, str, cl);
cl                818 core/gui_menu.c     rbf_draw_char(xx, yy, ' ', cl);
cl                877 core/gui_menu.c     xx += rbf_draw_string_len(xx, yy, wid, lang_str(text), cl);
cl                878 core/gui_menu.c     xx += rbf_draw_string(xx, yy, " [", cl);
cl                880 core/gui_menu.c         xx += rbf_draw_string_len(xx, yy, len_space*3, ((const char* (*)(int change, int arg))(c[1].value))(0, c[1].arg), cl);
cl                882 core/gui_menu.c         xx += rbf_draw_string_len(xx, yy, len_bool, (*(c[1].value))?"\x95":"", cl);
cl                883 core/gui_menu.c     xx += rbf_draw_string(xx, yy, "][", cl);
cl                938 core/gui_menu.c     xx += rbf_draw_string_right_len(xx, yy, len_enum, ch, cl);
cl                940 core/gui_menu.c     rbf_draw_string(xx, yy, "] ", cl);
cl                946 core/gui_menu.c     twoColors save = cl;
cl                947 core/gui_menu.c     cl = MAKE_COLOR(BG_COLOR(cl), c);
cl                949 core/gui_menu.c     cl = save;
cl                969 core/gui_menu.c             cl = user_color((gui_menu_curr_item==imenu) ? conf.menu_cursor_color : conf.menu_color);
cl                980 core/gui_menu.c             cl_symbol = (gui_menu_curr_item==imenu) ? MAKE_COLOR(BG_COLOR(cl),FG_COLOR(user_color(conf.menu_symbol_color))) : user_color(conf.menu_symbol_color); //color 8Bit=Hintergrund 8Bit=Vordergrund
cl               1016 core/gui_menu.c                 rbf_draw_char(x, yy, ' ', cl);
cl               1028 core/gui_menu.c                     draw_rectangle(x+len_space, yy, xx-1, yy+rbf_font_height()/2-1, MAKE_COLOR(BG_COLOR(cl), BG_COLOR(cl)), RECT_BORDER0|DRAW_FILLED);
cl               1029 core/gui_menu.c                     draw_line(x+len_space, yy+rbf_font_height()/2, xx-1, yy+rbf_font_height()/2, FG_COLOR(cl));
cl               1030 core/gui_menu.c                     draw_rectangle(x+len_space, yy+rbf_font_height()/2+1, xx-1, yy+rbf_font_height()-1, MAKE_COLOR(BG_COLOR(cl), BG_COLOR(cl)), RECT_BORDER0|DRAW_FILLED);
cl               1037 core/gui_menu.c                 if (j) xx += rbf_draw_clipped_string(xx, yy, tbuf, cl, 0, w);
cl               1041 core/gui_menu.c                     draw_rectangle(xx, yy, x+w-len_space-1, yy+rbf_font_height()/2-1, MAKE_COLOR(BG_COLOR(cl), BG_COLOR(cl)), RECT_BORDER0|DRAW_FILLED);
cl               1042 core/gui_menu.c                     draw_line(xx, yy+rbf_font_height()/2, x+w-1-len_space, yy+rbf_font_height()/2, FG_COLOR(cl));
cl               1043 core/gui_menu.c                     draw_rectangle(xx, yy+rbf_font_height()/2+1, x+w-len_space-1, yy+rbf_font_height()-1, MAKE_COLOR(BG_COLOR(cl), BG_COLOR(cl)), RECT_BORDER0|DRAW_FILLED);
cl               1046 core/gui_menu.c                 rbf_draw_char(x+w-len_space, yy, ' ', cl);
cl               1051 core/gui_menu.c                 xx+=rbf_draw_string_len(xx, yy, w-len_space-symbol_width, lang_str(curr_menu->menu[imenu].text), cl);
cl               1059 core/gui_menu.c                 xx+=rbf_draw_string_len(xx, yy, w-len_space-symbol_width, lang_str(curr_menu->menu[imenu].text), cl);
cl                458 core/gui_osd.c void gui_osd_draw_clock(int x, int y, twoColors cl, int is_osd_edit)
cl                468 core/gui_osd.c         if ((FG_COLOR(cl) == 0) && (BG_COLOR(cl) == 0)) cl = user_color(conf.osd_color);
cl                496 core/gui_osd.c                 draw_string(x, y, osd_buf, cl);
cl                498 core/gui_osd.c                 draw_osd_string(conf.clock_pos, 0, 0, osd_buf, cl, conf.clock_scale);
cl                504 core/gui_osd.c             draw_osd_string(conf.clock_pos, w*FONT_WIDTH, 0, osd_buf, cl, conf.clock_scale);
cl                 25 core/gui_osd.h extern void gui_osd_draw_clock(int x, int y, twoColors cl, int is_osd_edit);
cl                 18 core/gui_space.c static twoColors cl;
cl                 26 core/gui_space.c     cl = user_color(conf.space_color);
cl                 30 core/gui_space.c         cl = user_color(conf.osd_color_warn);
cl                 57 core/gui_space.c     draw_rectangle(xx+1, yy+1, xx+width+2, yy+height+2, cl, RECT_BORDER1);          // Inner white/red rectangle
cl                 71 core/gui_space.c     else draw_rectangle(xx+x+2, yy+2, xx+width+1, yy+height+1, MAKE_COLOR(FG_COLOR(cl), FG_COLOR(cl)), RECT_BORDER0|DRAW_FILLED); // If not empty fill 'free' space area
cl                 85 core/gui_space.c     else draw_rectangle(xx+2, yy+y+2, xx+width+1, yy+height+1, MAKE_COLOR(FG_COLOR(cl), FG_COLOR(cl)), RECT_BORDER0|DRAW_FILLED); // If not empty fill 'free' space area
cl                165 core/gui_space.c     draw_osd_string(conf.space_txt_pos, 0, 0, osd_buf, cl, conf.space_txt_scale);
cl                 35 core/gui_usb.c     twoColors cl = user_color(conf.osd_color);
cl                 36 core/gui_usb.c     draw_string(conf.usb_info_pos.x, conf.usb_info_pos.y, "<USB>", cl);
cl                557 include/conf.h         confColor       cl;
cl                568 include/conf.h #define CONF_INFOC(id, param, type, bc, fc, bt, ft) { id, sizeof( param ), type, &param, {cl:{fg:{fc,ft},bg:{bc,bt}}}, 0 }
cl                 34 include/font.h extern int rbf_draw_char(int x, int y, int ch, twoColors cl);
cl                 35 include/font.h extern int rbf_draw_symbol(int x, int y, int ch, twoColors cl);
cl                 36 include/font.h extern int rbf_draw_string(int x, int y, const char *str, twoColors cl);
cl                 37 include/font.h extern int rbf_draw_clipped_string(int x, int y, const char *str, twoColors cl, int l, int maxlen);
cl                 38 include/font.h extern int rbf_draw_string_len(int x, int y, int len, const char *str, twoColors cl);
cl                 39 include/font.h extern int rbf_draw_string_right_len(int x, int y, int len, const char *str, twoColors cl);
cl                 40 include/font.h extern int rbf_draw_menu_header(int x, int y, int len, char symbol, const char *str, twoColors cl);
cl                312 lib/font/rbf_font.c void font_draw_char(int x, int y, char *cdata, int width, int height, int pixel_width, twoColors cl) {
cl                319 lib/font/rbf_font.c                 draw_pixel(x+xx ,y+yy, (cdata[yy*width/8+xx/8] & (1<<(xx%8))) ? FG_COLOR(cl) : BG_COLOR(cl));
cl                323 lib/font/rbf_font.c int rbf_draw_char(int x, int y, int ch, twoColors cl) {
cl                332 lib/font/rbf_font.c         draw_char(x,y,ch,cl);
cl                334 lib/font/rbf_font.c         font_draw_char(x, y, cdata, rbf_font->width, rbf_font->hdr.height, rbf_font->wTable[ch], cl);
cl                340 lib/font/rbf_font.c int rbf_draw_symbol(int x, int y, int ch, twoColors cl) {
cl                360 lib/font/rbf_font.c         draw_rectangle(x, y, x+pixel_width, y+space, MAKE_COLOR(BG_COLOR(cl), BG_COLOR(cl)), RECT_BORDER0|DRAW_FILLED);
cl                365 lib/font/rbf_font.c       font_draw_char(x, y, cdata, rbf_symbol_font->width, sym_height, pixel_width, cl);
cl                369 lib/font/rbf_font.c           draw_rectangle(x, y+sym_height, x+pixel_width, y-space+txt_height-1, MAKE_COLOR(BG_COLOR(cl), BG_COLOR(cl)), RECT_BORDER0|DRAW_FILLED);
cl                388 lib/font/rbf_font.c int rbf_draw_string(int x, int y, const char *str, twoColors cl) {
cl                389 lib/font/rbf_font.c     return rbf_draw_string_c(x, y, str, cl, -1, MAKE_COLOR(0,0));
cl                409 lib/font/rbf_font.c int rbf_draw_clipped_string(int x, int y, const char *str, twoColors cl, int l, int maxlen)
cl                412 lib/font/rbf_font.c     twoColors inv_cl = MAKE_COLOR(FG_COLOR(cl), BG_COLOR(cl));
cl                420 lib/font/rbf_font.c             l+=rbf_draw_char(x+l, y, *str++, cl);
cl                428 lib/font/rbf_font.c int rbf_draw_string_len(int x, int y, int len, const char *str, twoColors cl) {
cl                430 lib/font/rbf_font.c     int l = rbf_draw_clipped_string(x, y, str, cl, 0, len);
cl                434 lib/font/rbf_font.c         draw_rectangle(x+l, y, x+len-1, y+rbf_font->hdr.height-1, MAKE_COLOR(BG_COLOR(cl), BG_COLOR(cl)), RECT_BORDER0|DRAW_FILLED);
cl                440 lib/font/rbf_font.c int rbf_draw_string_right_len(int x, int y, int len, const char *str, twoColors cl) {
cl                446 lib/font/rbf_font.c         draw_rectangle(x, y, x+l-1, y+rbf_font->hdr.height-1, MAKE_COLOR(BG_COLOR(cl), BG_COLOR(cl)), RECT_BORDER0|DRAW_FILLED);
cl                449 lib/font/rbf_font.c     l = rbf_draw_clipped_string(x, y, str, cl, l, len);
cl                455 lib/font/rbf_font.c int rbf_draw_menu_header(int x, int y, int len, char symbol, const char *str, twoColors cl) { 
cl                477 lib/font/rbf_font.c             draw_line(x+i,     y+2-i, x+i,     bottom, BG_COLOR(cl));        // left side
cl                478 lib/font/rbf_font.c             draw_line(right-i, y+2-i, right-i, bottom, BG_COLOR(cl));        // right side
cl                482 lib/font/rbf_font.c             draw_rectangle(x+i,      y, x+ll-1,   bottom, MAKE_COLOR(BG_COLOR(cl), BG_COLOR(cl)), RECT_BORDER0|DRAW_FILLED);    // left side
cl                483 lib/font/rbf_font.c             draw_rectangle(right-lr, y, right-i,  bottom, MAKE_COLOR(BG_COLOR(cl), BG_COLOR(cl)), RECT_BORDER0|DRAW_FILLED);    // right side
cl                489 lib/font/rbf_font.c       ll += rbf_draw_symbol(x+ll, y, symbol, cl);
cl                490 lib/font/rbf_font.c       ll += rbf_draw_char(x+ll, y, ' ', cl);
cl                494 lib/font/rbf_font.c     ll = rbf_draw_clipped_string(x, y, str, cl, ll, len);
cl                487 lib/lua/lapi.c   Closure *cl;
cl                491 lib/lua/lapi.c   cl = luaF_newCclosure(L, n, getcurrenv(L));
cl                492 lib/lua/lapi.c   cl->c.f = fn;
cl                495 lib/lua/lapi.c     setobj2n(L, &cl->c.upvalue[n], L->top+n);
cl                496 lib/lua/lapi.c   setclvalue(L, L->top, cl);
cl                497 lib/lua/lapi.c   lua_assert(iswhite(obj2gco(cl)));
cl                839 lib/lua/lapi.c   Closure *cl;
cl                840 lib/lua/lapi.c   cl = luaF_newCclosure(L, 0, getcurrenv(L));
cl                841 lib/lua/lapi.c   cl->c.f = c->func;
cl                842 lib/lua/lapi.c   setclvalue(L, L->top, cl);  /* push function */
cl                150 lib/lua/ldebug.c static void funcinfo (lua_Debug *ar, Closure *cl) {
cl                151 lib/lua/ldebug.c   if (cl->c.isC) {
cl                158 lib/lua/ldebug.c     ar->source = getstr(cl->l.p->source);
cl                159 lib/lua/ldebug.c     ar->linedefined = cl->l.p->linedefined;
cl                160 lib/lua/ldebug.c     ar->lastlinedefined = cl->l.p->lastlinedefined;
cl                266 lib/lua/ldo.c    LClosure *cl;
cl                271 lib/lua/ldo.c    cl = &clvalue(func)->l;
cl                273 lib/lua/ldo.c    if (!cl->isC) {  /* Lua function? prepare its call */
cl                276 lib/lua/ldo.c      Proto *p = cl->p;
cl                494 lib/lua/ldo.c    Closure *cl;
cl                500 lib/lua/ldo.c    cl = luaF_newLclosure(L, tf->nups, hvalue(gt(L)));
cl                501 lib/lua/ldo.c    cl->l.p = tf;
cl                503 lib/lua/ldo.c      cl->l.upvals[i] = luaF_newupval(L);
cl                504 lib/lua/ldo.c    setclvalue(L, L->top, cl);
cl                224 lib/lua/lgc.c  static void traverseclosure (global_State *g, Closure *cl) {
cl                225 lib/lua/lgc.c    markobject(g, cl->c.env);
cl                226 lib/lua/lgc.c    if (cl->c.isC) {
cl                228 lib/lua/lgc.c      for (i=0; i<cl->c.nupvalues; i++)  /* mark its upvalues */
cl                229 lib/lua/lgc.c        markvalue(g, &cl->c.upvalue[i]);
cl                233 lib/lua/lgc.c      lua_assert(cl->l.nupvalues == cl->l.p->nups);
cl                234 lib/lua/lgc.c      markobject(g, cl->l.p);
cl                235 lib/lua/lgc.c      for (i=0; i<cl->l.nupvalues; i++)  /* mark its upvalues */
cl                236 lib/lua/lgc.c        markobject(g, cl->l.upvals[i]);
cl                291 lib/lua/lgc.c        Closure *cl = gco2cl(o);
cl                292 lib/lua/lgc.c        g->gray = cl->c.gclist;
cl                293 lib/lua/lgc.c        traverseclosure(g, cl);
cl                294 lib/lua/lgc.c        return (cl->c.isC) ? sizeCclosure(cl->c.nupvalues) :
cl                295 lib/lua/lgc.c                             sizeLclosure(cl->l.nupvalues);
cl                 98 lib/lua/lobject.h #define clvalue(o)	check_exp(ttisfunction(o), &(o)->value.gc->cl)
cl                140 lib/lua/lstate.h   union Closure cl;
cl                153 lib/lua/lstate.h #define gco2cl(o)	check_exp((o)->gch.tt == LUA_TFUNCTION, &((o)->cl))
cl                226 lib/lua/lstrlib.c static int match_class (int c, int cl) {
cl                228 lib/lua/lstrlib.c   switch (tolower(cl)) {
cl                239 lib/lua/lstrlib.c     default: return (cl == c);
cl                241 lib/lua/lstrlib.c   return (islower(cl) ? res : !res);
cl                394 lib/lua/lvm.c    LClosure *cl;
cl                401 lib/lua/lvm.c    cl = &clvalue(L->ci->func)->l;
cl                403 lib/lua/lvm.c    k = cl->p->k;
cl                445 lib/lua/lvm.c          setobj2s(L, ra, cl->upvals[b]->v);
cl                451 lib/lua/lvm.c          sethvalue(L, &g, cl->env);
cl                462 lib/lua/lvm.c          sethvalue(L, &g, cl->env);
cl                468 lib/lua/lvm.c          UpVal *uv = cl->upvals[GETARG_B(i)];
cl                743 lib/lua/lvm.c          p = cl->p->p[GETARG_Bx(i)];
cl                745 lib/lua/lvm.c          ncl = luaF_newLclosure(L, nup, cl->env);
cl                749 lib/lua/lvm.c              ncl->l.upvals[j] = cl->upvals[GETARG_B(*pc)];
cl                763 lib/lua/lvm.c          int n = cast_int(ci->base - ci->func) - cl->p->numparams - 1;
cl                626 modules/edgeoverlay.c     const color cl = FG_COLOR(user_color(conf.edge_overlay_color));
cl                657 modules/edgeoverlay.c                     const int bDraw = bEdge || (draw_get_pixel_unrotated(x_off+viewport_xoffset, y_off+viewport_yoffset) == cl);
cl                659 modules/edgeoverlay.c                         draw_pixel_unrotated(x_off+viewport_xoffset, y_off+viewport_yoffset, bEdge ? cl : 0);
cl                683 modules/edgeoverlay.c                 if (draw_get_pixel_unrotated(x+viewport_xoffset, y+viewport_yoffset) == cl)
cl                701 modules/edgeoverlay.c                 if (draw_get_pixel_unrotated(x+viewport_xoffset, y+viewport_yoffset) == cl)
cl                 48 modules/games/gui_4wins.c static void stone(int column, int row, color cl)
cl                 50 modules/games/gui_4wins.c     draw_ellipse((XBORDER+((column-1)*RECT_SIZE))+(RECT_SIZE/2), (BORDER_TOP+((7-row)*RECT_SIZE))+(RECT_SIZE/2), STONE_SIZE, STONE_SIZE, cl, DRAW_FILLED);
cl                 53 modules/games/gui_4wins.c static void cursor(int column, color cl)
cl                 55 modules/games/gui_4wins.c     stone(column+1, 7, cl);
cl                198 modules/games/gui_4wins.c     twoColors cl = MAKE_COLOR(COLOR_RED, COLOR_WHITE);
cl                203 modules/games/gui_4wins.c     draw_rectangle(x, y, x + w, y + FONT_HEIGHT + 8, cl, RECT_BORDER2 | DRAW_FILLED | RECT_ROUND_CORNERS);
cl                204 modules/games/gui_4wins.c     draw_string_justified(x, y + 4, text, cl, 0, w, TEXT_CENTER);
cl                 36 modules/games/gui_mastermind.c static void choice_box(int x, int y, twoColors cl)
cl                 40 modules/games/gui_mastermind.c     draw_rectangle(x+5, y+5, x+cell_size-5, y+cell_size-5, cl, RECT_BORDER1|DRAW_FILLED);
cl                274 modules/games/gui_sokoban.c static void sokoban_draw_box(int x, int y, twoColors cl) {
cl                275 modules/games/gui_sokoban.c     draw_rectangle(camera_screen.disp_left+x*cell_size, y*cell_size, camera_screen.disp_left+x*cell_size+cell_size-1, y*cell_size+cell_size-1, cl, RECT_BORDER1|DRAW_FILLED);
cl                276 modules/games/gui_sokoban.c     draw_line(camera_screen.disp_left+x*cell_size+2, y*cell_size, camera_screen.disp_left+x*cell_size+2, y*cell_size+cell_size-1, FG_COLOR(cl));
cl                277 modules/games/gui_sokoban.c     draw_line(camera_screen.disp_left+x*cell_size+cell_size-1-2, y*cell_size, camera_screen.disp_left+x*cell_size+cell_size-1-2, y*cell_size+cell_size-1, FG_COLOR(cl));
cl                278 modules/games/gui_sokoban.c     draw_line(camera_screen.disp_left+x*cell_size+2, y*cell_size+2, camera_screen.disp_left+x*cell_size+cell_size-1-2, y*cell_size+2, FG_COLOR(cl));
cl                279 modules/games/gui_sokoban.c     draw_line(camera_screen.disp_left+x*cell_size+2, y*cell_size+cell_size-1-2, camera_screen.disp_left+x*cell_size+cell_size-1-2, y*cell_size+cell_size-1-2, FG_COLOR(cl));
cl                242 modules/games/gui_tetris.c     twoColors cl = MAKE_COLOR(TETRIS_COLOR_BG, TETRIS_COLOR_TEXT);
cl                247 modules/games/gui_tetris.c     draw_string(tx, camera_screen.height - yo * 11, str_buf, cl);
cl                249 modules/games/gui_tetris.c     draw_string(tx, camera_screen.height - yo * 10, str_buf, cl);
cl                251 modules/games/gui_tetris.c     draw_string(tx, camera_screen.height - yo * 9, str_buf, cl);
cl                253 modules/games/gui_tetris.c     draw_string(tx, camera_screen.height - yo * 8, str_buf, cl);
cl                255 modules/games/gui_tetris.c     draw_string(tx, camera_screen.height - yo * 6, str_buf, cl);
cl                257 modules/games/gui_tetris.c     draw_string(tx, camera_screen.height - yo * 5, str_buf, cl);
cl                261 modules/games/gui_tetris.c     draw_string(tx, camera_screen.height - yo * 3, str_buf, cl);
cl                263 modules/games/gui_tetris.c     draw_string(tx, camera_screen.height - yo * 2, str_buf, cl);
cl                181 modules/gui_bench.c     twoColors cl;
cl                183 modules/gui_bench.c         cl = user_color(conf.menu_cursor_color);
cl                185 modules/gui_bench.c         cl = user_color(conf.menu_color);
cl                187 modules/gui_bench.c     draw_txt_string(pos, 0,  s, cl);
cl                667 modules/gui_bench.c     int cl = strlen(lang_str(LANG_BENCH_CALCULATING));
cl                669 modules/gui_bench.c     if (cl < 27)
cl                671 modules/gui_bench.c         strncpy(clearline+cl, "                           ", 27-cl);
cl                 83 modules/gui_mpopup.c     twoColors cl;
cl                 86 modules/gui_mpopup.c         cl = MAKE_COLOR((mpopup_actions_active==i)?COLOR_RED:COLOR_GREY, COLOR_WHITE);
cl                 87 modules/gui_mpopup.c         draw_string_justified(mpopup_actions_x, y, lang_str(actions[mpopup_actions[i]].text), cl, FONT_WIDTH, mpopup_actions_w*FONT_WIDTH+1, TEXT_LEFT|TEXT_FILL);
cl                 24 modules/gui_palette.c static chdkColor cl;
cl                 34 modules/gui_palette.c     cl = st_color;
cl                 50 modules/gui_palette.c                 if (cl.type)
cl                 52 modules/gui_palette.c                     cl.type = 0;
cl                 53 modules/gui_palette.c                     if (cl.col > 15)
cl                 54 modules/gui_palette.c                         cl.col = 15;
cl                 58 modules/gui_palette.c                     if ((cl.col & 0xF0) == 0xF0)
cl                 60 modules/gui_palette.c                         cl.type = 1;
cl                 61 modules/gui_palette.c                         cl.col &= 0x0F;
cl                 65 modules/gui_palette.c                         cl.col = (((cl.col+16)&0xf0)|(cl.col&0x0f));
cl                 74 modules/gui_palette.c                 if (cl.type)
cl                 76 modules/gui_palette.c                     cl.type = 0;
cl                 77 modules/gui_palette.c                     if (cl.col > 15)
cl                 78 modules/gui_palette.c                         cl.col = 15;
cl                 79 modules/gui_palette.c                     cl.col |= 0xF0;
cl                 83 modules/gui_palette.c                     if ((cl.col & 0xF0) == 0x00)
cl                 85 modules/gui_palette.c                         cl.type = 1;
cl                 89 modules/gui_palette.c                         cl.col = (((cl.col-16)&0xf0)|(cl.col&0x0f));
cl                 98 modules/gui_palette.c                 if (cl.type)
cl                100 modules/gui_palette.c                     if (cl.col-- == 0) cl.col = IDX_COLOR_MAX;
cl                104 modules/gui_palette.c                     cl.col = ((cl.col&0xf0)|((cl.col-1)&0x0f));
cl                116 modules/gui_palette.c                 if (cl.type)
cl                118 modules/gui_palette.c                     if (cl.col++ == IDX_COLOR_MAX) cl.col = 0;
cl                122 modules/gui_palette.c                     cl.col = ((cl.col&0xf0)|((cl.col+1)&0x0f));
cl                135 modules/gui_palette.c                     palette_on_select(cl);
cl                283 modules/gui_palette.c             sprintf(buf, " %s: 0x%02hX 0x%08X", lang_str(LANG_PALETTE_TEXT_COLOR), cl.col, pal[chdkColorToCanonColor(cl)]);
cl                285 modules/gui_palette.c             sprintf(buf, " %s: 0x%02hX", lang_str(LANG_PALETTE_TEXT_COLOR), cl.col );
cl                315 modules/gui_palette.c         if (cl.type)
cl                318 modules/gui_palette.c             x = DISP_LEFT + cl.col * CELL_SIZE;
cl                322 modules/gui_palette.c             y = DISP_TOP + ((cl.col>>4)&0x0F) * CELL_SIZE;
cl                323 modules/gui_palette.c             x = DISP_LEFT + (cl.col&0x0F) * CELL_SIZE;
cl                327 modules/gui_palette.c         draw_rectangle(xl+x-CELL_ZOOM, y-CELL_ZOOM, xl+x+CELL_SIZE+CELL_ZOOM, y+CELL_SIZE+CELL_ZOOM, MAKE_COLOR(chdkColorToCanonColor(cl), COLOR_RED), RECT_BORDER2|DRAW_FILLED);
cl                330 modules/gui_palette.c         draw_rectangle(xl+DISP_RIGHT+BORDER_SIZE+1, DISP_TOP+CELL_SIZE*3, xr-BORDER_SIZE, DISP_BOTTOM, MAKE_COLOR(chdkColorToCanonColor(cl), COLOR_WHITE), RECT_BORDER1|DRAW_FILLED);
cl                289 modules/histogram.c     register color cl, cl_over, cl_bg = BG_COLOR(hc);
cl                295 modules/histogram.c             cl=COLOR_RED;
cl                298 modules/histogram.c             cl=COLOR_GREEN;
cl                301 modules/histogram.c             cl=COLOR_BLUE;
cl                306 modules/histogram.c             cl=FG_COLOR(hc);
cl                316 modules/histogram.c                 draw_pixel(x+1+i, y+h-v, (v<=threshold)?cl:cl_bg);
cl                317 modules/histogram.c             cl_over = (threshold==h && conf.show_overexp)?BG_COLOR(hc2):cl;
cl                326 modules/histogram.c                 draw_pixel(x+1+i, y+h-v, (v<=threshold)?cl:cl_bg);
cl                327 modules/histogram.c             cl_over = (threshold==h && conf.show_overexp)?BG_COLOR(hc2):cl;
cl               1248 modules/luascript.c   color cl=get_script_color(luaL_checknumber(L,3));
cl               1249 modules/luascript.c   draw_pixel(x1,y1,cl);
cl               1258 modules/luascript.c   color cl=get_script_color(luaL_checknumber(L,5));
cl               1259 modules/luascript.c   draw_line(x1,y1,x2,y2,cl);
cl               1268 modules/luascript.c   color cl=get_script_color(luaL_checknumber(L,5));
cl               1270 modules/luascript.c   draw_rectangle(x1,y1,x2,y2,MAKE_COLOR(cl,cl),th);
cl               1291 modules/luascript.c   color cl=get_script_color(luaL_checknumber(L,5));
cl               1292 modules/luascript.c   draw_ellipse(x1,y1,a,b,cl,0);
cl               1301 modules/luascript.c   color cl=get_script_color(luaL_checknumber(L,5));
cl               1302 modules/luascript.c   draw_ellipse(x1,y1,a,b,cl,DRAW_FILLED);
cl                445 modules/user_menu_edit.c static twoColors cl, cl_symbol;
cl                461 modules/user_menu_edit.c     xx += rbf_draw_char(xx, yy, ' ', cl);
cl                468 modules/user_menu_edit.c     xx += rbf_draw_string_len(xx, yy, w-len_space*4, lang_str(curr_menu->menu[imenu].text), cl);
cl                475 modules/user_menu_edit.c     xx += rbf_draw_string_len(xx, yy, w-len_space-len_space-symbol_width, str, cl);
cl                478 modules/user_menu_edit.c     rbf_draw_char(xx, yy, ' ', cl);
cl                493 modules/user_menu_edit.c     xx += rbf_draw_string_len(xx, yy, wid, lang_str(text), cl);
cl                516 modules/user_menu_edit.c                 cl = user_color((gui_menu_curr_item==imenu) ? conf.menu_cursor_color : conf.menu_color);
cl                518 modules/user_menu_edit.c                     cl = MAKE_COLOR(BG_COLOR(cl),COLOR_GREEN);
cl                519 modules/user_menu_edit.c                 cl_symbol = (gui_menu_curr_item==imenu)?MAKE_COLOR(BG_COLOR(cl),FG_COLOR(user_color(conf.menu_symbol_color))):user_color(conf.menu_symbol_color);
cl                549 modules/user_menu_edit.c                     xx+=rbf_draw_string_len(xx, yy, w-len_space-symbol_width, lang_str(curr_menu->menu[imenu].text), cl);
cl                183 modules/zebra.c static void draw_pixel_buffered(unsigned int offset, color cl)
cl                185 modules/zebra.c     buf[offset] = cl;
cl                463 platform/ixus240_elph320hs/kbd.c                 twoColors cl = c1;
cl                464 platform/ixus240_elph320hs/kbd.c                 if (guiMode && (keymap[i].hackkey == KEY_PRINT)) cl = c2;
cl                465 platform/ixus240_elph320hs/kbd.c                 if (keymap[i].conf_val && *keymap[i].conf_val) cl = c2;
cl                467 platform/ixus240_elph320hs/kbd.c                 draw_rectangle(x1, y1, x2, y2, cl, RECT_BORDER3|DRAW_FILLED|RECT_ROUND_CORNERS);
cl                475 platform/ixus240_elph320hs/kbd.c                     draw_string(x1+4, y1+ofst, "UD!", cl);
cl                484 platform/ixus240_elph320hs/kbd.c                         draw_string(x1+4, y1+25, buf, cl);
cl                489 platform/ixus240_elph320hs/kbd.c                         draw_string(x1+4, y1+25, keymap[i].nm2, cl);
cl                491 platform/ixus240_elph320hs/kbd.c                     draw_string(x1+4, y1+ofst, keymap[i].nm, cl);
cl                245 platform/ixus310_elph500hs/kbd.c                 twoColors cl = c1;
cl                246 platform/ixus310_elph500hs/kbd.c                 if (camera_info.state.gui_mode && (keymap[i].hackkey == KEY_PRINT)) cl = c2;
cl                247 platform/ixus310_elph500hs/kbd.c                 if (keymap[i].conf_val && *keymap[i].conf_val) cl = c2;
cl                249 platform/ixus310_elph500hs/kbd.c                 draw_rectangle(x1, y1, x2, y2, cl, RECT_BORDER3|DRAW_FILLED|RECT_ROUND_CORNERS);
cl                257 platform/ixus310_elph500hs/kbd.c                     draw_string(x1+xo, y1+yo+18, buf, cl);
cl                263 platform/ixus310_elph500hs/kbd.c                     draw_string(x1+xo, y1+yo+18, keymap[i].nm2, cl);
cl                266 platform/ixus310_elph500hs/kbd.c                 draw_string_scaled(x1+xo, y1+yo, keymap[i].nm, cl, sc, sc);
cl               1236 platform/m10/sub/110d/movie_rec.c     int *cl = (int*)(*(r0+1));
cl               1239 platform/m10/sub/110d/movie_rec.c         lsum += *(cl+1);
cl               1240 platform/m10/sub/110d/movie_rec.c         cl+=3;
cl               1236 platform/m10/sub/110f/movie_rec.c     int *cl = (int*)(*(r0+1));
cl               1239 platform/m10/sub/110f/movie_rec.c         lsum += *(cl+1);
cl               1240 platform/m10/sub/110f/movie_rec.c         cl+=3;
cl               1445 platform/m3/sub/101a/movie_rec.c     int *cl = (int*)(*(r0+1));
cl               1448 platform/m3/sub/101a/movie_rec.c         lsum += *(cl+1);
cl               1449 platform/m3/sub/101a/movie_rec.c         cl+=3;
cl               1445 platform/m3/sub/120f/movie_rec.c     int *cl = (int*)(*(r0+1));
cl               1448 platform/m3/sub/120f/movie_rec.c         lsum += *(cl+1);
cl               1449 platform/m3/sub/120f/movie_rec.c         cl+=3;
cl                670 platform/sx280hs/sub/102b/movie_rec.c     int *cl = (int*)(*(r0+1));
cl                673 platform/sx280hs/sub/102b/movie_rec.c         lsum += *(cl+1);
cl                674 platform/sx280hs/sub/102b/movie_rec.c         cl+=3;
cl                672 platform/sx280hs/sub/102c/movie_rec.c     int *cl = (int*)(*(r0+1));
cl                675 platform/sx280hs/sub/102c/movie_rec.c         lsum += *(cl+1);
cl                676 platform/sx280hs/sub/102c/movie_rec.c         cl+=3;