@@ -78,7 +78,7 @@ class Window
7878 DrawPoint GetDrawPos () const ;
7979 // / Get the size of the window
8080 Extent GetSize () const ;
81- // / Get the Limit Factors for scaling
81+ // / Get the Scaling Percentage
8282 ScaleLimPercent GetScalePercentage () const ;
8383 // / gets the extent of the window in absolute coordinates
8484 Rect GetDrawRect () const ;
@@ -91,7 +91,7 @@ class Window
9191 void SetWidth (unsigned width) { Resize (Extent (width, size_.y )); }
9292 // / setzt die Höhe des Fensters
9393 void SetHeight (unsigned height) { Resize (Extent (size_.x , height)); }
94- // / Set the Limit Factors for scaling
94+ // / Set the Scaling Percentage
9595 void SetScalePercentage (ScaleLimPercent scalePercentage);
9696 // / Sendet eine Tastaturnachricht an die Steuerelemente.
9797 bool RelayKeyboardMessage (KeyboardMsgHandler msg, const KeyEvent& ke);
@@ -293,7 +293,7 @@ class Window
293293 friend constexpr auto maxEnumValue (ButtonState) { return ButtonState::Pressed; }
294294 using ControlMap = std::map<unsigned , Window*>;
295295
296- // / scales X- and Y values to fit the screen, additionally considering a limiting factor for size
296+ // / scales X- and Y values to fit the screen, additionally considering a scaling percentage for size
297297 template <class T_Pt >
298298 static T_Pt Scale (const T_Pt& pt, const ScaleLimPercent& scalePercentage = ScaleLimPercent(100 , 100 ));
299299 // / scales X- and Y values of pos_ and size_, additionally considering scalePercentage_ for size_ scaling
0 commit comments