y2 144 core/console.c void console_set_layout(int x1, int y1, int x2, int y2) //untere linke Ecke(x1,y1), obere reche Ecke(x2,y2) - lower left corner (x1,y1), upper right corner(x2,y2) y2 150 core/console.c if (y1 > y2) { i = y1; y1 = y2; y2 = i; } y2 160 core/console.c if (y2 < 0) y2 = 0; y2 161 core/console.c if (y2 > MAX_CONSOLE_LINES) y2 = MAX_CONSOLE_LINES; y2 165 core/console.c console_max_lines = y2 - y1; y2 172 core/console.c console_y = MAX_CONSOLE_LINES - y2; y2 344 core/gui_draw.c unsigned int y1, y2; y2 354 core/gui_draw.c y2 = px&2?4+1:0+1; y2 360 core/gui_draw.c y2 = px&1?4+1:0+1; y2 368 core/gui_draw.c yuv = (*(unsigned int*)(&yuvclr[y1]) & 0xffffff) + (yuvclr[y2]<<24); y2 699 core/gui_draw.c void draw_line(coord x1, coord y1, coord x2, coord y2, color cl) y2 701 core/gui_draw.c unsigned char steep = abs(y2 - y1) > abs(x2 - x1); y2 705 core/gui_draw.c swap(x2, y2); y2 710 core/gui_draw.c swap(y1, y2); y2 713 core/gui_draw.c int deltay = abs(y2 - y1); y2 716 core/gui_draw.c int ystep = (y1 < y2)?1:-1; y2 733 core/gui_draw.c void draw_line_x2(coord x1, coord y1, coord x2, coord y2, color cl) y2 735 core/gui_draw.c unsigned char steep = abs(y2 - y1) > abs(x2 - x1); y2 739 core/gui_draw.c swap(x2, y2); y2 744 core/gui_draw.c swap(y1, y2); y2 747 core/gui_draw.c int deltay = abs(y2 - y1); y2 750 core/gui_draw.c int ystep = (y1 < y2)?2:-2; y2 809 core/gui_draw.c void draw_rectangle(coord x1, coord y1, coord x2, coord y2, twoColors cl, int flags) y2 814 core/gui_draw.c if (y1 > y2) y2 815 core/gui_draw.c swap(y1, y2); y2 818 core/gui_draw.c if ((x2 < 0) || (y2 < 0) || (x1 >= camera_screen.width) || (y1 >= camera_screen.height)) y2 831 core/gui_draw.c draw_vline(x2+i, y1+1, y2 - y1, COLOR_BLACK); y2 832 core/gui_draw.c draw_hline(x1+1, y2+i, x2 - x1 + thickness, COLOR_BLACK); y2 841 core/gui_draw.c draw_vline(x1, y1 + round * 2, y2 - y1 - round * 4 + 1, FG_COLOR(cl)); y2 842 core/gui_draw.c draw_vline(x2, y1 + round * 2, y2 - y1 - round * 4 + 1, FG_COLOR(cl)); y2 844 core/gui_draw.c draw_hline(x1 + 1 + round, y2, x2 - x1 - round * 2 - 1, FG_COLOR(cl)); y2 847 core/gui_draw.c y1++; y2--; y2 859 core/gui_draw.c if (y2 >= camera_screen.height) y2 = camera_screen.height - 1; y2 862 core/gui_draw.c for (y = y1; y <= y2; ++y) y2 1568 core/gui_draw.c int x1, y1, x2, y2; y2 1580 core/gui_draw.c y2 = cmds->y2<<1; y2 1585 core/gui_draw.c y2 = cmds->y2; y2 1601 core/gui_draw.c draw_vline(x+x1, y+y1, y2, cb); y2 1603 core/gui_draw.c draw_vline(x+x1+1, y+y1, y2, cb); y2 1608 core/gui_draw.c draw_line_x2(x+x1, y+y1, x+x2, y+y2, cb); y2 1610 core/gui_draw.c draw_line(x+x1, y+y1, x+x2, y+y2, cb); y2 1615 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2+1, y+y2+1, MAKE_COLOR(cb,cf), thickness); y2 1617 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2, y+y2, MAKE_COLOR(cb,cf), thickness); y2 1622 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2+1, y+y2+1, MAKE_COLOR(cb,cf), thickness|DRAW_FILLED); y2 1624 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2, y+y2, MAKE_COLOR(cb,cf), thickness|DRAW_FILLED); y2 1629 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2+1, y+y2+1, MAKE_COLOR(cb,cf), thickness|RECT_ROUND_CORNERS); y2 1631 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2, y+y2, MAKE_COLOR(cb,cf), thickness|RECT_ROUND_CORNERS); y2 1636 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2+1, y+y2+1, MAKE_COLOR(cb,cf), thickness|DRAW_FILLED|RECT_ROUND_CORNERS); y2 1638 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2, y+y2, MAKE_COLOR(cb,cf), thickness|DRAW_FILLED|RECT_ROUND_CORNERS); y2 115 core/gui_draw.h extern void draw_line(coord x1, coord y1, coord x2, coord y2, color cl); y2 120 core/gui_draw.h extern void draw_rectangle(coord x1, coord y1, coord x2, coord y2, twoColors cl, int flags); y2 166 core/gui_draw.h unsigned char x2, y2; y2 69 include/camera_info.h int y1, x1, y2, x2; y2 13 include/console.h extern void console_set_layout(int x1, int y1, int x2, int y2); y2 17 include/kbd_common.h short x1, y1, x2, y2; y2 1721 lib/ubasic/ubasic.c int x1,y1,x2,y2; y2 1726 lib/ubasic/ubasic.c y2 = expr(); y2 1727 lib/ubasic/ubasic.c console_set_layout(x1,y1,x2,y2); y2 534 modules/dng.c crop_size[1] = camera_sensor.active_area.y2 - camera_sensor.active_area.y1; y2 971 modules/dng.c for (y=camera_sensor.active_area.y1; y<camera_sensor.active_area.y2; y++) y2 975 modules/dng.c for (ylen=1; ylen<8 && (y+ylen)<camera_sensor.active_area.y2; ylen++) y2 1298 modules/luascript.c coord y2=luaL_checknumber(L,4); y2 1300 modules/luascript.c draw_line(x1,y1,x2,y2,cl); y2 1308 modules/luascript.c coord y2=luaL_checknumber(L,4); y2 1311 modules/luascript.c draw_rectangle(x1,y1,x2,y2,MAKE_COLOR(cl,cl),th); y2 1319 modules/luascript.c coord y2 =luaL_checknumber(L,4); y2 1323 modules/luascript.c draw_rectangle(x1,y1,x2,y2,MAKE_COLOR(clb,clf),th|DRAW_FILLED); y2 178 modules/rawhookops.c lua_pushnumber(L,camera_sensor.active_area.y2 - camera_sensor.active_area.y1); y2 46 modules/shot_histogram.c int height = camera_sensor.active_area.y2 - camera_sensor.active_area.y1; y2 52 modules/shot_histogram.c y1 = camera_sensor.active_area.y2 - ((shot_margin_bottom * height) / 10); y2 17 platform/ixus240_elph320hs/kbd.c short x1, y1, x2, y2; y2 417 platform/ixus240_elph320hs/kbd.c if ((tx >= keymap[i].x1) && (tx < keymap[i].x2) && (ty >= keymap[i].y1) && (ty < keymap[i].y2) && is_button_active(i,guiMode,camMode)) y2 462 platform/ixus240_elph320hs/kbd.c int i, x1, y1, x2, y2, ofst; y2 477 platform/ixus240_elph320hs/kbd.c y2 = keymap[i].y2; y2 483 platform/ixus240_elph320hs/kbd.c draw_rectangle(x1, y1, x2, y2, cl, RECT_BORDER3|DRAW_FILLED|RECT_ROUND_CORNERS); y2 177 platform/ixus310_elph500hs/kbd.c if ((sx >= keymap[i].x1) && (sx < keymap[i].x2) && (sy >= keymap[i].y1) && (sy < keymap[i].y2) && is_button_active(i,camera_info.state.gui_mode,camMode)) y2 227 platform/ixus310_elph500hs/kbd.c int i, x1, y1, x2, y2, sc, xo, yo; y2 240 platform/ixus310_elph500hs/kbd.c y2 = keymap[i].y2; y2 248 platform/ixus310_elph500hs/kbd.c draw_rectangle(x1, y1, x2, y2, cl, RECT_BORDER3|DRAW_FILLED|RECT_ROUND_CORNERS); y2 189 platform/n/kbd.c if ((tx >= keymap[i].x1) && (tx < keymap[i].x2) && (ty >= keymap[i].y1) && (ty < keymap[i].y2) && is_button_active(i,guiMode,camMode)) y2 261 platform/n/kbd.c int i, x1, y1, x2, y2, ofst; y2 276 platform/n/kbd.c y2 = keymap[i].y2; y2 290 platform/n/kbd.c draw_rectangle(x1, y1, x2, y2, clr, RECT_BORDER1|DRAW_FILLED|RECT_ROUND_CORNERS); y2 189 platform/n_facebook/kbd.c if ((tx >= keymap[i].x1) && (tx < keymap[i].x2) && (ty >= keymap[i].y1) && (ty < keymap[i].y2) && is_button_active(i,guiMode,camMode)) y2 261 platform/n_facebook/kbd.c int i, x1, y1, x2, y2, ofst; y2 276 platform/n_facebook/kbd.c y2 = keymap[i].y2; y2 290 platform/n_facebook/kbd.c draw_rectangle(x1, y1, x2, y2, clr, RECT_BORDER1|DRAW_FILLED|RECT_ROUND_CORNERS); y2 147 tools/ubasic_test/camera_functions.c void console_set_layout(int x1, int y1, int x2, int y2) { y2 148 tools/ubasic_test/camera_functions.c printf(">>> set console layout to %d %d %d %d\n", x1,y1,x2,y2);