|
| WindowImpl (const char *title, int x, int y, int w, int h, int flags) |
|
void | draw () |
|
void | pixels_size (int *x, int *y) |
|
bool | on_close () |
|
void | on_resize (int new_w, int new_h) |
|
void | on_dropfile (std::string_view file) |
|
void | handle_windowev (const SDL_Event &event) |
|
bool | dispatch (Event &event) |
|
void | update_postion () |
|
Font | font () const |
| Get window's font. More...
|
|
|
SDL_Window * | win = nullptr |
|
Renderer | render |
|
Signal< void()> | sig_leave |
|
Signal< void()> | sig_enter |
|
Signal< bool()> | sig_close |
|
Signal< void(std::string_view)> | sig_dropfile |
|
Signal< void(int new_w, int new_h)> | sig_resize |
|
Signal< bool(Event &)> | sig_event |
|
Color | bg_color |
|
SDL_Cursor * | cursor = nullptr |
|
std::recursive_mutex | mtx |
|
Atomic | visible = false |
|
Uint32 | last_draw_ticks = 0 |
|
Theme | theme |
|
Container | container |
|
std::list< DrawCallback > | draw_cbs |
|
◆ font()
Font Btk::WindowImpl::font |
( |
| ) |
const |
|
inline |
Get window's font.
- Returns
- Font
The documentation for this struct was generated from the following files: