2023-12-20 14:11:57 -05:00
|
|
|
#define SATDUMP_DLL_EXPORT 1
|
|
|
|
|
#include "backend.h"
|
|
|
|
|
|
|
|
|
|
namespace backend
|
|
|
|
|
{
|
2025-01-03 12:05:46 -05:00
|
|
|
SATDUMP_DLL float device_scale;
|
2024-01-21 17:30:00 -05:00
|
|
|
|
2026-01-28 20:29:19 +01:00
|
|
|
SATDUMP_DLL float mouse_set_offset_x = 0;
|
|
|
|
|
SATDUMP_DLL float mouse_set_offset_y = 0;
|
|
|
|
|
|
2025-01-03 12:05:46 -05:00
|
|
|
SATDUMP_DLL std::function<void()> rebuildFonts;
|
|
|
|
|
SATDUMP_DLL std::function<void(int, int)> setMousePos;
|
|
|
|
|
SATDUMP_DLL std::function<std::pair<int, int>()> beginFrame;
|
|
|
|
|
SATDUMP_DLL std::function<void()> endFrame;
|
2025-05-03 12:12:36 +02:00
|
|
|
SATDUMP_DLL std::function<void(uint8_t *, int, int)> setIcon;
|
|
|
|
|
|
|
|
|
|
SATDUMP_DLL std::function<std::string(std::string)> selectFolderDialog;
|
|
|
|
|
SATDUMP_DLL std::function<std::string(std::vector<std::pair<std::string, std::string>>, std::string)> selectFileDialog;
|
|
|
|
|
SATDUMP_DLL std::function<std::string(std::vector<std::pair<std::string, std::string>>, std::string, std::string)> saveFileDialog;
|
|
|
|
|
} // namespace backend
|