A model of a window's geometry.  
 More...
#include <windowgeometry.h>
A model of a window's geometry. 
 
◆ WindowGeometry() [1/6]
  
  
      
        
          | Nickvision::App::WindowGeometry::WindowGeometry  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
noexcept   | 
  
 
 
◆ WindowGeometry() [2/6]
  
  
      
        
          | Nickvision::App::WindowGeometry::WindowGeometry  | 
          ( | 
          const WindowGeometry & |            | ) | 
           | 
         
       
   | 
  
defaultnoexcept   | 
  
 
 
◆ WindowGeometry() [3/6]
◆ WindowGeometry() [4/6]
  
  
      
        
          | Nickvision::App::WindowGeometry::WindowGeometry  | 
          ( | 
          long |           width,  | 
         
        
           | 
           | 
          long |           height,  | 
         
        
           | 
           | 
          bool |           isMaximized ) | 
         
       
   | 
  
noexcept   | 
  
 
Construct a WindowGeometry. 
- Parameters
 - 
  
    | width | The width of the window  | 
    | height | The height of the window  | 
    | isMaximized | Whether or not the window is maximized  | 
  
   
 
 
◆ WindowGeometry() [5/6]
  
  
      
        
          | Nickvision::App::WindowGeometry::WindowGeometry  | 
          ( | 
          long |           width,  | 
         
        
           | 
           | 
          long |           height,  | 
         
        
           | 
           | 
          bool |           isMaximized,  | 
         
        
           | 
           | 
          long |           x,  | 
         
        
           | 
           | 
          long |           y ) | 
         
       
   | 
  
noexcept   | 
  
 
Construct a WindowGeometry. 
- Parameters
 - 
  
    | width | The width of the window  | 
    | height | The height of the window  | 
    | isMaximized | Whether or not the window is maximized  | 
    | x | The x position of the window  | 
    | y | The y position of the window  | 
  
   
 
 
◆ WindowGeometry() [6/6]
  
  
      
        
          | Nickvision::App::WindowGeometry::WindowGeometry  | 
          ( | 
          boost::json::object |           json | ) | 
           | 
         
       
   | 
  
noexcept   | 
  
 
 
◆ getHeight()
  
  
      
        
          | long Nickvision::App::WindowGeometry::getHeight  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
noexcept   | 
  
 
Gets the height of the window. 
- Returns
 - The height of the window 
 
 
 
◆ getWidth()
  
  
      
        
          | long Nickvision::App::WindowGeometry::getWidth  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
noexcept   | 
  
 
Gets the width of the window. 
- Returns
 - The width of the window 
 
 
 
◆ getX()
  
  
      
        
          | long Nickvision::App::WindowGeometry::getX  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
noexcept   | 
  
 
Gets the x position of the window. 
- Returns
 - The x position of the window 
 
 
 
◆ getY()
  
  
      
        
          | long Nickvision::App::WindowGeometry::getY  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
noexcept   | 
  
 
Gets the y position of the window. 
- Returns
 - The y position of the window 
 
 
 
◆ isMaximized()
  
  
      
        
          | bool Nickvision::App::WindowGeometry::isMaximized  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
noexcept   | 
  
 
Gets whether or not the window is maximized. 
- Returns
 - True if maximized, else false 
 
 
 
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ setHeight()
  
  
      
        
          | void Nickvision::App::WindowGeometry::setHeight  | 
          ( | 
          long |           height | ) | 
           | 
         
       
   | 
  
noexcept   | 
  
 
Sets the height of the window. 
- Parameters
 - 
  
    | height | The new height of the window  | 
  
   
 
 
◆ setIsMaximized()
  
  
      
        
          | void Nickvision::App::WindowGeometry::setIsMaximized  | 
          ( | 
          bool |           isMaximized | ) | 
           | 
         
       
   | 
  
noexcept   | 
  
 
Sets whether or not the window is maximized. 
- Parameters
 - 
  
    | isMaximized | True if maximized, else false  | 
  
   
 
 
◆ setWidth()
  
  
      
        
          | void Nickvision::App::WindowGeometry::setWidth  | 
          ( | 
          long |           width | ) | 
           | 
         
       
   | 
  
noexcept   | 
  
 
Sets the width of the window. 
- Parameters
 - 
  
    | width | The new width of the window  | 
  
   
 
 
◆ setX()
  
  
      
        
          | void Nickvision::App::WindowGeometry::setX  | 
          ( | 
          long |           x | ) | 
           | 
         
       
   | 
  
noexcept   | 
  
 
Sets the x position of the window. 
- Parameters
 - 
  
    | x | The new x position of the window  | 
  
   
 
 
◆ setY()
  
  
      
        
          | void Nickvision::App::WindowGeometry::setY  | 
          ( | 
          long |           y | ) | 
           | 
         
       
   | 
  
noexcept   | 
  
 
Sets the y position of the window. 
- Parameters
 - 
  
    | x | The new y position of the window  | 
  
   
 
 
◆ toJson()
  
  
      
        
          | boost::json::value Nickvision::App::WindowGeometry::toJson  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
overridevirtualnoexcept   | 
  
 
 
The documentation for this class was generated from the following file: