mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Merge pull request #1661 from ftphikari/master
sys/windows: add ClientToScreen
This commit is contained in:
@@ -58,6 +58,7 @@ LPARAM :: LONG_PTR
|
|||||||
WPARAM :: UINT_PTR
|
WPARAM :: UINT_PTR
|
||||||
LRESULT :: LONG_PTR
|
LRESULT :: LONG_PTR
|
||||||
LPRECT :: ^RECT
|
LPRECT :: ^RECT
|
||||||
|
LPPOINT :: ^POINT
|
||||||
|
|
||||||
UINT8 :: u8
|
UINT8 :: u8
|
||||||
UINT16 :: u16
|
UINT16 :: u16
|
||||||
|
|||||||
@@ -97,6 +97,7 @@ foreign user32 {
|
|||||||
LoadCursorW :: proc(hInstance: HINSTANCE, lpCursorName: LPCWSTR) -> HCURSOR ---
|
LoadCursorW :: proc(hInstance: HINSTANCE, lpCursorName: LPCWSTR) -> HCURSOR ---
|
||||||
|
|
||||||
GetClientRect :: proc(hWnd: HWND, lpRect: ^RECT) -> BOOL ---
|
GetClientRect :: proc(hWnd: HWND, lpRect: ^RECT) -> BOOL ---
|
||||||
|
ClientToScreen :: proc(hWnd: HWND, lpPoint: LPPOINT) -> BOOL ---
|
||||||
SetWindowPos :: proc(
|
SetWindowPos :: proc(
|
||||||
hWnd: HWND,
|
hWnd: HWND,
|
||||||
hWndInsertAfter: HWND,
|
hWndInsertAfter: HWND,
|
||||||
|
|||||||
Reference in New Issue
Block a user