mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
-Win32-
New - Constants: WHITENESS & BLACKNESS, and WM_PAINT - Methods: pat_blt, register_class_a, register_class_w, message_box_a, message_box_w, begin_paint, and end_paint - Structs: Wnd_Class_A, Wnd_Class_W, Paint_Struct Modified - WM_INPUT : Capitalized alphabetical values for consistency with other values
This commit is contained in:
@@ -3,6 +3,8 @@ package win32
|
||||
|
||||
foreign import "system:gdi32.lib"
|
||||
|
||||
WHITENESS :: 0x00FF0062;
|
||||
BLACKNESS :: 0x00FF0062;
|
||||
|
||||
@(default_calling_convention = "std")
|
||||
foreign gdi32 {
|
||||
@@ -20,4 +22,5 @@ foreign gdi32 {
|
||||
@(link_name="ChoosePixelFormat") choose_pixel_format :: proc(hdc: Hdc, pfd: ^Pixel_Format_Descriptor) -> i32 ---;
|
||||
@(link_name="SwapBuffers") swap_buffers :: proc(hdc: Hdc) -> Bool ---;
|
||||
|
||||
@(link_name="PatBlt") pat_blt :: proc(hdc: Hdc, x, y, w, h: i32, rop: u32) -> Bool ---;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user