mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
chore: initial commit
This commit is contained in:
commit
70b00c5c38
965 changed files with 264882 additions and 0 deletions
36
src/gx/Window.hpp
Normal file
36
src/gx/Window.hpp
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue