mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 10:59:20 +02:00
32 lines
453 B
C++
32 lines
453 B
C++
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
|