60CLASS_DECL_AURA
oswindow_data * oswindow_get(Display * pdisplay, Window
window, Visual * pvisual =
nullptr, ::i32 iDepth = -1, ::i32 iScreen = -1, Colormap colormap = None);
107class CLASS_DECL_AURA oswindow_data
112 HCURSOR m_hcursorLast;
117 osdisplay m_osdisplay;
122 bool m_bMessageOnlyWindow;
123 ::pointer<::windowing::window> m_pimpl;
124 ::pointer<message_queue> m_pmq;
127 class ::time m_timeLastMouseMove;
129 ::i32_rectangle m_rectangle;
131 ::i32 m_iaNetWmState[net_wm_state_count];
135 static ::pointer< ::mutex > s_pmutex;
137 static Atom s_atomLongType;
138 static Atom s_atomLongStyle;
139 static Atom s_atomLongStyleEx;
141 static Atom get_window_long_atom(::i32 nIndex);
163 operator void * ()
const
165 return (
void *)
this;
168 oswindow_data & operator = (
const oswindow_data & window);
170 bool operator == (
const void * p)
const
175 bool operator != (
const void * p)
const
182 return ::is_null(
this) ? nullptr : m_osdisplay->display();
185 Display * display()
const
187 return ::is_null(
this) ? nullptr : m_osdisplay->display();
192 return ::is_null(
this) ? None : m_window;
195 Window window()
const
197 return ::is_null(
this) ? None : m_window;
202 return ::is_null(
this) ? nullptr : &m_visual;
205 Visual * visual()
const
207 return ::is_null(
this) ? nullptr : (Visual *) &m_visual;
210 Window root_window_raw()
const
212 return ::is_null(
this) || ::is_null(m_osdisplay) ? None : RootWindow(display(), m_iScreen);
216 ::i32 store_name(const ::scoped_string & scopedstr);
217 ::i32 select_input(::i32 iInput);
218 ::i32 select_all_input();
220 ::i32 unmap_window(
bool bWithdraw);
221 void set_wm_class(const ::scoped_string & scopedstr);
225 void full_screen(const ::i32_rectangle & rectangle =
nullptr);
227 void exit_full_screen();
231 void set_user_interaction(::windowing::window * pinteraction);
234 void post_nc_destroy();
237 bool is_child(oswindow oswindowcandidateChildOrDescendant);
238 oswindow get_parent();
239 Window get_parent_handle();
241 oswindow set_parent(oswindow oswindowNewParent);
244 bool is_window_visible();
245 bool show_window(const ::e_display & edisplay, const ::user::e_activation & useractivation);
246 iptr get_window_long_ptr(::i32 nIndex);
247 iptr set_window_long_ptr(::i32 nIndex, iptr l);
248 bool client_to_screen(::i32_point * ppoint);
250 bool screen_to_client(::i32_point * ppoint);
253 Atom intern_atom(const ::scoped_string & scopedstrAtomName,
bool bCreate);
254 Atom intern_atom(e_net_wm_state state,
bool bCreate);
258 return ::is_null(
this);
261 bool set_window_position(class ::zorder zorder, ::i32 x, ::i32 y, ::i32 cx, ::i32 cy, ::u32 nFlags);
262 bool _set_window_pos(class ::zorder zorder, ::i32 x, ::i32 y, ::i32 cx, ::i32 cy, ::u32 nFlags);
264 bool is_destroying();
266 bool bamf_set_icon();
268 bool set_icon(::image::image *pimage);
270 ::i32 x_change_property(Atom
property, Atom type, ::i32 format, ::i32 mode, const ::u8 * data, ::i32 nelements);
void send_client_event(Atom atom, ::u32 numArgs,...)
Post an happening from the client to the X server.
Definition aaa_oswindow.cpp:804