482.1.1
by Matthew Fuller
Minimal functional break out of ExecuteFunction() and its subsidiary |
1 |
/*
|
2 |
* f.whatever function dispatcher
|
|
3 |
*/
|
|
4 |
||
484
by Matthew Fuller
Consistently rename all the include guards so they match the filename, |
5 |
#ifndef _CTWM_FUNCTIONS_H
|
6 |
#define _CTWM_FUNCTIONS_H
|
|
482.1.1
by Matthew Fuller
Minimal functional break out of ExecuteFunction() and its subsidiary |
7 |
|
8 |
/* All the outside world sees */
|
|
528.1.39
by Matthew Fuller
Setup macros for the definition and calling of these function |
9 |
/* x-ref EF_FULLPROTO in functions_internal.h; keep sync */
|
528.1.16
by Matthew Fuller
Only the f.function case needs to use the return from ExecuteFunction, |
10 |
void ExecuteFunction(int func, void *action, Window w, TwmWindow *tmp_win, |
492.2.95
by Matthew Fuller
int->bool for boolean arg on ExecuteFunction() |
11 |
XEvent *eventp, int context, bool pulldown); |
482.1.1
by Matthew Fuller
Minimal functional break out of ExecuteFunction() and its subsidiary |
12 |
|
497.1.9
by Matthew Fuller
enum-ify this global var and move the old #define's for it into an |
13 |
|
14 |
typedef enum { |
|
15 |
MOVE_NONE, |
|
16 |
MOVE_VERT, |
|
17 |
MOVE_HORIZ, |
|
18 |
} CMoveDir; |
|
19 |
||
539.1.12
by Matthew Fuller
The ReGrab()/LastCursor business is only used in AddWindow(), and only |
20 |
|
21 |
/* Extra util used in add_window.c */
|
|
22 |
void ReGrab(void); |
|
23 |
||
24 |
||
535.1.25
by Matthew Fuller
Move the geometry save/restore and the various window move functions |
25 |
/* From functions_win_moveresize.c: needed in event_handlers.c */
|
492.2.91
by Matthew Fuller
Track down a bunch more boolean vars, and make them bool. |
26 |
extern bool ConstMove; |
497.1.9
by Matthew Fuller
enum-ify this global var and move the old #define's for it into an |
27 |
extern CMoveDir ConstMoveDir; |
482.1.4
by Matthew Fuller
Move some vars around between menus.c and execute_function.c to match |
28 |
extern int ConstMoveX; |
29 |
extern int ConstMoveY; |
|
482.1.1
by Matthew Fuller
Minimal functional break out of ExecuteFunction() and its subsidiary |
30 |
|
535.1.25
by Matthew Fuller
Move the geometry save/restore and the various window move functions |
31 |
|
535.1.49
by Matthew Fuller
Move f.identify/f.version handlers into dispatched functions in their |
32 |
/* From functions_identify.c: needed in event_handlers.c */
|
482.1.14
by Matthew Fuller
Encapsulate writing the text into the info window into a function |
33 |
void draw_info_window(void); |
34 |
||
482.1.6
by Matthew Fuller
These vars for the f.identify window belong to it, so move them into |
35 |
|
482.1.1
by Matthew Fuller
Minimal functional break out of ExecuteFunction() and its subsidiary |
36 |
/* Leaks to a few places */
|
482.1.26
by Matthew Fuller
Align. |
37 |
extern int RootFunction; |
38 |
extern int MoveFunction; |
|
482.1.25
by Matthew Fuller
Convert WindowMoved into a proper bool since that's how it's being |
39 |
extern bool WindowMoved; |
482.1.26
by Matthew Fuller
Align. |
40 |
extern int ResizeOrigX; |
41 |
extern int ResizeOrigY; |
|
482.1.1
by Matthew Fuller
Minimal functional break out of ExecuteFunction() and its subsidiary |
42 |
|
484
by Matthew Fuller
Consistently rename all the include guards so they match the filename, |
43 |
#endif /* _CTWM_FUNCTIONS_H */ |