#include <Pt/Forms/WindowType.h>

Presentation state of a window. More...

Public Types

enum  State {
  Normal = 0,
  Minimized = 1,
  Maximized = 2
}
 Defines a window presentation state. More...
 

Public Member Functions

 WindowState (State state=Normal)
 Creates a window state with state.
 
WindowStateoperator= (State state)
 Sets the window state to state and returns this object.
 
 operator Pt::uint32_t () const
 Returns the window state as an unsigned integer value.
 

Detailed Description

A window is Normal, Minimized, or Maximized.

Member Enumeration Documentation

◆ State

enum State
Enumerator
Normal 

Uses the normal window state.

Minimized 

Uses the minimized window state.

Maximized 

Uses the maximized window state.