initial
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#ifndef SERIAL_SAMPLE_SERIALAPP_H
|
||||
#define SERIAL_SAMPLE_SERIALAPP_H
|
||||
|
||||
#include "ConnectionWindow.h"
|
||||
#include "PayloadWindow.h"
|
||||
#include "LogWindow.h"
|
||||
#include <string>
|
||||
|
||||
class SerialApp {
|
||||
public:
|
||||
SerialApp();
|
||||
~SerialApp() = default;
|
||||
|
||||
void Initialize();
|
||||
void RenderUI();
|
||||
|
||||
bool ShouldClose() const { return should_close; }
|
||||
|
||||
private:
|
||||
void RenderMainMenuBar();
|
||||
bool LoadTheme(const std::string& filepath); // Метод парсинга файла темы
|
||||
|
||||
bool show_connection_window = true;
|
||||
bool show_payload_window = true;
|
||||
bool show_log_window = true;
|
||||
|
||||
bool should_close;
|
||||
|
||||
ConnectionWindow connection_window;
|
||||
PayloadWindow payload_window;
|
||||
LogWindow log_window;
|
||||
};
|
||||
|
||||
#endif // SERIAL_SAMPLE_SERIALAPP_H
|
||||
Reference in New Issue
Block a user