mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Merge pull request #4832 from bungoboingo/fix/sdl-window-bindings
Fix bindings for some window functions in SDL3
This commit is contained in:
Vendored
+7
-7
@@ -342,13 +342,13 @@ foreign lib {
|
|||||||
GetCurrentDisplayMode :: proc(displayID: DisplayID) -> ^DisplayMode ---
|
GetCurrentDisplayMode :: proc(displayID: DisplayID) -> ^DisplayMode ---
|
||||||
GetDisplayForPoint :: proc(#by_ptr point: Point) -> DisplayID ---
|
GetDisplayForPoint :: proc(#by_ptr point: Point) -> DisplayID ---
|
||||||
GetDisplayForRect :: proc(#by_ptr rect: Rect) -> DisplayID ---
|
GetDisplayForRect :: proc(#by_ptr rect: Rect) -> DisplayID ---
|
||||||
GetDisplayForWindow :: proc(window: Window) -> DisplayID ---
|
GetDisplayForWindow :: proc(window: ^Window) -> DisplayID ---
|
||||||
GetWindowPixelDensity :: proc(window: Window) -> f32 ---
|
GetWindowPixelDensity :: proc(window: ^Window) -> f32 ---
|
||||||
GetWindowDisplayScale :: proc(window: Window) -> f32 ---
|
GetWindowDisplayScale :: proc(window: ^Window) -> f32 ---
|
||||||
SetWindowFullscreenMode :: proc(window: Window, #by_ptr mode: DisplayMode) -> bool ---
|
SetWindowFullscreenMode :: proc(window: ^Window, #by_ptr mode: DisplayMode) -> bool ---
|
||||||
GetWindowFullscreenMode :: proc(window: Window) -> ^DisplayMode ---
|
GetWindowFullscreenMode :: proc(window: ^Window) -> ^DisplayMode ---
|
||||||
GetWindowICCProfile :: proc(window: Window, size: ^uint) -> rawptr ---
|
GetWindowICCProfile :: proc(window: ^Window, size: ^uint) -> rawptr ---
|
||||||
GetWindowPixelFormat :: proc(window: Window) -> PixelFormat ---
|
GetWindowPixelFormat :: proc(window: ^Window) -> PixelFormat ---
|
||||||
GetWindows :: proc(count: ^c.int) -> [^]^Window ---
|
GetWindows :: proc(count: ^c.int) -> [^]^Window ---
|
||||||
CreateWindow :: proc(title: cstring, w, h: c.int, flags: WindowFlags) -> ^Window ---
|
CreateWindow :: proc(title: cstring, w, h: c.int, flags: WindowFlags) -> ^Window ---
|
||||||
CreatePopupWindow :: proc(parent: ^Window, offset_x, offset_y: c.int, w, h: c.int, flags: WindowFlags) -> ^Window ---
|
CreatePopupWindow :: proc(parent: ^Window, offset_x, offset_y: c.int, w, h: c.int, flags: WindowFlags) -> ^Window ---
|
||||||
|
|||||||
Reference in New Issue
Block a user