x1 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) x1 149 core/console.c if (x1 > x2) { i = x1; x1 = x2; x2 = i; } x1 153 core/console.c if (x1 < 0) x1 = 0; x1 154 core/console.c if (x1 > MAX_CONSOLE_LINE_LENGTH) x1 = MAX_CONSOLE_LINE_LENGTH; x1 164 core/console.c console_line_length = x2 - x1; x1 171 core/console.c console_x = x1; x1 61 core/gui_batt.c batt_icon[6].x1 = batt_icon[7].x1 = 29 - (25 * perc / 100); x1 699 core/gui_draw.c void draw_line(coord x1, coord y1, coord x2, coord y2, color cl) x1 701 core/gui_draw.c unsigned char steep = abs(y2 - y1) > abs(x2 - x1); x1 704 core/gui_draw.c swap(x1, y1); x1 707 core/gui_draw.c if (x1 > x2) x1 709 core/gui_draw.c swap(x1, x2); x1 712 core/gui_draw.c int deltax = x2 - x1; x1 718 core/gui_draw.c for (x=x1; x<=x2; ++x) x1 733 core/gui_draw.c void draw_line_x2(coord x1, coord y1, coord x2, coord y2, color cl) x1 735 core/gui_draw.c unsigned char steep = abs(y2 - y1) > abs(x2 - x1); x1 738 core/gui_draw.c swap(x1, y1); x1 741 core/gui_draw.c if (x1 > x2) x1 743 core/gui_draw.c swap(x1, x2); x1 746 core/gui_draw.c int deltax = x2 - x1; x1 752 core/gui_draw.c for (x=x1; x<=x2; x+=2) x1 809 core/gui_draw.c void draw_rectangle(coord x1, coord y1, coord x2, coord y2, twoColors cl, int flags) x1 812 core/gui_draw.c if (x1 > x2) x1 813 core/gui_draw.c swap(x1, x2); x1 818 core/gui_draw.c if ((x2 < 0) || (y2 < 0) || (x1 >= camera_screen.width) || (y1 >= camera_screen.height)) x1 832 core/gui_draw.c draw_hline(x1+1, y2+i, x2 - x1 + thickness, COLOR_BLACK); x1 841 core/gui_draw.c draw_vline(x1, y1 + round * 2, y2 - y1 - round * 4 + 1, FG_COLOR(cl)); x1 843 core/gui_draw.c draw_hline(x1 + 1 + round, y1, x2 - x1 - round * 2 - 1, FG_COLOR(cl)); x1 844 core/gui_draw.c draw_hline(x1 + 1 + round, y2, x2 - x1 - round * 2 - 1, FG_COLOR(cl)); x1 846 core/gui_draw.c x1++; x2--; x1 856 core/gui_draw.c if (x1 < 0) x1 = 0; x1 863 core/gui_draw.c draw_hline(x1, y, x2 - x1 + 1, BG_COLOR(cl)); x1 1568 core/gui_draw.c int x1, y1, x2, y2; x1 1577 core/gui_draw.c x1 = cmds->x1<<1; x1 1582 core/gui_draw.c x1 = cmds->x1; x1 1595 core/gui_draw.c draw_hline(x+x1, y+y1, x2, cb); x1 1597 core/gui_draw.c draw_hline(x+x1, y+y1+1, x2, cb); x1 1601 core/gui_draw.c draw_vline(x+x1, y+y1, y2, cb); x1 1603 core/gui_draw.c draw_vline(x+x1+1, y+y1, y2, cb); x1 1608 core/gui_draw.c draw_line_x2(x+x1, y+y1, x+x2, y+y2, cb); x1 1610 core/gui_draw.c draw_line(x+x1, y+y1, x+x2, y+y2, cb); x1 1615 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2+1, y+y2+1, MAKE_COLOR(cb,cf), thickness); x1 1617 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2, y+y2, MAKE_COLOR(cb,cf), thickness); x1 1622 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2+1, y+y2+1, MAKE_COLOR(cb,cf), thickness|DRAW_FILLED); x1 1624 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2, y+y2, MAKE_COLOR(cb,cf), thickness|DRAW_FILLED); x1 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); x1 1631 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2, y+y2, MAKE_COLOR(cb,cf), thickness|RECT_ROUND_CORNERS); x1 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); x1 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); x1 115 core/gui_draw.h extern void draw_line(coord x1, coord y1, coord x2, coord y2, color cl); x1 120 core/gui_draw.h extern void draw_rectangle(coord x1, coord y1, coord x2, coord y2, twoColors cl, int flags); x1 165 core/gui_draw.h unsigned char x1, y1; x1 127 core/gui_space.c space_icon[17].x1 = 27 - (17 * perc / 100); x1 69 include/camera_info.h int y1, x1, y2, x2; x1 13 include/console.h extern void console_set_layout(int x1, int y1, int x2, int y2); x1 17 include/kbd_common.h short x1, y1, x2, y2; x1 1721 lib/ubasic/ubasic.c int x1,y1,x2,y2; x1 1723 lib/ubasic/ubasic.c x1 = expr(); x1 1727 lib/ubasic/ubasic.c console_set_layout(x1,y1,x2,y2); x1 533 modules/dng.c crop_size[0] = camera_sensor.active_area.x2 - camera_sensor.active_area.x1; x1 705 modules/dng.c double x1 = x; x1 706 modules/dng.c if ( x_div != 1 ) { x1=x1/x_div;} x1 710 modules/dng.c return pow( x1, y ); x1 712 modules/dng.c return mult * pow( x1, y ); x1 907 modules/dng.c int x_end = camera_sensor.active_area.x1 + camera_sensor.jpeg.x + DNG_TH_WIDTH*x_inc; x1 923 modules/dng.c for (x_off=camera_sensor.active_area.x1 + camera_sensor.jpeg.x; x_off<x_end; x_off += x_inc) x1 968 modules/dng.c for (x=camera_sensor.active_area.x1; x<camera_sensor.active_area.x2; x++) x1 91 modules/games/gui_reversi.c int I, J, x1, y1; x1 101 modules/games/gui_reversi.c x1 = x + I; x1 103 modules/games/gui_reversi.c while (((x1>=0) && (x1<8) && (y1>=0) && (y1<8)) && (Field[x1][y1]!=FIELD_EMPTY) && (Field[x1][y1]!=Player)) { x1 105 modules/games/gui_reversi.c x1 = x1 + I; x1 108 modules/games/gui_reversi.c if ((Placed) && ((x1>=0) && (x1<8) && (y1>=0) && (y1<8)) && (Field[x1][y1]!=FIELD_EMPTY) && (E>0)) { x1 111 modules/games/gui_reversi.c x1 = x + I; x1 113 modules/games/gui_reversi.c while (((x1>=0) && (x1<8) && (y1>=0) && (y1<8)) && (Field[x1][y1]!=FIELD_EMPTY) && (Field[x1][y1]!=Player)) { x1 114 modules/games/gui_reversi.c Field[x1][y1] = Player; x1 115 modules/games/gui_reversi.c DrawCell(x1, y1); x1 116 modules/games/gui_reversi.c x1 = x1 + I; x1 120 modules/games/gui_reversi.c if (((x1>=0) && (x1<8) && (y1>=0) && (y1<8)) && (Field[x1][y1]!=FIELD_EMPTY)) x1 26 modules/gui_grid.c coord x0,y0,x1,y1; x1 162 modules/gui_grid.c gptr->x1=nums[2]; gptr->y1=nums[3]; x1 247 modules/gui_grid.c int x1 = ptr->x1; x1 252 modules/gui_grid.c x1 = ((x1 * xs + 8192) >> 14); x1 257 modules/gui_grid.c draw_line(x0, y0, x1+xo, y1+yo, col); x1 260 modules/gui_grid.c draw_rectangle(x0, y0, x1+xo, y1+yo, col, RECT_BORDER1); x1 263 modules/gui_grid.c draw_rectangle(x0, y0, x1+xo, y1+yo, col, RECT_BORDER1|DRAW_FILLED); x1 266 modules/gui_grid.c draw_ellipse(x0, y0, (unsigned int)x1, (unsigned int)y1, col, 0); x1 269 modules/gui_grid.c draw_ellipse(x0, y0, (unsigned int)x1, (unsigned int)y1, col, DRAW_FILLED); x1 1287 modules/luascript.c coord x1=luaL_checknumber(L,1); x1 1290 modules/luascript.c draw_pixel(x1,y1,cl); x1 1295 modules/luascript.c coord x1=luaL_checknumber(L,1); x1 1300 modules/luascript.c draw_line(x1,y1,x2,y2,cl); x1 1305 modules/luascript.c coord x1=luaL_checknumber(L,1); x1 1311 modules/luascript.c draw_rectangle(x1,y1,x2,y2,MAKE_COLOR(cl,cl),th); x1 1316 modules/luascript.c coord x1 =luaL_checknumber(L,1); x1 1323 modules/luascript.c draw_rectangle(x1,y1,x2,y2,MAKE_COLOR(clb,clf),th|DRAW_FILLED); x1 1328 modules/luascript.c coord x1=luaL_checknumber(L,1); x1 1333 modules/luascript.c draw_ellipse(x1,y1,a,b,cl,0); x1 1338 modules/luascript.c coord x1=luaL_checknumber(L,1); x1 1343 modules/luascript.c draw_ellipse(x1,y1,a,b,cl,DRAW_FILLED); x1 1349 modules/luascript.c coord x1 = luaL_checknumber(L,1); x1 1358 modules/luascript.c draw_string(x1, y1, t, MAKE_COLOR(clb,clf)); x1 1360 modules/luascript.c draw_string_scaled(x1, y1, t, MAKE_COLOR(clb,clf), xsize, ysize); x1 151 modules/rawhookops.c lua_pushnumber(L,camera_sensor.active_area.x1); x1 169 modules/rawhookops.c lua_pushnumber(L,camera_sensor.active_area.x2 - camera_sensor.active_area.x1); x1 203 modules/rawhookops.c lua_pushnumber(L,camera_sensor.active_area.x1 + camera_sensor.jpeg.x); x1 408 modules/rawhookops.c unsigned x1=luaL_checknumber(L,1); x1 420 modules/rawhookops.c unsigned x_max = x1 + x_step * x_count; x1 437 modules/rawhookops.c for(x = x1; x < x_max; x += x_step) { x1 39 modules/shot_histogram.c int x, y, x0, x1, y0, y1; x1 45 modules/shot_histogram.c int width = camera_sensor.active_area.x2 - camera_sensor.active_area.x1; x1 49 modules/shot_histogram.c x0 = camera_sensor.active_area.x1 + ((shot_margin_left * width) / 10); x1 50 modules/shot_histogram.c x1 = camera_sensor.active_area.x2 - ((shot_margin_right * width) / 10); x1 58 modules/shot_histogram.c for (x = x0; x < x1; x += SHOT_HISTOGRAM_STEP) x1 69 modules/shot_histogram.c for (x = x0; x < x1; x += SHOT_HISTOGRAM_STEP ) x1 17 platform/ixus240_elph320hs/kbd.c short x1, y1, x2, y2; x1 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)) x1 462 platform/ixus240_elph320hs/kbd.c int i, x1, y1, x2, y2, ofst; x1 474 platform/ixus240_elph320hs/kbd.c x1 = keymap[i].x1; x1 483 platform/ixus240_elph320hs/kbd.c draw_rectangle(x1, y1, x2, y2, cl, RECT_BORDER3|DRAW_FILLED|RECT_ROUND_CORNERS); x1 491 platform/ixus240_elph320hs/kbd.c draw_string(x1+4, y1+ofst, "UD!", cl); x1 500 platform/ixus240_elph320hs/kbd.c draw_string(x1+4, y1+25, buf, cl); x1 505 platform/ixus240_elph320hs/kbd.c draw_string(x1+4, y1+25, keymap[i].nm2, cl); x1 507 platform/ixus240_elph320hs/kbd.c draw_string(x1+4, y1+ofst, keymap[i].nm, cl); x1 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)) x1 227 platform/ixus310_elph500hs/kbd.c int i, x1, y1, x2, y2, sc, xo, yo; x1 237 platform/ixus310_elph500hs/kbd.c x1 = keymap[i].x1; x1 248 platform/ixus310_elph500hs/kbd.c draw_rectangle(x1, y1, x2, y2, cl, RECT_BORDER3|DRAW_FILLED|RECT_ROUND_CORNERS); x1 256 platform/ixus310_elph500hs/kbd.c draw_string(x1+xo, y1+yo+18, buf, cl); x1 262 platform/ixus310_elph500hs/kbd.c draw_string(x1+xo, y1+yo+18, keymap[i].nm2, cl); x1 265 platform/ixus310_elph500hs/kbd.c draw_string_scaled(x1+xo, y1+yo, keymap[i].nm, cl, sc, sc); x1 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)) x1 261 platform/n/kbd.c int i, x1, y1, x2, y2, ofst; x1 273 platform/n/kbd.c x1 = keymap[i].x1; x1 285 platform/n/kbd.c if ((x1 >180) || (*keymap[i].conf_val)) clr=c2; x1 290 platform/n/kbd.c draw_rectangle(x1, y1, x2, y2, clr, RECT_BORDER1|DRAW_FILLED|RECT_ROUND_CORNERS); x1 294 platform/n/kbd.c rbf_draw_symbol(x1+12, y1+15, 0x53, clr); x1 298 platform/n/kbd.c rbf_draw_symbol(x1+12, y1+15, 0x52, clr); x1 302 platform/n/kbd.c rbf_draw_symbol(x1+12, y1+15, 0x51, clr); x1 306 platform/n/kbd.c rbf_draw_symbol(x1+12, y1+15, 0x54, clr); x1 315 platform/n/kbd.c draw_string(x1+4, y1+25, buf, c3); x1 320 platform/n/kbd.c draw_string(x1+4, y1+25, keymap[i].nm2, clr); x1 322 platform/n/kbd.c draw_string(x1+4, y1+ofst, keymap[i].nm, clr); x1 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)) x1 261 platform/n_facebook/kbd.c int i, x1, y1, x2, y2, ofst; x1 273 platform/n_facebook/kbd.c x1 = keymap[i].x1; x1 285 platform/n_facebook/kbd.c if ((x1 >180) || (*keymap[i].conf_val)) clr=c2; x1 290 platform/n_facebook/kbd.c draw_rectangle(x1, y1, x2, y2, clr, RECT_BORDER1|DRAW_FILLED|RECT_ROUND_CORNERS); x1 294 platform/n_facebook/kbd.c rbf_draw_symbol(x1+12, y1+15, 0x53, clr); x1 298 platform/n_facebook/kbd.c rbf_draw_symbol(x1+12, y1+15, 0x52, clr); x1 302 platform/n_facebook/kbd.c rbf_draw_symbol(x1+12, y1+15, 0x51, clr); x1 306 platform/n_facebook/kbd.c rbf_draw_symbol(x1+12, y1+15, 0x54, clr); x1 315 platform/n_facebook/kbd.c draw_string(x1+4, y1+25, buf, c3); x1 320 platform/n_facebook/kbd.c draw_string(x1+4, y1+25, keymap[i].nm2, clr); x1 322 platform/n_facebook/kbd.c draw_string(x1+4, y1+ofst, keymap[i].nm, clr); x1 147 tools/ubasic_test/camera_functions.c void console_set_layout(int x1, int y1, int x2, int y2) { x1 148 tools/ubasic_test/camera_functions.c printf(">>> set console layout to %d %d %d %d\n", x1,y1,x2,y2);