]>
Dogcows Code - chaz/openbox/blob - openbox/window.h
409697c1efc4503cef5c0358248a5e18cdfb0614
10 } Window_InternalType
;
12 typedef struct ObWindow
{
13 Window_InternalType type
;
16 #define WINDOW_IS_MENU(win) (((ObWindow*)win)->type == Window_Menu)
17 #define WINDOW_IS_SLIT(win) (((ObWindow*)win)->type == Window_Slit)
18 #define WINDOW_IS_CLIENT(win) (((ObWindow*)win)->type == Window_Client)
24 #define WINDOW_AS_MENU(win) ((struct Menu*)win)
25 #define WINDOW_AS_SLIT(win) ((struct Slit*)win)
26 #define WINDOW_AS_CLIENT(win) ((struct Client*)win)
28 #define MENU_AS_WINDOW(menu) ((ObWindow*)menu)
29 #define SLIT_AS_WINDOW(slit) ((ObWindow*)slit)
30 #define CLIENT_AS_WINDOW(client) ((ObWindow*)client)
32 Window
window_top(ObWindow
*self
);
33 Window
window_layer(ObWindow
*self
);
This page took 0.032471 seconds and 3 git commands to generate.