mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-05 06:00:33 -04:00
21 lines
381 B
C++
21 lines
381 B
C++
#include <libs/base64.h>
|
|
|
|
|
|
constexpr binary_data font_data ="@FONT_CONTENT@";
|
|
constexpr binary_data icon_data ="@ICON_CONTENT@";
|
|
|
|
extern "C" {
|
|
|
|
const void *LoadDefaultFont(void) {
|
|
return font_data.begin();
|
|
}
|
|
|
|
const void *getWindowIcon(void) {
|
|
return icon_data.begin();
|
|
}
|
|
size_t getWindowIconSize(void) {
|
|
return std::distance(icon_data.begin(),icon_data.end());
|
|
}
|
|
|
|
|
|
}
|