mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
Add GITADORA Arena windowed monitor layout support, allows the SMALL touch window to be resized (#716)
## Link to GitHub Issue or related Pull Request, if one exists N/A ## Description of change Adds GITADORA Arena windowed monitor layout options for the GITADORA, LEFT, RIGHT, and SMALL windows. This also applies the selected window border style to all four GITADORA Arena windows, and allows the SMALL touch window to be resized in windowed mode while keeping touch coordinates updated. ## Testing - Manually tested GITADORA Arena windowed mode: - default, resizable, and borderless window styles - per-window monitor placement - SMALL resize - SMALL touch coordinate mapping after resize
This commit is contained in:
@@ -1182,6 +1182,22 @@ int main_implementation(int argc, char *argv[]) {
|
||||
GRAPHICS_WINDOW_ALWAYS_ON_TOP = options[launcher::Options::spice2x_WindowAlwaysOnTop].value_bool();
|
||||
GRAPHICS_WINDOW_BACKBUFFER_SCALE = options[launcher::Options::WindowForceScaling].value_bool();
|
||||
GRAPHICS_WINDOW_DISABLE_ROUNDED_CORNERS = options[launcher::Options::WindowDisableRoundedCorners].value_bool();
|
||||
if (options[launcher::Options::GitaDoraWindowedMainMonitor].is_active()) {
|
||||
GRAPHICS_GITADORA_MAIN_MONITOR =
|
||||
options[launcher::Options::GitaDoraWindowedMainMonitor].value_text();
|
||||
}
|
||||
if (options[launcher::Options::GitaDoraWindowedLeftMonitor].is_active()) {
|
||||
GRAPHICS_GITADORA_LEFT_MONITOR =
|
||||
options[launcher::Options::GitaDoraWindowedLeftMonitor].value_text();
|
||||
}
|
||||
if (options[launcher::Options::GitaDoraWindowedRightMonitor].is_active()) {
|
||||
GRAPHICS_GITADORA_RIGHT_MONITOR =
|
||||
options[launcher::Options::GitaDoraWindowedRightMonitor].value_text();
|
||||
}
|
||||
if (options[launcher::Options::GitaDoraWindowedSmallMonitor].is_active()) {
|
||||
GRAPHICS_GITADORA_SMALL_MONITOR =
|
||||
options[launcher::Options::GitaDoraWindowedSmallMonitor].value_text();
|
||||
}
|
||||
|
||||
// IIDX/SDVX Windowed Subscreen
|
||||
if (options[launcher::Options::spice2x_IIDXWindowedSubscreenSize].is_active()) {
|
||||
|
||||
Reference in New Issue
Block a user