acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
aaa_oswindow_data.h
1#pragma once
2
3#ifdef __OBJECTIVE_CPP__
4
5typedef void * i32_to_int;
6
7#else
8
9struct UIWindow;
10
11#endif
12
13typedef UIWindow * nswindow;
14
15
16namespace user
17{
18
19
20 class interaction;
21 class interaction;
22
23
24} // namespace user
25
26
27
28class CLASS_DECL_ACME oswindow_data
29{
30public:
31
32
33 nswindow m_nswindow;
34 ::windowing::window * m_pimpl;
35 ::pointer<::message_queue> m_pmq;
36
37
38
39 oswindow_data();
40 oswindow_data(nswindow window);
41 oswindow_data(const oswindow_data & oswindow);
42 ~oswindow_data();
43
44
45 operator void * ()
46 {
47
48 return this;
49
50 }
51
52 operator void * () const
53 {
54
55 return (void *) this;
56
57 }
58
59#ifdef __OBJECTIVE_CPP__
60
61 operator ::nswindow ()
62 {
63 return window();
64 }
65
66#endif
67
68 oswindow_data & operator = (const oswindow_data & window);
69
70 bool operator == (const void * p) const
71 {
72 return this == p;
73 }
74 bool operator != (const void * p) const
75 {
76 return this != p;
77 }
78
79 nswindow window()
80 {
81 return is_null() ? nullptr : m_nswindow;
82 }
83
84
85 void set_user_interaction_impl(::windowing::window * pimpl);
86 ::windowing::window * get_user_interaction_impl();
87 ::windowing::window * get_user_interaction_impl() const;
88 ::user::interaction * get_user_interaction();
89 ::user::interaction * get_user_interaction() const;
90
91
92 void post_nc_destroy();
93
94
95 bool is_child(oswindow oswindowCandidateChildOrDescendant); // or descendant
96 oswindow get_parent();
97 oswindow set_parent(oswindow oswindowNewParent);
98 long get_state();
99 bool is_iconic();
100 bool is_window_visible();
101 bool show_window(const ::e_display & edisplay);
102 iptr get_window_long_ptr(iptr nIndex);
103 iptr set_window_long_ptr(iptr nIndex, iptr l);
104 bool client_to_screen(::i32_point * lppoint);
105 bool screen_to_client(::i32_point * lppoint);
106
107 bool is_null() const
108 {
109
110 return ::is_null(this);
111
112 }
113
114};
115
116
117::i32 oswindow_find(UIWindow * window);
118oswindow_data * oswindow_get(UIWindow * window);
119bool oswindow_erase(UIWindow * window);
120
121
Definition aaa_oswindow.h:108
Definition ___serialization_draft.h:150
Created by camilo on 2026-05-28 12:34 <3ThomasBorregaardSørensen!! Mummi!! Bilbo!!
Definition _.h:67