mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 01:19:19 +02:00
renderer changes, time and environment window
This commit is contained in:
21
widgets/time.h
Normal file
21
widgets/time.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "uilayer.h"
|
||||
#include "translation.h"
|
||||
#include "command.h"
|
||||
|
||||
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();
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user