palliate v0.0.1
Palliate application and built-in plugins
UI::GL::Display Class Reference

#include <display.h>

Inheritance diagram for UI::GL::Display:

Public Member Functions

 Display ()
 
 ~Display ()
 
void initialize (GLuint program)
 
bool render () override
 
- Public Member Functions inherited from UI::GL::Window
 Window (std::string const &name, Util::rect position, Window *parent)
 
void initialize (GLuint program)
 
void attention () override
 
std::bitset< 8 > & get_flags () override
 
void resize (unsigned width, unsigned height) override
 
void move (int x, int y) override
 
void title (const std::string &title) override
 
void icon (unsigned height, unsigned width, const char *data) override
 
void wireframe (bool status) override
 
bool render () override
 

Additional Inherited Members

- Static Public Member Functions inherited from UI::GL::Window
static Windowget (GLFWwindow *context)
 
- Protected Attributes inherited from UI::GL::Window
GLFWwindow * context
 
GLuint program
 
GLuint VAO
 
GLuint VBO
 
GLuint EBO
 
GLuint TBO
 
GLuint texture
 
GLuint texture_shift
 
unsigned texture_width
 
unsigned texture_height
 
GLFWimage current_icon
 
std::string current_title
 
Util::rect position = {0}
 
float tex_coords [8] = {1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 0.0f, 0.0f}
 
std::atomic_flag moved = ATOMIC_FLAG_INIT
 

Constructor & Destructor Documentation

◆ Display()

Display::Display ( )

◆ ~Display()

Display::~Display ( )

Member Function Documentation

◆ initialize()

void Display::initialize ( GLuint  program)

◆ render()

bool Display::render ( )
override

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