1
0
mirror of synced 2024-12-28 07:23:05 +01:00
ImHex/lib/libimhex/include/hex/helpers/utils_macos.hpp

25 lines
682 B
C++
Raw Normal View History

#pragma once
#if defined(OS_MACOS)
struct GLFWwindow;
2023-02-08 13:51:56 +01:00
extern "C" {
void errorMessageMacos(const char *message);
2023-02-08 13:51:56 +01:00
void openWebpageMacos(const char *url);
bool isMacosSystemDarkModeEnabled();
bool isMacosFullScreenModeEnabled(GLFWwindow *window);
2023-02-08 14:11:42 +01:00
float getBackingScaleFactor();
2023-02-08 13:51:56 +01:00
void setupMacosWindowStyle(GLFWwindow *window, bool borderlessWindowMode);
void enumerateFontsMacos();
void macosHandleTitlebarDoubleClickGesture(GLFWwindow *window);
bool macosIsWindowBeingResizedByUser(GLFWwindow *window);
void macosMarkContentEdited(GLFWwindow *window, bool edited = true);
2023-02-08 13:51:56 +01:00
}
#endif