/dports/devel/allegro/allegro-4.4.3.1/demos/skater/source/ |
H A D | menugfx.c | 85 switch (screen_height) { in init() 158 int old_screen_height = screen_height; in apply() 184 screen_height = 480; in apply() 187 screen_height = 600; in apply() 190 screen_height = 768; in apply() 193 screen_height = 960; in apply() 196 screen_height = 1200; in apply() 200 screen_width = (screen_height == 600) ? 896 : (screen_height * 3) / 2; in apply() 202 screen_width = (screen_height * 4) / 3; in apply() 220 screen_height == old_screen_height && in apply() [all …]
|
/dports/comms/linrad/linrad-04.02/ |
H A D | tune.c | 311 k=screen_height-k; in tune() 313 if(k>screen_height-9)k=screen_height-9; in tune() 318 k=screen_height-k; in tune() 320 if(k>screen_height-9)k=screen_height-9; in tune() 345 k=screen_height-k; in tune() 347 if(k>screen_height-9)k=screen_height-9; in tune() 352 k=screen_height-k; in tune() 354 if(k>screen_height-9)k=screen_height-9; in tune() 379 k=screen_height-k; in tune() 381 if(k>screen_height-9)k=screen_height-9; in tune() [all …]
|
/dports/games/ponscripter-07th-mod/ponscripter-fork-3.0.0/src/ |
H A D | PonscripterLabel_effect.cpp | 71 dirty_rect.fill( screen_width, screen_height ); in setEffect() 154 src_rect.h = screen_height; in doEffect() 166 src_rect.h = screen_height; in doEffect() 204 src_rect.h = screen_height; in doEffect() 221 src_rect.h = screen_height; in doEffect() 301 src_rect.h = dst_rect.h = screen_height; in doEffect() 308 src_rect.h = dst_rect.h = screen_height; in doEffect() 318 src_rect.h = dst_rect.h = screen_height; in doEffect() 325 src_rect.h = dst_rect.h = screen_height; in doEffect() 339 src_rect.y = screen_height - width - 1; in doEffect() [all …]
|
H A D | PonscripterLabel_effect_cascade.cpp | 43 SDL_Rect src_rect={0, 0, screen_width, screen_height}; in effectCascade() 44 SDL_Rect dst_rect={0, 0, screen_width, screen_height}; in effectCascade() 80 src_rect.h = dst_rect.h = screen_height; in effectCascade() 129 width = screen_height * effect_counter / duration; in effectCascade() 131 width = screen_height - width; in effectCascade() 145 start = screen_height - width; in effectCascade() 146 end = screen_height; in effectCascade() 159 end = screen_height; in effectCascade() 164 end = screen_height - width; in effectCascade() 175 src_rect.y = screen_height - width; in effectCascade()
|
H A D | PonscripterLabel_effect_trig.cpp | 68 int y_offset = -screen_height / 2; in effectTrvswave() 80 for (int i=0; i<screen_height; i++) { in effectTrvswave() 97 #define CENTER_Y (screen_height/2) 103 whirl_table = new int[screen_height * screen_width]; in buildWhirlTable() 106 for ( int i=0 ; i<screen_height ; ++i ){ in buildWhirlTable() 143 for ( int i=0 ; i<screen_height ; ++i ){ in effectWhirl() 172 if (ii >= screen_height) ii = screen_height-1; in effectWhirl()
|
/dports/x11-toolkits/p5-Prima/Prima-1.63/unix/ |
H A D | cocoa.c | 21 static int screen_height = -1; in get_screen_height() local 25 if ( screen_height >= 0 ) return screen_height; in get_screen_height() 32 screen_height = extents.size.height + .5; in get_screen_height() 34 screen_height = 0; in get_screen_height() 36 return screen_height; in get_screen_height() 48 int screen_height; in prima_cocoa_application_get_bitmap() local 51 screen_height = get_screen_height(); in prima_cocoa_application_get_bitmap() 52 if ( screen_height > 0 ) y += screen_height - yMax; in prima_cocoa_application_get_bitmap()
|
/dports/graphics/libvisual04-plugins/libvisual-plugins-0.4.0/plugins/actor/oinksie/ |
H A D | screen.c | 41 priv->screen_height = height; in _oink_screen_size_set() 43 priv->screen_size = priv->screen_width * priv->screen_height; in _oink_screen_size_set() 46 priv->screen_halfheight = priv->screen_height / 2; in _oink_screen_size_set() 48 …->screen_xybiggest = priv->screen_width > priv->screen_height ? priv->screen_width : priv->screen_… in _oink_screen_size_set() 49 …>screen_xysmallest = priv->screen_width < priv->screen_height ? priv->screen_width : priv->screen_… in _oink_screen_size_set()
|
H A D | scene.c | 55 …_oink_gfx_scope_stereo (priv, buf, 235, 235 - (priv->audio.bass * 2), priv->screen_height / 6, pri… in _oink_scene_scope_special() 62 …_oink_gfx_scope_stereo (priv, buf, 235, 235 - (priv->audio.bass * 2), priv->screen_height / 6, pri… in _oink_scene_scope_special() 76 priv->scene.ball_ystart = priv->screen_height; in _oink_scene_background_special() 189 priv->screen_height - (priv->screen_height / 4), 0, priv->audio.energy); in _oink_scene_background_select() 197 priv->screen_height - (priv->screen_height / 4), 0, priv->audio.energy); in _oink_scene_background_select() 245 _oink_gfx_analyzer_stereo (priv, priv->drawbuf, color, priv->screen_height - 20); in _oink_scene_scope_select() 254 _oink_gfx_scope_circle (priv, buf, 250, MIN (priv->screen_width, priv->screen_height) / 4, in _oink_scene_scope_select() 261 priv->screen_height / 6, priv->screen_halfheight + (priv->screen_halfheight / 2), in _oink_scene_scope_select() 320 _oink_scene_scope_select (priv, priv->drawbuf, 245, priv->screen_height / 4); in _oink_scene_render() 324 _oink_scene_scope_select (priv, priv->drawbuf, priv->audio.bass * 21, priv->screen_height / 4); in _oink_scene_render() [all …]
|
/dports/cad/lepton-eda/lepton-eda-1.9.17/libleptongui/src/ |
H A D | gschem_page_geometry.c | 82 return geometry->screen_height; in gschem_page_geometry_get_screen_height() 315 fval = geometry->screen_height - value; in gschem_page_geometry_mil_y() 336 int screen_height, in gschem_page_geometry_new_with_values() argument 349 double val2 = fabs ((double)(viewport_top - viewport_bottom) / screen_height); in gschem_page_geometry_new_with_values() 355 screen_height, in gschem_page_geometry_new_with_values() 549 geometry->screen_height = screen_height; in gschem_page_geometry_set_screen_height() 585 int screen_height, in gschem_page_geometry_set_values() argument 593 g_return_if_fail (screen_height > 0); in gschem_page_geometry_set_values() 598 geometry->screen_height = screen_height; in gschem_page_geometry_set_values() 624 geometry->viewport_bottom = y - (int) (geometry->screen_height * scale / 2); in gschem_page_geometry_set_viewport() [all …]
|
/dports/games/fillets-ng/fillets-ng-1.0.1/src/gengine/ |
H A D | VideoAgent.cpp | 99 int screen_height = options->getAsInt("screen_height", 480); in initVideoMode() local 104 || m_screen->h != screen_height) in initVideoMode() 106 changeVideoMode(screen_width, screen_height); in initVideoMode() 115 VideoAgent::changeVideoMode(int screen_width, int screen_height) in changeVideoMode() argument 127 SDL_SetVideoMode(screen_width, screen_height, screen_bpp, videoFlags); in changeVideoMode() 131 .addInfo("height", screen_height) in changeVideoMode() 135 newScreen = SDL_SetVideoMode(screen_width, screen_height, screen_bpp, in changeVideoMode() 142 SDL_WarpMouse(screen_width / 2, screen_height / 2); in changeVideoMode() 143 SDL_WarpMouse(screen_width / 2, screen_height / 2); in changeVideoMode() 148 .addInfo("height", screen_height) in changeVideoMode()
|
/dports/x11-toolkits/gnustep-back/libs-back-back-0_28_0/Headers/win32/ |
H A D | WIN32Geometry.h | 107 int screen_height = GetSystemMetrics(SM_CYSCREEN); in MSWindowOriginToGS() local 113 p1.y = screen_height - y - h; in MSWindowOriginToGS() 123 int screen_height = GetSystemMetrics(SM_CYSCREEN); in GSWindowOriginToMS() local 129 p1.y = screen_height - p.y - h; in GSWindowOriginToMS() 137 int screen_height = GetSystemMetrics(SM_CYSCREEN); in MSScreenPointToGS() local 140 p1.y = screen_height - y; in MSScreenPointToGS() 148 int screen_height = GetSystemMetrics(SM_CYSCREEN); in MSScreenRectToGS() local 151 r1.origin.y = screen_height - r.bottom; in MSScreenRectToGS() 162 int screen_height = GetSystemMetrics(SM_CYSCREEN); in GSScreenPointToMS() local 165 p1.y = screen_height - p.y; in GSScreenPointToMS() [all …]
|
/dports/games/onscripter/onscripter-20200722/ |
H A D | ONScripter_effect.cpp | 33 dirty_rect.fill( screen_width, screen_height ); in updateEffect() 159 src_rect.h = screen_height; in doEffect() 170 src_rect.h = screen_height; in doEffect() 205 src_rect.h = screen_height; in doEffect() 220 src_rect.h = screen_height; in doEffect() 268 src_rect.h = dst_rect.h = screen_height; in doEffect() 275 src_rect.h = dst_rect.h = screen_height; in doEffect() 285 src_rect.h = dst_rect.h = screen_height; in doEffect() 306 src_rect.y = screen_height - width - 1; in doEffect() 324 dst_rect.y = screen_height - width - 1; in doEffect() [all …]
|
H A D | DirtyRect.cpp | 28 screen_width = screen_height = 0; in DirtyRect() 35 screen_height = d.screen_height; in DirtyRect() 42 screen_height = d.screen_height; in operator =() 55 screen_height = h; in setDimension() 78 if (src.y >= screen_height) return; in add() 79 if (src.y+src.h >= screen_height) in add() 80 src.h = screen_height-src.y; in add()
|
H A D | ONScripter_effect_cascade.cpp | 85 src_rect.h = dst_rect.h = screen_height; in effectCascade() 131 width = screen_height * effect_counter / duration; in effectCascade() 133 width = screen_height - width; in effectCascade() 147 start = screen_height - width; in effectCascade() 148 end = screen_height; in effectCascade() 161 end = screen_height; in effectCascade() 165 end = screen_height - width; in effectCascade() 176 src_rect.y = screen_height - width; in effectCascade()
|
/dports/games/onscripter-1byte/onscripter-20200722/ |
H A D | ONScripter_effect.cpp | 33 dirty_rect.fill( screen_width, screen_height ); in updateEffect() 159 src_rect.h = screen_height; in doEffect() 170 src_rect.h = screen_height; in doEffect() 205 src_rect.h = screen_height; in doEffect() 220 src_rect.h = screen_height; in doEffect() 268 src_rect.h = dst_rect.h = screen_height; in doEffect() 275 src_rect.h = dst_rect.h = screen_height; in doEffect() 285 src_rect.h = dst_rect.h = screen_height; in doEffect() 306 src_rect.y = screen_height - width - 1; in doEffect() 324 dst_rect.y = screen_height - width - 1; in doEffect() [all …]
|
H A D | DirtyRect.cpp | 28 screen_width = screen_height = 0; in DirtyRect() 35 screen_height = d.screen_height; in DirtyRect() 42 screen_height = d.screen_height; in operator =() 55 screen_height = h; in setDimension() 78 if (src.y >= screen_height) return; in add() 79 if (src.y+src.h >= screen_height) in add() 80 src.h = screen_height-src.y; in add()
|
H A D | ONScripter_effect_cascade.cpp | 85 src_rect.h = dst_rect.h = screen_height; in effectCascade() 131 width = screen_height * effect_counter / duration; in effectCascade() 133 width = screen_height - width; in effectCascade() 147 start = screen_height - width; in effectCascade() 148 end = screen_height; in effectCascade() 161 end = screen_height; in effectCascade() 165 end = screen_height - width; in effectCascade() 176 src_rect.y = screen_height - width; in effectCascade()
|
/dports/games/chroma/chroma-1.20/ |
H A D | sdlscreen.c | 36 int screen_height; variable 96 screen_height = height; in screen_size() 118 drect.h = screen_height; in screen_clear() 125 void screen_resize(int screen_width, int screen_height, int screen_fullscreen) in screen_resize() argument 127 screen_size(screen_width, screen_height, screen_fullscreen); in screen_resize() 135 screen_height = ((SDL_ResizeEvent *)event)->h; in screen_resizeevent() 137 screen_resize(screen_width, screen_height, screen_fullscreen); in screen_resizeevent() 153 if(drect.y >= screen_height) in screen_redraw() 159 if(drect.y + drect.h > screen_height) in screen_redraw() 160 drect.h = screen_height - drect.y; in screen_redraw()
|
/dports/biology/garlic/garlic-1.6/ |
H A D | draw_venn.c | 223 screen_height = (unsigned int) d; in DrawVenn_() 229 screen_width, screen_height); in DrawVenn_() 255 screen_height = (unsigned int) d; in DrawVenn_() 288 screen_height = (unsigned int) d; in DrawVenn_() 323 screen_height = (unsigned int) d; in DrawVenn_() 329 screen_width, screen_height); in DrawVenn_() 357 screen_width, screen_height); in DrawVenn_() 385 screen_width, screen_height); in DrawVenn_() 413 screen_width, screen_height); in DrawVenn_() 443 screen_width, screen_height); in DrawVenn_() [all …]
|
/dports/astro/foxtrotgps/foxtrotgps-1.2.2/src/ |
H A D | main.c | 142 int screen_height, screen_width; in main() local 145 screen_height = gdk_screen_get_height(gdk_screen_get_default()); in main() 148 if (screen_height > screen_width) in main() 160 if(screen_height < 640 && screen_height > screen_width) in main() 164 screen_height-30); in main() 166 else if(screen_height < 640 && screen_width <= 1024 && screen_height < screen_width) in main() 170 screen_height-60); in main()
|
/dports/emulators/vice/vice-3.5/src/plus4/ |
H A D | tedtypes.h | 129 … >= 114 ? (ted.ted_raster_counter == ted.screen_height - 1 \ 130 … ? 1 - ted.screen_height : 1) : 0)) & 0x1ff)) 140 #define TED_PREVIOUS_LINE(line) (((line) > 0) ? (line) - 1 : ted.screen_height - 1) 142 #define TED_NEXT_LINE(line) (((line) + 1) % ted.screen_height) 145 #define TED_LINE_RTOU(line) ((line + ted.screen_height - ted.offset) % ted.screen_height) 146 #define TED_LINE_UTOR(line) ((line + ted.screen_height + ted.offset) % ted.screen_height) 302 unsigned int screen_height; member
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/plus4/ |
H A D | tedtypes.h | 129 … >= 114 ? (ted.ted_raster_counter == ted.screen_height - 1 \ 130 … ? 1 - ted.screen_height : 1) : 0)) & 0x1ff)) 140 #define TED_PREVIOUS_LINE(line) (((line) > 0) ? (line) - 1 : ted.screen_height - 1) 142 #define TED_NEXT_LINE(line) (((line) + 1) % ted.screen_height) 145 #define TED_LINE_RTOU(line) ((line + ted.screen_height - ted.offset) % ted.screen_height) 146 #define TED_LINE_UTOR(line) ((line + ted.screen_height + ted.offset) % ted.screen_height) 302 unsigned int screen_height; member
|
/dports/games/glmaze/glmaze/ |
H A D | controls.c | 143 y = (screen_height - CELL_HEIGHT*i)/2; in draw_menu() 151 glVertex2d( x-CELL_WIDTH, screen_height-y+CELL_HEIGHT/2); in draw_menu() 168 screen_height-1-y-CELL_HEIGHT, str); in draw_menu() 175 screen_height-1-y-2*CELL_HEIGHT, str); in draw_menu() 185 if(j==2) glPrint(x,screen_height-1-y-CELL_HEIGHT,menu[j], in draw_menu() 189 else if(j==3) glPrint(x,screen_height-1-y-CELL_HEIGHT,menu[j], in draw_menu() 191 else if(j==4) glPrint(x,screen_height-1-y-CELL_HEIGHT,menu[j], in draw_menu() 200 int i, x=16, y = screen_height-16; in draw_2d_status() 311 glOrtho( 0, screen_width-1, 0, screen_height-1, -1, 1 ); in DoControl() 321 y = screen_height*2/3; in DoControl() [all …]
|
/dports/net/mpich2/mpich2-1.5/src/pm/hydra/tools/topo/hwloc/hwloc/utils/ |
H A D | lstopo-cairo.c | 156 int screen_width = width, screen_height = height; in x11_start() local 171 if (screen_height >= screen->height) in x11_start() 172 screen_height = screen->height; in x11_start() 174 disp->screen_height = screen_height; in x11_start() 213 if (disp->height <= disp->screen_height) { in move_x11() 233 if (disp->screen_height > disp->height) { in move_x11() 286 disp->screen_height = e.xconfigure.height; in output_x11() 323 disp->y -= disp->screen_height/10; in output_x11() 327 disp->y += disp->screen_height/10; in output_x11() 335 disp->y -= disp->screen_height; in output_x11() [all …]
|
/dports/science/afni/afni-AFNI_21.3.16/src/gifsicledir/ |
H A D | gifdiff.c | 33 static int screen_width, screen_height; variable 88 Gif_ClipImage(gfi, 0, 0, screen_width, screen_height); in apply_image() 192 || s1->screen_height != s2->screen_height) in compare() 194 s1->screen_height, s2->screen_width, s2->screen_height); in compare() 203 screen_height = s1->screen_height; in compare() 205 data1 = Gif_NewArray(u_int16_t, screen_width * screen_height); in compare() 206 data2 = Gif_NewArray(u_int16_t, screen_width * screen_height); in compare() 207 last1 = Gif_NewArray(u_int16_t, screen_width * screen_height); in compare() 208 last2 = Gif_NewArray(u_int16_t, screen_width * screen_height); in compare() 232 fill_area(data1, 0, 0, screen_width, screen_height, background1); in compare() [all …]
|