x2 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) x2 149 core/console.c if (x1 > x2) { i = x1; x1 = x2; x2 = i; } x2 155 core/console.c if (x2 < 0) x2 = 0; x2 156 core/console.c if (x2 > MAX_CONSOLE_LINE_LENGTH) x2 = MAX_CONSOLE_LINE_LENGTH; x2 164 core/console.c console_line_length = x2 - x1; x2 699 core/gui_draw.c void draw_line(coord x1, coord y1, coord x2, coord y2, color cl) x2 701 core/gui_draw.c unsigned char steep = abs(y2 - y1) > abs(x2 - x1); x2 705 core/gui_draw.c swap(x2, y2); x2 707 core/gui_draw.c if (x1 > x2) x2 709 core/gui_draw.c swap(x1, x2); x2 712 core/gui_draw.c int deltax = x2 - x1; x2 718 core/gui_draw.c for (x=x1; x<=x2; ++x) x2 733 core/gui_draw.c void draw_line_x2(coord x1, coord y1, coord x2, coord y2, color cl) x2 735 core/gui_draw.c unsigned char steep = abs(y2 - y1) > abs(x2 - x1); x2 739 core/gui_draw.c swap(x2, y2); x2 741 core/gui_draw.c if (x1 > x2) x2 743 core/gui_draw.c swap(x1, x2); x2 746 core/gui_draw.c int deltax = x2 - x1; x2 752 core/gui_draw.c for (x=x1; x<=x2; x+=2) x2 809 core/gui_draw.c void draw_rectangle(coord x1, coord y1, coord x2, coord y2, twoColors cl, int flags) x2 812 core/gui_draw.c if (x1 > x2) x2 813 core/gui_draw.c swap(x1, x2); x2 818 core/gui_draw.c if ((x2 < 0) || (y2 < 0) || (x1 >= camera_screen.width) || (y1 >= camera_screen.height)) x2 831 core/gui_draw.c draw_vline(x2+i, y1+1, y2 - y1, COLOR_BLACK); x2 832 core/gui_draw.c draw_hline(x1+1, y2+i, x2 - x1 + thickness, COLOR_BLACK); x2 842 core/gui_draw.c draw_vline(x2, y1 + round * 2, y2 - y1 - round * 4 + 1, FG_COLOR(cl)); x2 843 core/gui_draw.c draw_hline(x1 + 1 + round, y1, x2 - x1 - round * 2 - 1, FG_COLOR(cl)); x2 844 core/gui_draw.c draw_hline(x1 + 1 + round, y2, x2 - x1 - round * 2 - 1, FG_COLOR(cl)); x2 846 core/gui_draw.c x1++; x2--; x2 858 core/gui_draw.c if (x2 >= camera_screen.width) x2 = camera_screen.width - 1; x2 863 core/gui_draw.c draw_hline(x1, y, x2 - x1 + 1, BG_COLOR(cl)); x2 1568 core/gui_draw.c int x1, y1, x2, y2; x2 1579 core/gui_draw.c x2 = cmds->x2<<1; x2 1584 core/gui_draw.c x2 = cmds->x2; x2 1595 core/gui_draw.c draw_hline(x+x1, y+y1, x2, cb); x2 1597 core/gui_draw.c draw_hline(x+x1, y+y1+1, x2, cb); x2 1608 core/gui_draw.c draw_line_x2(x+x1, y+y1, x+x2, y+y2, cb); x2 1610 core/gui_draw.c draw_line(x+x1, y+y1, x+x2, y+y2, cb); x2 1615 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2+1, y+y2+1, MAKE_COLOR(cb,cf), thickness); x2 1617 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2, y+y2, MAKE_COLOR(cb,cf), thickness); x2 1622 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2+1, y+y2+1, MAKE_COLOR(cb,cf), thickness|DRAW_FILLED); x2 1624 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2, y+y2, MAKE_COLOR(cb,cf), thickness|DRAW_FILLED); x2 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); x2 1631 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2, y+y2, MAKE_COLOR(cb,cf), thickness|RECT_ROUND_CORNERS); x2 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); x2 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); x2 115 core/gui_draw.h extern void draw_line(coord x1, coord y1, coord x2, coord y2, color cl); x2 120 core/gui_draw.h extern void draw_rectangle(coord x1, coord y1, coord x2, coord y2, twoColors cl, int flags); x2 166 core/gui_draw.h unsigned char x2, y2; x2 69 include/camera_info.h int y1, x1, y2, x2; x2 13 include/console.h extern void console_set_layout(int x1, int y1, int x2, int y2); x2 17 include/kbd_common.h short x1, y1, x2, y2; x2 1721 lib/ubasic/ubasic.c int x1,y1,x2,y2; x2 1725 lib/ubasic/ubasic.c x2 = expr(); x2 1727 lib/ubasic/ubasic.c console_set_layout(x1,y1,x2,y2); x2 533 modules/dng.c crop_size[0] = camera_sensor.active_area.x2 - camera_sensor.active_area.x1; x2 968 modules/dng.c for (x=camera_sensor.active_area.x1; x<camera_sensor.active_area.x2; x++) x2 1297 modules/luascript.c coord x2=luaL_checknumber(L,3); x2 1300 modules/luascript.c draw_line(x1,y1,x2,y2,cl); x2 1307 modules/luascript.c coord x2=luaL_checknumber(L,3); x2 1311 modules/luascript.c draw_rectangle(x1,y1,x2,y2,MAKE_COLOR(cl,cl),th); x2 1318 modules/luascript.c coord x2 =luaL_checknumber(L,3); x2 1323 modules/luascript.c draw_rectangle(x1,y1,x2,y2,MAKE_COLOR(clb,clf),th|DRAW_FILLED); x2 169 modules/rawhookops.c lua_pushnumber(L,camera_sensor.active_area.x2 - camera_sensor.active_area.x1); x2 45 modules/shot_histogram.c int width = camera_sensor.active_area.x2 - camera_sensor.active_area.x1; x2 50 modules/shot_histogram.c x1 = camera_sensor.active_area.x2 - ((shot_margin_right * width) / 10); x2 17 platform/ixus240_elph320hs/kbd.c short x1, y1, x2, y2; x2 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)) x2 462 platform/ixus240_elph320hs/kbd.c int i, x1, y1, x2, y2, ofst; x2 475 platform/ixus240_elph320hs/kbd.c x2 = keymap[i].x2; x2 483 platform/ixus240_elph320hs/kbd.c draw_rectangle(x1, y1, x2, y2, cl, RECT_BORDER3|DRAW_FILLED|RECT_ROUND_CORNERS); x2 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)) x2 227 platform/ixus310_elph500hs/kbd.c int i, x1, y1, x2, y2, sc, xo, yo; x2 238 platform/ixus310_elph500hs/kbd.c x2 = keymap[i].x2; x2 248 platform/ixus310_elph500hs/kbd.c draw_rectangle(x1, y1, x2, y2, cl, RECT_BORDER3|DRAW_FILLED|RECT_ROUND_CORNERS); x2 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)) x2 261 platform/n/kbd.c int i, x1, y1, x2, y2, ofst; x2 274 platform/n/kbd.c x2 = keymap[i].x2; x2 290 platform/n/kbd.c draw_rectangle(x1, y1, x2, y2, clr, RECT_BORDER1|DRAW_FILLED|RECT_ROUND_CORNERS); x2 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)) x2 261 platform/n_facebook/kbd.c int i, x1, y1, x2, y2, ofst; x2 274 platform/n_facebook/kbd.c x2 = keymap[i].x2; x2 290 platform/n_facebook/kbd.c draw_rectangle(x1, y1, x2, y2, clr, RECT_BORDER1|DRAW_FILLED|RECT_ROUND_CORNERS); x2 147 tools/ubasic_test/camera_functions.c void console_set_layout(int x1, int y1, int x2, int y2) { x2 148 tools/ubasic_test/camera_functions.c printf(">>> set console layout to %d %d %d %d\n", x1,y1,x2,y2);