Readded global log
This commit is contained in:
parent
3c5e41af94
commit
19db2a57ea
4 changed files with 56 additions and 37 deletions
|
|
@ -15,6 +15,8 @@ class MainProgram;
|
|||
class Toolbar {
|
||||
public:
|
||||
struct LogMessage {
|
||||
static constexpr float DISPLAY_TIME = 8.0f;
|
||||
static constexpr float FADE_START_TIME = 7.0f;
|
||||
std::string text;
|
||||
enum {
|
||||
COLOR_NORMAL = 0,
|
||||
|
|
@ -41,6 +43,7 @@ class Toolbar {
|
|||
std::string chatMessageInput;
|
||||
|
||||
Toolbar(MainProgram& initMain);
|
||||
void update();
|
||||
void layout_run();
|
||||
struct ColorSelectorData {
|
||||
std::function<void()> onChange;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue