chore: initial commit

This commit is contained in:
fallenoak 2023-01-02 13:17:18 -06:00
commit 70b00c5c38
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
965 changed files with 264882 additions and 0 deletions

36
src/gx/Window.hpp Normal file
View file

@ -0,0 +1,36 @@
#ifndef GX_WINDOW_HPP
#define GX_WINDOW_HPP
#include <cstdint>
#if defined(WHOA_SYSTEM_MAC)
#include <ApplicationServices/ApplicationServices.h>
#endif
#if defined(WHOA_SYSTEM_LINUX) || defined(WHOA_SYSTEM_WIN)
struct Rect {
int16_t top;
int16_t left;
int16_t bottom;
int16_t right;
};
#endif
struct tagRECT {
int32_t left;
int32_t top;
int32_t right;
int32_t bottom;
};
int32_t OsGetDefaultWindowRect(tagRECT* rect);
Rect* GetSavedWindowBounds();
Rect* GetSavedZoomedWindowBounds();
void SetSavedWindowBounds(Rect rect);
void SetSavedZoomedWindowBounds(Rect rect);
#endif