mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 22:39:18 +02:00
Make launcher respond to window resize
This commit is contained in:
@@ -314,6 +314,13 @@ bool ui_layer::on_mouse_button(int const Button, int const Action)
|
||||
return false;
|
||||
}
|
||||
|
||||
void ui_layer::on_window_resize(int w, int h)
|
||||
{
|
||||
for (auto *panel : m_panels)
|
||||
panel->on_window_resize(w, h);
|
||||
}
|
||||
|
||||
|
||||
void ui_layer::update()
|
||||
{
|
||||
for (auto *panel : m_panels)
|
||||
|
||||
Reference in New Issue
Block a user