dhewm3/neo/ui
Daniel Gibson 565d3e3fc1 Make CstDoom3 anchored GUIs work with dhewm3's menu scale fix
In idWindow::Redraw(), I had to make sure the menu scale fix (which,
if enabled for a window, renders that in 4:3 with empty or black bars
on the side if needed for widescreen etc, instead of stretching it)
is disabled if a window uses CST anchors, because the CST anchor code
also adjusts for the display aspect ratio and if we do both, things get
distorted in the other way.

The biggest change is that idDeviceContext::DrawStretchPic(Rotated) now
has code to adjust the coordinates for both CST and the menu scale fix,
so idDeviceContext::AdjustCoords() is mostly obsolete - it's only still
used by idRenderWindow.
Unlike DstDoom3 now that extra adjustCoords argument to those Draw
functions indicates that any coordinate adjustment should be done, so
if it's set by a caller, it's set to true.

I removed idDeviceContext::AdjustCursorCoords() because it was only used
in one place anyway
2025-01-21 03:04:18 +01:00
..
BindWindow.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
BindWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
ChoiceWindow.cpp Make rvGEWindowWrapper (for GUI editor) 64bit clean 2021-05-08 07:03:55 +02:00
ChoiceWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeviceContext.cpp Make CstDoom3 anchored GUIs work with dhewm3's menu scale fix 2025-01-21 03:04:18 +01:00
DeviceContext.h Make CstDoom3 anchored GUIs work with dhewm3's menu scale fix 2025-01-21 03:04:18 +01:00
EditWindow.cpp Improve handling of "console key", add in_ignoreConsoleKey CVar 2021-07-15 07:00:18 +02:00
EditWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
FieldWindow.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
FieldWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
GameBearShootWindow.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
GameBearShootWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
GameBustOutWindow.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
GameBustOutWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
GameSSDWindow.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
GameSSDWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
GameWindow.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
GameWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
GuiScript.cpp Some spelling error fixes found during Debian build 2018-06-30 00:08:45 -01:00
GuiScript.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
ListGUI.cpp Fix -Wformat-security warnings - thanks James Addison! 2023-01-05 04:45:34 +01:00
ListGUI.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
ListGUILocal.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
ListWindow.cpp idListWindow: Scroll to selected item 2021-07-03 02:25:20 +02:00
ListWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
MarkerWindow.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
MarkerWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Rectangle.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
RegExp.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
RegExp.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
RegExp_old.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
RenderWindow.cpp Scale "Menu" GUIs (incl. PDA + fullscreen vids) to 4:3 2018-10-28 05:29:11 +01:00
RenderWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
SimpleWindow.cpp Changes from CstDoom3 for anchored GUIs, #324 2025-01-21 03:04:18 +01:00
SimpleWindow.h Changes from CstDoom3 for anchored GUIs, #324 2025-01-21 03:04:18 +01:00
SliderWindow.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
SliderWindow.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
UserInterface.cpp HighDPI support, hopefully 2024-06-03 14:49:23 +02:00
UserInterface.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
UserInterfaceLocal.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Window.cpp Make CstDoom3 anchored GUIs work with dhewm3's menu scale fix 2025-01-21 03:04:18 +01:00
Window.h Changes from CstDoom3 for anchored GUIs, #324 2025-01-21 03:04:18 +01:00
Winvar.cpp Fix new[]/delete missmatches and memory leaks found by clang's ASAN 2015-12-17 18:11:03 +01:00
Winvar.h Fix new[]/delete missmatches and memory leaks found by clang's ASAN 2015-12-17 18:11:03 +01:00