|
TouchCPLib
1.0.0
A touch-enabled GUI interface based on SDL and libTS. It provides a simple desktop-free UI for your embedded Raspberry projects.
|
The main window object. More...
#include <Window.h>
Public Member Functions | |
| Window (int width, int height, SDL_Color color) | |
| Create a window object. More... | |
| ~Window () | |
| SDL_Window * | getWindowObject () const |
| Get the native SDL window object. More... | |
| SDL_Surface * | getSurface () const |
| Get the native SDL surface. More... | |
| SDL_Renderer * | getRenderer () const |
| Get the native SDL renderer. More... | |
| void | update () |
The main window object.
| Window::Window | ( | int | width, |
| int | height, | ||
| SDL_Color | color | ||
| ) |
Create a window object.
| width | The window width |
| height | The window height |
| color | The window color |
| Window::~Window | ( | ) |
| SDL_Renderer * Window::getRenderer | ( | ) | const |
Get the native SDL renderer.
| SDL_Surface * Window::getSurface | ( | ) | const |
Get the native SDL surface.
| SDL_Window * Window::getWindowObject | ( | ) | const |
Get the native SDL window object.
| void Window::update | ( | ) |