Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CStackWindows.hpp
Go to the documentation of this file.
1#ifndef LIBS_GRAPHICSCOMP_CSTACKWINDOWS_HPP_
2#define LIBS_GRAPHICSCOMP_CSTACKWINDOWS_HPP_
3
4#include "IWindowGraphics.hpp"
5
6#include <vector>
7
9{
10public:
12 virtual ~CStackWindows();
13
14 void drawScene(IGraphics *graphics, double xSizeScreen, double ySizeScreen, CTheme *theme);
15 [[nodiscard]] bool hasProcessFocus() const;
16 void nextFrameAnimation();
17 void popWindow(IGraphics *graphics);
18 void processEvent(CEventGraphics *evt, double xSizeScreen, double ySizeScreen);
19 void pushWindow(IWindowGraphics *window);
20 void removeWindow(IGraphics *graphics, IWindowGraphics *window);
21 void removeAll(IGraphics *graphics);
22 void update(IGraphics *graphics, double sizeXScreen, double sizeYScreen, CTheme *theme,
23 CLibraryImages *libraryImages);
24
26
27private:
28 std::vector<IWindowGraphics *> m_stack;
29};
30
31#endif /* LIBS_GRAPHICSCOMP_CSTACKWINDOWS_HPP_ */
Definition CEventGraphics.hpp:9
Definition CLibraryImages.hpp:11
Definition CStackWindows.hpp:9
IWindowGraphics * getCurrentWindows()
Definition CStackWindows.cpp:185
void processEvent(CEventGraphics *evt, double xSizeScreen, double ySizeScreen)
Definition CStackWindows.cpp:68
void pushWindow(IWindowGraphics *window)
Definition CStackWindows.cpp:102
void drawScene(IGraphics *graphics, double xSizeScreen, double ySizeScreen, CTheme *theme)
Definition CStackWindows.cpp:15
void nextFrameAnimation()
Definition CStackWindows.cpp:43
void removeWindow(IGraphics *graphics, IWindowGraphics *window)
Definition CStackWindows.cpp:136
void removeAll(IGraphics *graphics)
Definition CStackWindows.cpp:151
bool hasProcessFocus() const
Definition CStackWindows.cpp:35
virtual ~CStackWindows()
void popWindow(IGraphics *graphics)
Definition CStackWindows.cpp:55
std::vector< IWindowGraphics * > m_stack
Definition CStackWindows.hpp:28
void update(IGraphics *graphics, double sizeXScreen, double sizeYScreen, CTheme *theme, CLibraryImages *libraryImages)
Definition CStackWindows.cpp:161
Definition CTheme.hpp:10
Definition IGraphics.hpp:20
Definition IWindowGraphics.hpp:12