#include <external/RadixEngine/include/radix/Window.hpp>
Inherits radix::Viewport, and radix::InputSource.
|
enum | MouseButton : uint8_t {
MouseButton::Left = 0,
MouseButton::Right = 1,
MouseButton::Middle = 2,
MouseButton::Aux1,
MouseButton::Aux2,
MouseButton::Aux3,
MouseButton::Aux4,
MouseButton::Aux5,
MouseButton::Aux6,
MouseButton::Aux7,
MouseButton::Aux8,
MouseButton::Unknown = 0xFF
} |
|
using | KeyboardKey = int |
|
using | KeyboardModifier = int |
|
std::vector
< std::reference_wrapper
< EventDispatcher > > | dispatchers |
|
radix::Window::Window |
( |
| ) |
|
radix::Window::~Window |
( |
| ) |
|
|
default |
void radix::Window::addToBuffer |
( |
const std::string & |
character | ) |
|
|
virtual |
void radix::Window::clear |
( |
| ) |
|
|
virtual |
void radix::Window::clearBuffer |
( |
| ) |
|
|
virtual |
void radix::Window::close |
( |
| ) |
|
void radix::Window::create |
( |
const char * |
title | ) |
|
SDL_Surface * radix::Window::flipVertical |
( |
SDL_Surface * |
sfc | ) |
|
std::string radix::Window::getCharBuffer |
( |
| ) |
|
|
virtual |
void radix::Window::getSize |
( |
int * |
width, |
|
|
int * |
height |
|
) |
| const |
|
virtual |
void radix::Window::initEpoxy |
( |
| ) |
|
|
private |
void radix::Window::lockMouse |
( |
| ) |
|
void radix::Window::printScreenToFile |
( |
std::string |
fileName | ) |
|
void radix::Window::processEvents |
( |
| ) |
|
|
virtual |
void radix::Window::processMouseButtonEvents |
( |
SDL_Event & |
event | ) |
|
|
private |
void radix::Window::processWindowEvents |
( |
SDL_Event & |
event | ) |
|
|
private |
void radix::Window::setFullscreen |
( |
| ) |
|
void radix::Window::swapBuffers |
( |
| ) |
|
void radix::Window::truncateCharBuffer |
( |
| ) |
|
|
virtual |
void radix::Window::unlockMouse |
( |
| ) |
|
std::string radix::Window::charbuffer |
|
private |
SDL_GLContext radix::Window::context |
|
private |
const unsigned int radix::Window::DEFAULT_HEIGHT = 600 |
|
staticprivate |
const char * radix::Window::DEFAULT_TITLE = "Radix Engine" |
|
staticprivate |
const unsigned int radix::Window::DEFAULT_WIDTH = 800 |
|
staticprivate |
std::unique_ptr<Gwen::Controls::Canvas> radix::Window::gwenCanvas |
std::unique_ptr<Gwen::Skin::TexturedBase> radix::Window::gwenSkin |
unsigned int radix::Window::height |
|
private |
std::vector<bool> radix::Window::keystates |
|
private |
unsigned int radix::Window::width |
|
private |
SDL_Window* radix::Window::window |
|
private |
The documentation for this class was generated from the following files: