DISP_TOP 269 modules/gui_palette.c dispbottom = DISP_TOP + cellsize * 16; DISP_TOP 289 modules/gui_palette.c draw_rectangle(xl+BORDER_SIZE, DISP_TOP_CHDK+CELL_SIZE+1, xr-BORDER_SIZE, DISP_TOP-1, MAKE_COLOR(COLOR_GREY, COLOR_GREY), RECT_BORDER0|DRAW_FILLED); //horiz divider DISP_TOP 290 modules/gui_palette.c draw_rectangle(xl+DISP_RIGHT+1, DISP_TOP, xl+DISP_RIGHT+BORDER_SIZE, DISP_BOTTOM, MAKE_COLOR(COLOR_GREY, COLOR_GREY), RECT_BORDER0|DRAW_FILLED); //vert divider DISP_TOP 291 modules/gui_palette.c draw_rectangle(xl+DISP_RIGHT+BORDER_SIZE+1, DISP_TOP, xr-BORDER_SIZE, DISP_TOP+3*CELL_SIZE-1, MAKE_COLOR(COLOR_GREY, COLOR_GREY), RECT_BORDER0|DRAW_FILLED); //above sample DISP_TOP 304 modules/gui_palette.c for (y=DISP_TOP; y<DISP_BOTTOM; y+=CELL_SIZE) DISP_TOP 311 modules/gui_palette.c draw_string(xl+DISP_RIGHT+BORDER_SIZE, DISP_TOP+10, "<-- Canon", MAKE_COLOR(COLOR_GREY,COLOR_WHITE)); DISP_TOP 321 modules/gui_palette.c y = DISP_TOP + ((cl.col>>4)&0x0F) * CELL_SIZE; DISP_TOP 329 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);