add_window.h revision f66df612
1/*****************************************************************************/ 2/* 3 4Copyright 1989, 1998 The Open Group 5 6Permission to use, copy, modify, distribute, and sell this software and its 7documentation for any purpose is hereby granted without fee, provided that 8the above copyright notice appear in all copies and that both that 9copyright notice and this permission notice appear in supporting 10documentation. 11 12The above copyright notice and this permission notice shall be included in 13all copies or substantial portions of the Software. 14 15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 19AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 22Except as contained in this notice, the name of The Open Group shall not be 23used in advertising or otherwise to promote the sale, use or other dealings 24in this Software without prior written authorization from The Open Group. 25 26*/ 27/** Copyright 1988 by Evans & Sutherland Computer Corporation, **/ 28/** Salt Lake City, Utah **/ 29/** Cambridge, Massachusetts **/ 30/** **/ 31/** All Rights Reserved **/ 32/** **/ 33/** Permission to use, copy, modify, and distribute this software and **/ 34/** its documentation for any purpose and without fee is hereby **/ 35/** granted, provided that the above copyright notice appear in all **/ 36/** copies and that both that copyright notice and this permis- **/ 37/** sion notice appear in supporting documentation, and that the **/ 38/** name of Evans & Sutherland not be used in advertising **/ 39/** in publicity pertaining to distribution of the software without **/ 40/** specific, written prior permission. **/ 41/** **/ 42/** EVANS & SUTHERLAND DISCLAIMs ALL WARRANTIES WITH REGARD **/ 43/** TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT- **/ 44/** ABILITY AND FITNESS, IN NO EVENT SHALL EVANS & SUTHERLAND **/ 45/** BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAM- **/ 46/** AGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA **/ 47/** OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER **/ 48/** TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE **/ 49/** OR PERFORMANCE OF THIS SOFTWARE. **/ 50/*****************************************************************************/ 51 52/********************************************************************** 53 * 54 * AddWindow include file 55 * 56 * 31-Mar-88 Tom LaStrange Initial Version. 57 * 58 **********************************************************************/ 59 60#ifndef _ADD_WINDOW_ 61#define _ADD_WINDOW_ 62 63#include "iconmgr.h" 64 65extern char NoName[]; 66 67extern void AddDefaultBindings(void); 68extern TwmWindow *AddWindow(Window w, int iconm, IconMgr *iconp); 69extern ColormapWindow *CreateColormapWindow(Window w, Bool creating_parent, 70 Bool property_window); 71extern TwmColormap *CreateTwmColormap(Colormap c); 72extern void FetchWmColormapWindows(TwmWindow *tmp); 73extern void FetchWmProtocols(TwmWindow *tmp); 74extern void GetGravityOffsets(TwmWindow *tmp, int *xp, int *yp); 75extern void GetWindowSizeHints(TwmWindow *tmp); 76extern void GrabButtons(TwmWindow *tmp_win); 77extern void GrabKeys(TwmWindow *tmp_win); 78extern int MappedNotOverride(Window w); 79extern void SetHighlightPixmap(char *filename); 80extern int AddingX; 81extern int AddingY; 82extern int AddingW; 83extern int AddingH; 84 85#endif /* _ADD_WINDOW_ */ 86