/dports/games/atr3d/atr3d/ |
H A D | menu.cpp | 181 DrawRect(pos+17, ScreenHeight/2-2, pos+17, ScreenHeight/2+20, in TextEntry() 182 pos+300, ScreenHeight/2+20, pos+300, ScreenHeight/2-2, &DarkGray); in TextEntry() 184 DrawRect(pos+2, ScreenHeight/2, pos+2, ScreenHeight/2+15, in TextEntry() 185 pos+8, ScreenHeight/2+15, pos+8, ScreenHeight/2, &White); in TextEntry() 199 DrawRect(pos+17, ScreenHeight/2-2, pos+17, ScreenHeight/2+20, in ScoreEntry() 200 pos+300, ScreenHeight/2+20, pos+300, ScreenHeight/2-2, &DarkGray); in ScoreEntry() 202 DrawRect(pos+2, ScreenHeight/2, pos+2, ScreenHeight/2+15, in ScoreEntry() 203 pos+8, ScreenHeight/2+15, pos+8, ScreenHeight/2, &White); in ScoreEntry() 218 DrawRect(pos+17, ScreenHeight/2-2, pos+17, ScreenHeight/2+20, in IntTextEntry() 223 DrawRect(pos+2, ScreenHeight/2, pos+2, ScreenHeight/2+15, in IntTextEntry() [all …]
|
H A D | radar.cpp | 19 DrawText(ScreenWidth/2-12, ScreenHeight/3, (char *)"Radar", &Green); in DrawRadar() 20 DrawCircle(ScreenWidth/2, ScreenHeight/6, &Green, 64, 0.27, 0); in DrawRadar() 38 DrawCircle(ScreenWidth/2, ScreenHeight/6, &Green, 64, 0.18, 3); in DrawRadar() 39 DrawCircle(ScreenWidth/2, ScreenHeight/6, &Green, 64, 0.09, -1); in DrawRadar() 40 DrawLine(ScreenWidth/2, ScreenHeight/6+5, ScreenWidth/2, ScreenHeight/6-5, &DarkRed); in DrawRadar() 41 DrawLine(ScreenWidth/2+5, ScreenHeight/6, ScreenWidth/2-5, ScreenHeight/6, &DarkRed); in DrawRadar() 63 ypoint=(int)(((newPosition.y/Distance)*0.26+0.333)*(float)(ScreenHeight/2)); in DrawRadarPoint()
|
H A D | status.cpp | 33 DrawText(10, ScreenHeight-20, text, &Green); in DrawStatus() 37 DrawText(10, ScreenHeight-35, text, &Green); in DrawStatus() 40 DrawText(ScreenWidth-100, ScreenHeight-20, text, &Green); in DrawStatus() 42 DrawText(ScreenWidth-100, ScreenHeight-35, text, &Green); in DrawStatus() 64 DrawText(ScreenWidth/2-7, ScreenHeight-20*n-80, text, textcolor); in DrawStatus() 70 DrawText(ScreenWidth/2-7, ScreenHeight-40, text, &Blue); in DrawStatus() 98 DrawText(ScreenWidth/2-7, ScreenHeight/2+20, text, &Blue); in DrawStatus() 108 DrawText(ScreenWidth/2-7, ScreenHeight/2, text, &Blue); in DrawStatus() 110 DrawText(ScreenWidth/2-7, ScreenHeight/2-20, text, &Blue); in DrawStatus()
|
H A D | config.cpp | 6 int ScreenWidth, ScreenHeight; variable 42 ScreenHeight=480; in SetDefaults() 62 ScreenHeight=temp; in AssignValue() 131 fprintf(ConfigFile, "SCREEN_HEIGHT=%d\n", ScreenHeight); in SaveConfig()
|
/dports/games/vavoom/vavoom-1.33/source/ |
H A D | screen.cpp | 52 int ScreenHeight = 0; variable 238 WritePCX(filename, data, ScreenWidth, ScreenHeight, bpp, bot2top); in COMMAND() 368 if (!Drawer->SetResolution(ScreenWidth, ScreenHeight, ScreenBPP, in ChangeResolution() 382 GCon->Logf("%dx%dx%d.", ScreenWidth, ScreenHeight, ScreenBPP); in ChangeResolution() 385 screen_height = ScreenHeight; in ChangeResolution() 391 fScaleY = (float)ScreenHeight / (float)VirtualHeight; in ChangeResolution() 393 fScaleYI = (float)VirtualHeight / (float)ScreenHeight; in ChangeResolution() 429 screen_height != ScreenHeight || screen_bpp != ScreenBPP) in CheckResolutionChange() 482 setheight = ScreenHeight; in COMMAND() 625 fScaleY = (float)ScreenHeight / (float)VirtualHeight; in SCR_SetVirtualScreen() [all …]
|
/dports/editors/wordgrinder/wordgrinder-0.6/src/lua/ |
H A D | redraw.lua | 30 ScreenWidth, ScreenHeight = wg.getscreensize() 65 local y = ScreenHeight - 1 77 ClearArea(0, ScreenHeight-1, ScreenWidth-1, ScreenHeight-1) 78 LAlignInField(0, ScreenHeight-1, ScreenWidth, table.concat(s, "")) 93 RAlignInField(0, ScreenHeight-1, ScreenWidth, s) 142 if (y <= ScreenHeight) then 153 local cy = int(ScreenHeight / 2) 232 while (y < ScreenHeight) do 262 if (y > ScreenHeight) then 278 if (y <= ScreenHeight) and WantTerminators() then
|
/dports/science/gabedit/GabeditSrc251_300720/src/Common/ |
H A D | Gabedit.c | 88 gtk_widget_set_size_request (GTK_WIDGET(Fenetre), 2*ScreenWidth/5, 2*ScreenHeight/5); in main() 90 gtk_window_set_default_size (GTK_WINDOW(Fenetre), ScreenWidth, ScreenHeight-65); in main() 93 gtk_window_set_default_size (GTK_WINDOW(Fenetre), ScreenWidth, ScreenHeight-80); in main() 95 gtk_widget_set_size_request (GTK_WIDGET(Fenetre), 2*ScreenWidth/5, 2*ScreenHeight/5); in main() 96 gtk_window_set_default_size (GTK_WINDOW(Fenetre), 2*ScreenWidth/5, 2*ScreenHeight/5); in main()
|
/dports/games/uqm/uqm-0.8.0/src/libs/graphics/sdl/ |
H A D | sdl2_pure.c | 166 SDL_RenderSetLogicalSize (renderer, ScreenWidth, ScreenHeight); in TFB_Pure_ConfigureVideo() 173 if (0 != ReInit_Screen (&SDL_Screens[i], ScreenWidth, ScreenHeight)) in TFB_Pure_ConfigureVideo() 221 ScreenWidth * 2, ScreenHeight * 2)) in TFB_Pure_ConfigureVideo() 230 …enderer, SDL_PIXELFORMAT_RGBX8888, SDL_TEXTUREACCESS_STREAMING, ScreenWidth * 2, ScreenHeight * 2); in TFB_Pure_ConfigureVideo() 252 …xture (renderer, SDL_PIXELFORMAT_RGBX8888, SDL_TEXTUREACCESS_STREAMING, ScreenWidth, ScreenHeight); in TFB_Pure_ConfigureVideo() 276 ScreenHeight = 240; in TFB_Pure_InitGraphics() 309 SDL2_Screens[TFB_SCREEN_TRANSITION].updated.h = ScreenHeight; in TFB_SDL2_UploadTransitionScreen() 350 SDL_RenderSetLogicalSize (renderer, ScreenWidth * 2, ScreenHeight * 2); in TFB_SDL2_ScanLines() 351 for (y = 0; y < ScreenHeight * 2; y += 2) in TFB_SDL2_ScanLines() 355 SDL_RenderSetLogicalSize (renderer, ScreenWidth, ScreenHeight); in TFB_SDL2_ScanLines() [all …]
|
H A D | opengl.c | 176 ScreenWidth, ScreenHeight)) in TFB_GL_ConfigureVideo() 205 ScreenWidth * 2, ScreenHeight * 2)) in TFB_GL_ConfigureVideo() 268 ScreenHeight = 240; in TFB_GL_InitGraphics() 299 GL_Screens[TFB_SCREEN_TRANSITION].updated.h = ScreenHeight; in TFB_GL_UploadTransitionScreen() 356 sy_multiplier = height / (float)ScreenHeight; in TFB_GL_DrawQuad() 371 sy_multiplier = ScreenHeightActual / (float)ScreenHeight; in TFB_GL_DrawQuad() 388 sy_multiplier = ScreenHeightActual / (float)ScreenHeight; in TFB_GL_DrawQuad() 390 sy = (int)((ScreenHeight - (r->y + r->h)) * sy_multiplier); in TFB_GL_DrawQuad() 403 glTexCoord2f (ScreenWidth / 512.0f, ScreenHeight / 256.0f); in TFB_GL_DrawQuad() 405 glTexCoord2f (0, ScreenHeight / 256.0f); in TFB_GL_DrawQuad() [all …]
|
H A D | pure.c | 206 ScreenWidth, ScreenHeight)) in TFB_Pure_ConfigureVideo() 214 ScreenWidth, ScreenHeight)) in TFB_Pure_ConfigureVideo() 220 ScreenWidth, ScreenHeight)) in TFB_Pure_ConfigureVideo() 223 if (ScreenWidthActual > ScreenWidth || ScreenHeightActual > ScreenHeight) in TFB_Pure_ConfigureVideo() 259 ScreenHeight = 240; in TFB_Pure_InitGraphics() 318 updated.h = ScreenHeight; in TFB_Pure_Scaled_Preprocess() 350 updated.h = ScreenHeight; in TFB_Pure_Unscaled_Preprocess() 430 SDL_Rect updated = {0, 0, ScreenWidth, ScreenHeight}; in Scale_PerfTest()
|
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/OptionRomPkg/Application/BltLibSample/ |
H A D | BltLibSample.c | 191 UINTN TriHeight, ScreenHeight; in TestColor() local 194 BltLibGetSizes (&ScreenWidth, &ScreenHeight); in TestColor() 196 BltLibVideoFill (&Color, 0, 0, ScreenWidth, ScreenHeight); in TestColor() 199 MultU64x32 (11547005, (UINT32) ScreenHeight), in TestColor() 209 } else if (TriHeight > ScreenHeight) { in TestColor() 211 TriHeight = ScreenHeight; in TestColor() 219 Y2 = (ScreenHeight - TriHeight) / 2; in TestColor()
|
/dports/sysutils/edk2/edk2-platforms-89f6170d/Drivers/OptionRomPkg/Application/BltLibSample/ |
H A D | BltLibSample.c | 183 UINTN TriHeight, ScreenHeight; in TestColor() local 186 BltLibGetSizes (&ScreenWidth, &ScreenHeight); in TestColor() 188 BltLibVideoFill (&Color, 0, 0, ScreenWidth, ScreenHeight); in TestColor() 191 MultU64x32 (11547005, (UINT32) ScreenHeight), in TestColor() 201 } else if (TriHeight > ScreenHeight) { in TestColor() 203 TriHeight = ScreenHeight; in TestColor() 211 Y2 = (ScreenHeight - TriHeight) / 2; in TestColor()
|
/dports/editors/cudatext/CudaText-1.151.0/doc/ |
H A D | gtk2-popup-pos.patch | 18 - ScreenHeight: gint; 30 - ScreenHeight := gdk_screen_height(); 31 - if Y^ + Requisition.height > ScreenHeight then 33 - Y^ := ScreenHeight - Requisition.height;
|
/dports/lang/fpc-source/fpc-3.2.2/packages/rtl-console/src/inc/ |
H A D | video.inc | 88 NewVideoBufSize:=ScreenWidth*ScreenHeight*s; 98 If (ScreenHeight<OldRows) then 99 R:=ScreenHeight 121 NewVideoBufSize:=ScreenWidth*ScreenHeight*sizeof(TVideoCell); 129 if ScreenHeight<OldRows then 130 OldRows:=ScreenHeight; 241 Mode.Row := ScreenHeight; 257 OldR:=ScreenHeight;
|
/dports/lang/fpc-rtl-console/fpc-3.2.2/packages/rtl-console/src/inc/ |
H A D | video.inc | 88 NewVideoBufSize:=ScreenWidth*ScreenHeight*s; 98 If (ScreenHeight<OldRows) then 99 R:=ScreenHeight 121 NewVideoBufSize:=ScreenWidth*ScreenHeight*sizeof(TVideoCell); 129 if ScreenHeight<OldRows then 130 OldRows:=ScreenHeight; 241 Mode.Row := ScreenHeight; 257 OldR:=ScreenHeight;
|
/dports/games/openspades/openspades-0.1.3/Sources/Draw/ |
H A D | GLFramebufferManager.cpp | 93 dev->ScreenHeight()); in GLFramebufferManager() 107 dev->ScreenHeight()); in GLFramebufferManager() 129 dev->ScreenWidth(), dev->ScreenHeight()); in GLFramebufferManager() 150 dev->ScreenWidth(), dev->ScreenHeight()); in GLFramebufferManager() 260 dev->ScreenHeight(), 0, IGLDevice::RGBA, in GLFramebufferManager() 313 dev->ScreenWidth(), dev->ScreenHeight(), 0, in GLFramebufferManager() 347 buf.h = device->ScreenHeight(); in GLFramebufferManager() 403 int h = device->ScreenHeight(); in PrepareForWaterRendering() 461 int h = device->ScreenHeight(); in CopyToMirrorTexture() 534 int h = device->ScreenHeight(); in StartPostProcessing() [all …]
|
/dports/science/gabedit/GabeditSrc251_300720/src/Geometry/ |
H A D | BuildLinear.c | 131 …gtk_window_set_default_size (GTK_WINDOW(FenetreTable),(gint)(ScreenWidth*0.5),(gint)(ScreenHeight*… in select_atom() 206 …abel_entry(hbox,_("Atom : "),(gint)(ScreenHeight*0.2),(gint)(ScreenHeight*0.… in build_linear_molecule_dlg() 219 …("Number of atoms : "),tlist,nlist,TRUE,(gint)(ScreenHeight*0.2),(gint)(ScreenHeight*0.… in build_linear_molecule_dlg() 228 …bel_entry(hbox,_("Distance between atoms(Ang) : "),(gint)(ScreenHeight*0.2),(gint)(ScreenHeight*0.… in build_linear_molecule_dlg()
|
H A D | BuildRing.c | 146 …gtk_window_set_default_size (GTK_WINDOW(FenetreTable),(gint)(ScreenWidth*0.5),(gint)(ScreenHeight*… in select_atom() 217 …abel_entry(hbox,_("Atom : "),(gint)(ScreenHeight*0.2),(gint)(ScreenHeight*0.… in build_ring_molecule_dlg() 230 …("Number of atoms : "),tlist,nlist,TRUE,(gint)(ScreenHeight*0.2),(gint)(ScreenHeight*0.… in build_ring_molecule_dlg() 239 …bel_entry(hbox,_("Distance between atoms(Ang) : "),(gint)(ScreenHeight*0.2),(gint)(ScreenHeight*0.… in build_ring_molecule_dlg()
|
/dports/games/uqm/uqm-0.8.0/src/libs/graphics/ |
H A D | gfx_common.c | 28 int ScreenHeight; variable 137 if (rect->corner.y + rect->extent.height + expansion <= ScreenHeight) in ExpandRect() 140 rect->extent.height = ScreenHeight - rect->corner.y; in ExpandRect() 174 TransitionClipRect.extent.height = ScreenHeight; in ScreenTransition()
|
/dports/games/libretro-hatari/hatari-561c07e/src/ |
H A D | statusbar.c | 123 static int ScreenHeight; variable 167 ScreenHeight = height; in Statusbar_SetHeight() 287 if (surf->h < ScreenHeight + StatusbarHeight) { in Statusbar_Init() 302 if (surf->h > ScreenHeight + StatusbarHeight) { in Statusbar_Init() 305 ScreenHeight = surf->h - StatusbarHeight; in Statusbar_Init() 319 MessageRect.y = ScreenHeight + lineh/2 - fonth/2; in Statusbar_Init() 329 LedRect.y = ScreenHeight + lineh + lineh/2 - LedRect.h/2; in Statusbar_Init() 338 yoffset = ScreenHeight + lineh + lineh/2 - fonth/2; in Statusbar_Init() 791 if (surf->h != ScreenHeight + StatusbarHeight) { in Statusbar_Update() 792 printf("%d != %d + %d\n", surf->h, ScreenHeight, StatusbarHeight); in Statusbar_Update() [all …]
|
/dports/games/torcs/torcs-1.3.7/src/libs/tgfclient/ |
H A D | fg_gm.cpp | 78 int ScreenHeight; // The screen's height in pixels. member 150 fgDisplay.ScreenHeight = DisplayHeight(fgDisplay.display, fgDisplay.Screen); in fgInitialize() 184 fgDisplay.ScreenHeight = sizes[size].height; in fghRememberState() 215 if (sizes[size].width == fgDisplay.ScreenWidth && sizes[size].height == fgDisplay.ScreenHeight) in fghRestoreState() 287 fgDisplay.ScreenHeight/2 in fghRestoreState() 430 (fgDisplay.ScreenHeight - fgState.GameModeSize.Y) / 2 in fghChangeDisplayMode() 440 fgDisplay.ScreenHeight/2 in fghChangeDisplayMode()
|
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Core/ |
H A D | NtscFilter.cpp | 24 (PPU::ScreenHeight - overscan.Top - overscan.Bottom), in GetFrameInfo() 26 PPU::ScreenHeight, in GetFrameInfo() 32 (PPU::ScreenHeight - overscan.Top - overscan.Bottom) * 2, in GetFrameInfo() 34 PPU::ScreenHeight * 2, in GetFrameInfo() 117 for(int y = PPU::ScreenHeight - 1 - overscan.Bottom; y >= (int)overscan.Top; y--) { in GenerateArgbFrame()
|
/dports/graphics/glx-utils/demos-5435fc7fbd332e171da9a71e33a9b190e9462cf0/src/tests/ |
H A D | glutfx.c | 28 static int ScreenWidth, ScreenHeight; variable 68 ScreenHeight = height; in Reshape() 124 Yrot = x - ScreenHeight / 2; in MouseMove()
|
/dports/graphics/mesa-demos/mesa-demos-8.4.0/src/tests/ |
H A D | glutfx.c | 28 static int ScreenWidth, ScreenHeight; variable 68 ScreenHeight = height; in Reshape() 124 Yrot = x - ScreenHeight / 2; in MouseMove()
|
/dports/games/rlvm/rlvm-release-0.14-77-gfabf134a/test/Module_Jmp_SEEN/ |
H A D | graphics2.ke | 3 objBgOrigin(0, ScreenWidth / 2, ScreenHeight / 2) 4 objBgMove(0, - ScreenWidth / 2, - ScreenHeight / 2)
|