1/* 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 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 * 14 * Copyright 1992 Claude Lecommandeur. 15 */ 16 17#ifndef _CTWM_RESIZE_H 18#define _CTWM_RESIZE_H 19 20void OpaqueResizeSize(TwmWindow *tmp_win); 21void MenuStartResize(TwmWindow *tmp_win, int x, int y, int w, int h); 22void StartResize(XEvent *evp, TwmWindow *tmp_win, 23 bool fromtitlebar, bool from3dborder); 24void AddStartResize(TwmWindow *tmp_win, int x, int y, int w, int h); 25void MenuDoResize(int x_root, int y_root, TwmWindow *tmp_win); 26void DoResize(int x_root, int y_root, TwmWindow *tmp_win); 27void EndResize(void); 28void MenuEndResize(TwmWindow *tmp_win); 29void AddEndResize(TwmWindow *tmp_win); 30void ConstrainSize(TwmWindow *tmp_win, unsigned 31 int *widthp, unsigned int *heightp); 32 33void fullzoom(TwmWindow *tmp_win, int func); 34void unzoom(TwmWindow *tmp_win); 35void savegeometry(TwmWindow *tmp_win); 36void restoregeometry(TwmWindow *tmp_win); 37 38void ChangeSize(char *in_string, TwmWindow *tmp_win); 39 40void resizeFromCenter(Window w, TwmWindow *tmp_win); 41 42#endif /* _CTWM_RESIZE_H */ 43