mirror of
https://github.com/SatDump/SatDump
synced 2026-08-13 17:47:30 -04:00
26 lines
1,004 B
C++
26 lines
1,004 B
C++
#pragma once
|
|
|
|
#include "dll_export.h"
|
|
#include <functional>
|
|
#include <stdint.h>
|
|
#include <string>
|
|
#include <utility>
|
|
#include <vector>
|
|
|
|
namespace backend
|
|
{
|
|
SATDUMP_DLL extern float device_scale;
|
|
|
|
SATDUMP_DLL extern float mouse_set_offset_x;
|
|
SATDUMP_DLL extern float mouse_set_offset_y;
|
|
|
|
SATDUMP_DLL extern std::function<void()> rebuildFonts;
|
|
SATDUMP_DLL extern std::function<void(int, int)> setMousePos;
|
|
SATDUMP_DLL extern std::function<std::pair<int, int>()> beginFrame;
|
|
SATDUMP_DLL extern std::function<void()> endFrame;
|
|
SATDUMP_DLL extern std::function<void(uint8_t *, int, int)> setIcon;
|
|
|
|
SATDUMP_DLL extern std::function<std::string(std::string)> selectFolderDialog;
|
|
SATDUMP_DLL extern std::function<std::string(std::vector<std::pair<std::string, std::string>>, std::string)> selectFileDialog;
|
|
SATDUMP_DLL extern std::function<std::string(std::vector<std::pair<std::string, std::string>>, std::string, std::string)> saveFileDialog;
|
|
} // namespace backend
|