Voxeloop  0.1.0
Musical Loop Generation in Voxel World
WindowManager Class Reference

#include <WindowManager.hpp>

Collaboration diagram for WindowManager:
Collaboration graph

Public Member Functions

void create (const char *title, int width, int height)
 
bool isCloseRequested ()
 
void close ()
 
void update ()
 
void render ()
 
void cleanup ()
 

Static Public Member Functions

static void clear ()
 
static GLFWwindow * getWindow ()
 
static int getWidth ()
 
static int getHeight ()
 

Private Attributes

int m_glMajor = 4
 
int m_glMinor = 5
 

Static Private Attributes

static GLFWwindow * m_window = nullptr
 
static int m_width = 0
 
static int m_height = 0
 

Member Function Documentation

◆ cleanup()

void WindowManager::cleanup ( )

◆ clear()

void WindowManager::clear ( )
static

◆ close()

void WindowManager::close ( )

◆ create()

void WindowManager::create ( const char *  title,
int  width,
int  height 
)

◆ getHeight()

int WindowManager::getHeight ( )
static

◆ getWidth()

int WindowManager::getWidth ( )
static

◆ getWindow()

GLFWwindow * WindowManager::getWindow ( )
static

◆ isCloseRequested()

bool WindowManager::isCloseRequested ( )

◆ render()

void WindowManager::render ( )

◆ update()

void WindowManager::update ( )

Member Data Documentation

◆ m_glMajor

int WindowManager::m_glMajor = 4
private

◆ m_glMinor

int WindowManager::m_glMinor = 5
private

◆ m_height

int WindowManager::m_height = 0
staticprivate

◆ m_width

int WindowManager::m_width = 0
staticprivate

◆ m_window

GLFWwindow * WindowManager::m_window = nullptr
staticprivate

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