mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-18 14:59:19 +02:00
pch migration to modules [wip]
This commit is contained in:
31
widgets/time.cppm
Normal file
31
widgets/time.cppm
Normal file
@@ -0,0 +1,31 @@
|
||||
module;
|
||||
#include "utilities/translation_macros.h"
|
||||
|
||||
export module eu07.widgets.time;
|
||||
import eu07.application.uilayer;
|
||||
import eu07.utilities.translation;
|
||||
import eu07.input.command;
|
||||
|
||||
export {
|
||||
|
||||
namespace ui
|
||||
{
|
||||
class time_panel : public ui_panel
|
||||
{
|
||||
command_relay m_relay;
|
||||
|
||||
float time;
|
||||
int yearday;
|
||||
float fog;
|
||||
float overcast;
|
||||
float temperature;
|
||||
|
||||
public:
|
||||
time_panel();
|
||||
|
||||
void render_contents() override;
|
||||
void open();
|
||||
};
|
||||
} // namespace ui
|
||||
|
||||
} // export
|
||||
Reference in New Issue
Block a user