11#ifndef IWINDOW_MANAGER_H
12#define IWINDOW_MANAGER_H
15#include "config/settings.h"
130 virtual void getWindowSetup(
int& playfieldX,
int& playfieldY,
int& playfieldWidth,
int& playfieldHeight,
131 int& backglassX,
int& backglassY,
int& backglassWidth,
int& backglassHeight,
132 int& dmdX,
int& dmdY,
int& dmdWidth,
int& dmdHeight,
133 int& topperX,
int& topperY,
int& topperWidth,
int& topperHeight) = 0;
Interface for managing SDL windows and renderers.
Definition iwindow_manager.h:27
virtual SDL_Renderer * getPlayfieldRenderer()=0
Gets the playfield renderer.
virtual SDL_Renderer * getTopperRenderer()=0
Gets the Topper renderer.
virtual SDL_Window * getTopperWindow()=0
Gets the DMD window.
virtual SDL_Window * getDMDWindow()=0
Gets the DMD window.
virtual void getWindowSetup(int &playfieldX, int &playfieldY, int &playfieldWidth, int &playfieldHeight, int &backglassX, int &backglassY, int &backglassWidth, int &backglassHeight, int &dmdX, int &dmdY, int &dmdWidth, int &dmdHeight, int &topperX, int &topperY, int &topperWidth, int &topperHeight)=0
Gets the positions of all windows.
virtual ~IWindowManager()=default
Virtual destructor for proper cleanup of derived classes.
virtual SDL_Renderer * getDMDRenderer()=0
Gets the DMD renderer.
virtual SDL_Window * getBackglassWindow()=0
Gets the backglass window.
virtual void updateWindows(const Settings &settings)=0
Updates windows with new settings.
virtual SDL_Window * getPlayfieldWindow()=0
Gets the playfield window.
virtual SDL_Renderer * getBackglassRenderer()=0
Gets the backglass renderer.