diff options
Diffstat (limited to 'src/interface/Engine.h')
| -rw-r--r-- | src/interface/Engine.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/interface/Engine.h b/src/interface/Engine.h index e9c4354..bcf10e6 100644 --- a/src/interface/Engine.h +++ b/src/interface/Engine.h @@ -57,6 +57,10 @@ namespace ui inline int GetMouseY() { return mousey_; } inline int GetWidth() { return width_; } inline int GetHeight() { return height_; } + inline int GetMaxWidth() { return maxWidth; } + inline int GetMaxHeight() { return maxHeight; } + + inline void SetMaxSize(int width, int height); inline void SetSize(int width, int height); @@ -90,6 +94,9 @@ namespace ui int mouseyp_; int width_; int height_; + + int maxWidth; + int maxHeight; }; } |
