2021-08-15 16:47:44 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
2022-03-10 19:56:37 +01:00
|
|
|
#include <string>
|
|
|
|
|
#include "libs/ctpl/ctpl_stl.h"
|
2022-05-07 18:16:24 +02:00
|
|
|
#include "app.h"
|
|
|
|
|
#include "viewer/viewer.h"
|
|
|
|
|
#include "recorder/recorder.h"
|
2022-08-10 18:48:19 +02:00
|
|
|
#include "common/tile_map/map.h"
|
2021-08-15 16:47:44 +02:00
|
|
|
|
2022-03-10 19:56:37 +01:00
|
|
|
namespace satdump
|
|
|
|
|
{
|
|
|
|
|
extern std::string error_message;
|
|
|
|
|
extern bool isError_UI;
|
|
|
|
|
|
|
|
|
|
extern ctpl::thread_pool ui_thread_pool;
|
|
|
|
|
|
2022-03-30 15:41:23 +02:00
|
|
|
extern bool light_theme;
|
|
|
|
|
|
2022-05-07 18:16:24 +02:00
|
|
|
extern std::shared_ptr<RecorderApplication> recorder_app;
|
|
|
|
|
extern std::shared_ptr<ViewerApplication> viewer_app;
|
|
|
|
|
|
2023-08-23 15:45:10 -04:00
|
|
|
void initMainUI(float device_scale);
|
|
|
|
|
void updateUI(float device_scale);
|
2022-05-08 16:35:54 +02:00
|
|
|
void exitMainUI();
|
2022-03-10 19:56:37 +01:00
|
|
|
void renderMainUI(int wwidth, int wheight);
|
|
|
|
|
}
|