Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::WindowDescriptor Struct Reference

#include <WindowManager.h>

Public Types

enum class  Flags : U16 {
  FULLSCREEN = toBit( 1 ) , FULLSCREEN_DESKTOP = toBit( 2 ) , DECORATED = toBit( 3 ) , RESIZEABLE = toBit( 4 ) ,
  HIDDEN = toBit( 5 ) , ALLOW_HIGH_DPI = toBit( 6 ) , ALWAYS_ON_TOP = toBit( 7 ) , VSYNC = toBit( 8 ) ,
  NO_TASKBAR_ICON = toBit( 9 )
}
 

Public Attributes

string title = ""
 
DisplayWindowparentWindow = nullptr
 
vec2< I16position = {}
 
vec2< U16dimensions = {}
 
U32 targetDisplay = 0u
 
U16 flags
 
RenderAPI targetAPI
 
bool externalClose { false }
 
bool startMaximized { false }
 

Detailed Description

Definition at line 153 of file WindowManager.h.

Member Enumeration Documentation

◆ Flags

enum class Divide::WindowDescriptor::Flags : U16
strong
Enumerator
FULLSCREEN 
FULLSCREEN_DESKTOP 
DECORATED 
RESIZEABLE 
HIDDEN 
ALLOW_HIGH_DPI 
ALWAYS_ON_TOP 
VSYNC 
NO_TASKBAR_ICON 

Definition at line 155 of file WindowManager.h.

Member Data Documentation

◆ dimensions

vec2<U16> Divide::WindowDescriptor::dimensions = {}

Definition at line 171 of file WindowManager.h.

◆ externalClose

bool Divide::WindowDescriptor::externalClose { false }

Definition at line 177 of file WindowManager.h.

◆ flags

U16 Divide::WindowDescriptor::flags
Initial value:

Definition at line 173 of file WindowManager.h.

◆ parentWindow

DisplayWindow* Divide::WindowDescriptor::parentWindow = nullptr

Definition at line 169 of file WindowManager.h.

◆ position

vec2<I16> Divide::WindowDescriptor::position = {}

Definition at line 170 of file WindowManager.h.

◆ startMaximized

bool Divide::WindowDescriptor::startMaximized { false }

Definition at line 178 of file WindowManager.h.

◆ targetAPI

RenderAPI Divide::WindowDescriptor::targetAPI

Definition at line 176 of file WindowManager.h.

◆ targetDisplay

U32 Divide::WindowDescriptor::targetDisplay = 0u

Definition at line 172 of file WindowManager.h.

◆ title

string Divide::WindowDescriptor::title = ""

Definition at line 168 of file WindowManager.h.


The documentation for this struct was generated from the following file: