mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 00:09:18 +02:00
add missing files
This commit is contained in:
18
launcher/launcheruilayer.cpp
Normal file
18
launcher/launcheruilayer.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#include "stdafx.h"
|
||||
#include "launcher/launcheruilayer.h"
|
||||
|
||||
launcher_ui::launcher_ui()
|
||||
{
|
||||
add_external_panel(&m_scenerylist_panel);
|
||||
add_external_panel(&m_keymapper_panel);
|
||||
add_external_panel(&m_mainmenu_panel);
|
||||
add_external_panel(&m_vehiclepicker_panel);
|
||||
}
|
||||
|
||||
bool launcher_ui::on_key(const int Key, const int Action)
|
||||
{
|
||||
if (m_keymapper_panel.key(Key))
|
||||
return true;
|
||||
|
||||
return ui_layer::on_key(Key, Action);
|
||||
}
|
||||
Reference in New Issue
Block a user