File tree Expand file tree Collapse file tree
libs/s25main/ingameWindows Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,6 +112,11 @@ Extent IngameWindow::GetIwSize() const
112112 return Extent (GetSize ().x - contentOffset.x - contentOffsetEnd.x , iwHeight);
113113}
114114
115+ Extent IngameWindow::GetFullSize () const
116+ {
117+ return Extent (GetSize ().x , contentOffset.y + contentOffsetEnd.y + iwHeight);
118+ }
119+
115120DrawPoint IngameWindow::GetRightBottomBoundary ()
116121{
117122 return DrawPoint (GetSize () - contentOffsetEnd);
Original file line number Diff line number Diff line change @@ -68,6 +68,8 @@ class IngameWindow : public Window
6868 void SetIwSize (const Extent& newSize);
6969 // / Get the size of the (expanded) content area
7070 Extent GetIwSize () const ;
71+ // / Get the full size of the window, even when minimized
72+ Extent GetFullSize () const ;
7173 // / Get the current lower right corner of the content area
7274 DrawPoint GetRightBottomBoundary ();
7375
You can’t perform that action at this time.
0 commit comments