Files
serial-imgui/include/SerialApp.h
T
Ivan I. Ovchinnikov 5a702fe0f8 style refactor
2026-07-27 21:29:50 +03:00

35 lines
742 B
C++

#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 isClosing() const { return shouldClose; }
private:
void renderMainMenuBar();
bool loadTheme(const std::string& filepath); // Метод парсинга файла темы
bool showConnectionWindow = true;
bool showPayloadWindow = true;
bool showLogWindow = true;
bool shouldClose;
ConnectionWindow connectionWindow;
PayloadWindow payloadWindow;
LogWindow logWindow;
};
#endif // SERIAL_SAMPLE_SERIALAPP_H