acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
aaa_windowing.h
1
//
2
// macos_window.h
3
// acme
4
//
5
// Created by Camilo Sasuke Thomas Borregaard Soerensen on 2013-09-17.
6
//
7
//
8
#pragma once
9
10
11
namespace
user
12
{
13
14
15
class
interaction;
16
class
interaction_impl;
17
18
19
}
// namespace user
20
21
#ifndef __OBJC__
22
23
struct
NSWindow;
24
25
#endif
26
27
//NSWindow * __nswindow(::acme::windowing::window * pacmewindowingwindow);
28
29
30
//#include "oswindow_data.h"
31
32
#define GetWindowLong GetWindowLongA
33
#define SetWindowLong SetWindowLongA
34
35
::i32 get_main_screen_rectangle(::i32_rectangle * prectangle);
36
37
38
::i32 GetScreenRect(::i32_rectangle * prectangle, ::i32 iMonitor);
39
40
41
::i32 GetScreenCount();
42
43
::i32 GetWorkspaceRect(::i32_rectangle * prectangle, ::i32 iMonitor);
44
45
46
::i32 GetWorkspaceCount();
47
48
49
50
//#define HWND_MESSAGE ((::oswindow_data *) (iptr) 1)
51
52
53
//i32_bool destroy_window(oswindow w);
54
55
56
//oswindow get_capture();
57
//oswindow set_capture(oswindow window);
58
//i32_bool release_capture();
59
//oswindow set_focus(oswindow window);
60
//oswindow get_focus();
61
//oswindow get_active_window();
62
//oswindow set_active_window(oswindow window);
63
//i32_bool enable_window(oswindow hwnd, i32_bool bEnable);
64
65
//void get_main_screen_rectangle(::i32_rectangle * prectangle);
66
67
//
68
//i32_bool SetForegroundWindow(oswindow window);
69
//i32_bool BringWindowToTop(oswindow window);
70
//
71
//void ns_redraw_window(oswindow window);
72
//
73
74
75
//void copy(CGRect & rectangle, const ::i32_rectangle * prectangle);
76
//
77
//void copy(::i32_rectangle * prectangle, const CGRect & rectangleSource);
78
//
79
//void screen_coordinates_aware_copy(CGRect & rectangle, const ::i32_rectangle * prectangle);
80
//
81
//void screen_coordinates_aware_copy(::i32_rectangle * prectangle, const CGRect & rectangleSource);
82
//
83
//#ifdef MM
84
//void copy(NSRect & rectangle, const ::i32_rectangle * prectangle);
85
//
86
//void copy(::i32_rectangle * prectangle, const NSRect & rectangleSource);
87
//
88
//void screen_coordinates_aware_copy(NSRect & rectangle, const ::i32_rectangle * prectangle);
89
//
90
//void screen_coordinates_aware_copy(::i32_rectangle * prectangle, const NSRect & rectangleSource);
91
//
92
//#endif
93
94
95
user
Created by camilo on 2026-05-28 12:34 <3ThomasBorregaardSørensen!! Mummi!! Bilbo!!
Definition
_.h:67
operating_system
macos
aaa_windowing.h
Generated by
1.17.0