SANDAL2
A SDL2 Wrapper in C
Public Attributes | List of all members
Window Struct Reference

SANDAL2 window. More...

#include <Window.h>

Collaboration diagram for Window:
Collaboration graph
[legend]

Public Attributes

int height
 
int width
 
int initHeight
 
int initWidth
 
int displayCode
 
int background [4]
 
int origin [2]
 
SDL_Window * window
 
SDL_Renderer * renderer
 
struct ListElementliste
 
EventWindow events
 
struct Windownext
 
unsigned toDelete
 
int close
 
int newDisplayCode
 
int displayToChange
 
struct ListDCElementcurrent
 
void * data
 
int stop
 
int state
 
int focused
 
Uint32 ticks
 

Detailed Description

SANDAL2 window.

Member Data Documentation

◆ background

int Window::background[4]

background color of the window

◆ close

int Window::close

tells whether or not the window should be closed

◆ current

struct ListDCElement* Window::current

current list of elements to display

◆ data

void* Window::data

data of the window

◆ displayCode

int Window::displayCode

display code of the window

◆ displayToChange

int Window::displayToChange

tells whether or not the display code has to be changed

◆ events

EventWindow Window::events

behavior of the window to events

◆ focused

int Window::focused

tells whether or not the window is focused

◆ height

int Window::height

current height of the window

◆ initHeight

int Window::initHeight

initial height of the window

◆ initWidth

int Window::initWidth

initial width of the window

◆ liste

struct ListElement* Window::liste

elements in the window

◆ newDisplayCode

int Window::newDisplayCode

display code to be changed

◆ next

struct Window* Window::next

next window

◆ origin

int Window::origin[2]

origin of the window (initialized at (0,0))

◆ renderer

SDL_Renderer* Window::renderer

renderer

◆ state

int Window::state

tells if window is in full screen or normal

◆ stop

int Window::stop

tells whether or not all elements where removed

◆ ticks

Uint32 Window::ticks

ticks since last update call

◆ toDelete

unsigned Window::toDelete

number of element to be deleted by the cleaner

◆ width

int Window::width

current width of the window

◆ window

SDL_Window* Window::window

true window


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