~ctwm/ctwm/trunk

304.1.2 by Matthew Fuller
Run 'make indent' to reindent the world.
1
/*
554.1.6 by Matthew Fuller
Collapse away redundant license texts in most .h files. These are all
2
 * resize function externs
3
 *
4
 *
5
 *       Copyright 1988 by Evans & Sutherland Computer Corporation,
6
 *                          Salt Lake City, Utah
7
 *  Portions Copyright 1989 by the Massachusetts Institute of Technology
8
 *                        Cambridge, Massachusetts
1 by Claude Lecommandeur
CTWM version 1.1
9
 *
10
 * $XConsortium: resize.h,v 1.7 90/03/23 11:42:32 jim Exp $
11
 *
12
 *  8-Apr-88 Tom LaStrange        Initial Version.
13
 *
554.1.6 by Matthew Fuller
Collapse away redundant license texts in most .h files. These are all
14
 * Copyright 1992 Claude Lecommandeur.
15
 */
1 by Claude Lecommandeur
CTWM version 1.1
16
484 by Matthew Fuller
Consistently rename all the include guards so they match the filename,
17
#ifndef _CTWM_RESIZE_H
18
#define _CTWM_RESIZE_H
1 by Claude Lecommandeur
CTWM version 1.1
19
492.2.28 by Matthew Fuller
extern is implicit and the only linkage specifier that's meaningful
20
void OpaqueResizeSize(TwmWindow *tmp_win);
21
void MenuStartResize(TwmWindow *tmp_win, int x, int y, int w, int h);
22
void StartResize(XEvent *evp, TwmWindow *tmp_win,
23
                 bool fromtitlebar, bool from3dborder);
24
void AddStartResize(TwmWindow *tmp_win, int x, int y, int w, int h);
25
void MenuDoResize(int x_root, int y_root, TwmWindow *tmp_win);
26
void DoResize(int x_root, int y_root, TwmWindow *tmp_win);
27
void EndResize(void);
28
void MenuEndResize(TwmWindow *tmp_win);
29
void AddEndResize(TwmWindow *tmp_win);
30
void ConstrainSize(TwmWindow *tmp_win, unsigned
31
                   int *widthp, unsigned int *heightp);
32
33
void fullzoom(TwmWindow *tmp_win, int func);
34
void unzoom(TwmWindow *tmp_win);
35
void savegeometry(TwmWindow *tmp_win);
36
void restoregeometry(TwmWindow *tmp_win);
37
38
void ChangeSize(char *in_string, TwmWindow *tmp_win);
93 by Richard Levitte
- Convert all functions to use proper prototypes.
39
523.1.19 by Matthew Fuller
resizeFromCenter() is pretty clearly resizing stuff, so move it into
40
void resizeFromCenter(Window w, TwmWindow *tmp_win);
41
484 by Matthew Fuller
Consistently rename all the include guards so they match the filename,
42
#endif /* _CTWM_RESIZE_H */