Shirag 0.1.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Shirag::WindowSystem::Window Class Reference

#include <windowSystem.hpp>

Public Member Functions

virtual ~Window ()=default
 
 Window (Rectangle WindowRect, std::string Title, bool Draggable, bool Resizeable, bool Shown, int Outline, Vector2 MaxSize)
 
virtual bool draw (std::vector< Shirag::Text::Font > *Fonts)
 
virtual bool update (bool SkipUpdate, std::vector< Shirag::Text::Font > *Fonts)
 

Public Attributes

Rectangle window = {}
 
std::string title = ""
 
bool draggable = false
 
bool resizable = false
 
bool shown = false
 
Vector2 minSize = { 200, 200 }
 
Vector2 maxSize = { 99999, 99999 }
 
bool mouseCursorChanged = false
 
bool onTop = false
 

Protected Attributes

float outline = 0.0
 

Constructor & Destructor Documentation

◆ ~Window()

virtual Shirag::WindowSystem::Window::~Window ( )
virtualdefault

◆ Window()

Shirag::WindowSystem::Window::Window ( Rectangle  WindowRect,
std::string  Title,
bool  Draggable,
bool  Resizeable,
bool  Shown,
int  Outline,
Vector2  MaxSize 
)
inline

Member Function Documentation

◆ draw()

bool Shirag::WindowSystem::Window::draw ( std::vector< Shirag::Text::Font > *  Fonts)
virtual

◆ update()

bool Shirag::WindowSystem::Window::update ( bool  SkipUpdate,
std::vector< Shirag::Text::Font > *  Fonts 
)
virtual

Member Data Documentation

◆ draggable

bool Shirag::WindowSystem::Window::draggable = false

◆ maxSize

Vector2 Shirag::WindowSystem::Window::maxSize = { 99999, 99999 }

◆ minSize

Vector2 Shirag::WindowSystem::Window::minSize = { 200, 200 }

◆ mouseCursorChanged

bool Shirag::WindowSystem::Window::mouseCursorChanged = false

◆ onTop

bool Shirag::WindowSystem::Window::onTop = false

◆ outline

float Shirag::WindowSystem::Window::outline = 0.0
protected

◆ resizable

bool Shirag::WindowSystem::Window::resizable = false

◆ shown

bool Shirag::WindowSystem::Window::shown = false

◆ title

std::string Shirag::WindowSystem::Window::title = ""

◆ window

Rectangle Shirag::WindowSystem::Window::window = {}

The documentation for this class was generated from the following files: