#include <x11window.hpp>
◆ X11Window()
net::lliurex::lgi::X11Window::X11Window |
( |
int |
w, |
|
|
int |
h, |
|
|
int |
flags = 0 |
|
) |
| |
Creates the window with specified size and flags
- Parameters
-
w | width |
h | height |
flags | Any combination of window flag constants |
◆ ~X11Window()
virtual net::lliurex::lgi::X11Window::~X11Window |
( |
| ) |
|
|
virtual |
◆ AddLayer()
void net::lliurex::lgi::X11Window::AddLayer |
( |
Layer * |
layer | ) |
|
|
virtual |
◆ Destroy()
void net::lliurex::lgi::X11Window::Destroy |
( |
| ) |
|
|
virtual |
Destroys the window Trying to draw or process events before destroying the window may crash the application.
Implements net::lliurex::lgi::BaseWindow.
◆ DispatchEvents()
void net::lliurex::lgi::X11Window::DispatchEvents |
( |
int |
mode | ) |
|
|
virtual |
Dispatch events from stack
- Parameters
-
mode | Dispatch method, valid values are LGI_DISPATCH_EVENTS_FULL and LGI_DISPATCH_EVENTS_WAIT |
Implements net::lliurex::lgi::BaseWindow.
◆ Flip()
void net::lliurex::lgi::X11Window::Flip |
( |
| ) |
|
|
virtual |
◆ FullScreen()
void net::lliurex::lgi::X11Window::FullScreen |
( |
| ) |
|
◆ GetCairo()
cairo_t* net::lliurex::lgi::X11Window::GetCairo |
( |
| ) |
|
◆ GetCollision()
bool net::lliurex::lgi::X11Window::GetCollision |
( |
int |
x, |
|
|
int |
y, |
|
|
Widget ** |
widget, |
|
|
Layer ** |
layer |
|
) |
| |
◆ GetEvent()
void net::lliurex::lgi::X11Window::GetEvent |
( |
| ) |
|
|
virtual |
Pulls an event from underlaying event stack and pushes it into lgi stack. Typically, each call pushes one event, but two, three or none it is also possible
Implements net::lliurex::lgi::BaseWindow.
◆ GetFocus()
Widget* net::lliurex::lgi::X11Window::GetFocus |
( |
| ) |
|
|
virtual |
◆ GetHeight()
int net::lliurex::lgi::X11Window::GetHeight |
( |
| ) |
|
|
virtual |
◆ GetScreenSize()
void net::lliurex::lgi::X11Window::GetScreenSize |
( |
int * |
width, |
|
|
int * |
height |
|
) |
| |
◆ GetTicks()
int net::lliurex::lgi::X11Window::GetTicks |
( |
| ) |
|
◆ GetWidth()
int net::lliurex::lgi::X11Window::GetWidth |
( |
| ) |
|
|
virtual |
◆ GetXWindow()
unsigned long net::lliurex::lgi::X11Window::GetXWindow |
( |
| ) |
|
◆ HideLayer()
void net::lliurex::lgi::X11Window::HideLayer |
( |
Layer * |
layer | ) |
|
|
virtual |
◆ NextFocus()
void net::lliurex::lgi::X11Window::NextFocus |
( |
Layer * |
layer = nullptr | ) |
|
|
virtual |
◆ PopEvent()
RawEvent* net::lliurex::lgi::X11Window::PopEvent |
( |
| ) |
|
|
virtual |
◆ ProcessEvent()
void net::lliurex::lgi::X11Window::ProcessEvent |
( |
RawEvent * |
raw_event | ) |
|
|
virtual |
◆ PushEvent()
void net::lliurex::lgi::X11Window::PushEvent |
( |
RawEvent * |
raw_event | ) |
|
|
virtual |
Push an event into the stack
- Parameters
-
raw_event | Source event, will be freed by DispatchEvents This method is thread safe |
Implements net::lliurex::lgi::BaseWindow.
◆ RemoveLayer()
void net::lliurex::lgi::X11Window::RemoveLayer |
( |
Layer * |
layer | ) |
|
|
virtual |
◆ SendMessage()
void net::lliurex::lgi::X11Window::SendMessage |
( |
Layer * |
layer, |
|
|
Widget * |
widget, |
|
|
Message * |
msg |
|
) |
| |
|
virtual |
◆ SetCursor()
void net::lliurex::lgi::X11Window::SetCursor |
( |
int |
type | ) |
|
|
virtual |
◆ SetCursorMode()
void net::lliurex::lgi::X11Window::SetCursorMode |
( |
int |
mode | ) |
|
|
virtual |
◆ SetCustomCursor()
void net::lliurex::lgi::X11Window::SetCustomCursor |
( |
BaseCursor * |
cursor | ) |
|
|
virtual |
◆ SetDndTargets()
void net::lliurex::lgi::X11Window::SetDndTargets |
( |
std::vector< std::string > |
targets | ) |
|
◆ SetDoubleClickTime()
void net::lliurex::lgi::X11Window::SetDoubleClickTime |
( |
int |
ms | ) |
|
|
virtual |
◆ SetSize()
void net::lliurex::lgi::X11Window::SetSize |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
virtual |
◆ SetTitle()
void net::lliurex::lgi::X11Window::SetTitle |
( |
const char * |
title | ) |
|
|
virtual |
◆ ShowLayer()
void net::lliurex::lgi::X11Window::ShowLayer |
( |
Layer * |
layer | ) |
|
|
virtual |
◆ cairo
cairo_t* net::lliurex::lgi::X11Window::cairo |
◆ cairo_surface
cairo_surface_t* net::lliurex::lgi::X11Window::cairo_surface |
◆ framebuffer
uint8_t* net::lliurex::lgi::X11Window::framebuffer |
The documentation for this class was generated from the following file: