-
-
Notifications
You must be signed in to change notification settings - Fork 246
Expand file tree
/
Copy pathapi.cpp
More file actions
29 lines (25 loc) · 500 Bytes
/
api.cpp
File metadata and controls
29 lines (25 loc) · 500 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include "./api.h"
namespace bitsdojo_window {
BDWAPI _theAPI = {
getAppWindowHandle,
getScreenRect,
getScaleFactor,
getPosition,
setPosition,
getSize,
setSize,
setRect,
setMinSize,
setMaxSize,
showWindow,
hideWindow,
minimizeWindow,
maximizeWindow,
unmaximizeWindow,
setWindowTitle,
setTopmost
};
} // namespace bitsdojo_window
BDW_EXPORT bitsdojo_window::BDWAPI* bitsdojo_window_api() {
return &bitsdojo_window::_theAPI;
}