CTWM
Loading...
Searching...
No Matches
/usr/src/RPM/BUILD/ctwm-4.1.0/functions_internal.h
Go to the documentation of this file.
1/*
2 * Internal bits for function handling
3 */
4
5#ifndef _CTWM_FUNCTIONS_INTERNAL_H
6#define _CTWM_FUNCTIONS_INTERNAL_H
7
8
9/* Keep in sync with ExecuteFunction() in external functions.h */
10#define EF_FULLPROTO \
11 int func, void * action, Window w, TwmWindow * tmp_win, \
12 XEvent * eventp, int context, bool pulldown
13#define EF_ARGS \
14 /*int */func, /*void **/action, /*Window */w, /*TwmWindow **/tmp_win, \
15 /*XEvent **/eventp, /*int */context, /*bool */pulldown
16
18
19#define DFHANDLER(func) void f_##func##_impl(EF_FULLPROTO)
20
21
22/*
23 * Various handlers
24 */
25
26/* functions_icmgr_wsmgr.c */
40
47
48
49/* functions_win_moveresize.c */
59DFHANDLER(resize);
82
83
84/* functions_workspaces.c */
103
104
105#ifdef CAPTIVE
106/* functions_captive.c */
109#endif
110
111
112/* functions_identify.c */
115
116
117/* functions_win.c */
133DFHANDLER(delete);
141DFHANDLER(colormap);
147
148
149/* functions_warp.c */
152DFHANDLER(ring);
155
156
157/* functions_misc.c */
162DFHANDLER(menu);
170#ifdef WINBOX
172#endif
177#ifdef SOUNDS
180#endif
182
183
184
185/*
186 * Extra exported from functions_icmgr_wsmgr.c for use in
187 * f.delete{,ordestroy}.
188 */
189void HideIconManager(void);
190
191
192/* Several different sections of window handling need this */
193extern Time last_time;
194
195/* Several places need to frob this to leave the cursor alone */
196extern bool func_reset_cursor;
197
198#endif /* _CTWM_FUNCTIONS_INTERNAL_H */
static int PlaceX
Definition add_window.c:82
#define DFHANDLER(func)
bool func_reset_cursor
Definition functions.c:65
void ExFunc(int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown)
void HideIconManager(void)
#define EF_FULLPROTO
Time last_time
Definition functions.c:71
void restoregeometry(TwmWindow *tmp_win)
void fullzoom(TwmWindow *tmp_win, int func)
Definition win_resize.c:896
void savegeometry(TwmWindow *tmp_win)
void fittocontent(TwmWindow *twmwin)
Definition windowbox.c:139