2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these libraries and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /* $XConsortium: ds_popup.h /main/3 1995/11/01 12:40:17 rswiston $ */
26 * Contains the NO_PROTO defines for functions is ds_popup.h. *
28 * (c) Copyright 1993, 1994 Hewlett-Packard Company *
29 * (c) Copyright 1993, 1994 International Business Machines Corp. *
30 * (c) Copyright 1993, 1994 Sun Microsystems, Inc. *
31 * (c) Copyright 1993, 1994 Novell, Inc. *
38 #include <X11/Intrinsic.h>
41 /* For all function declarations, if ANSI then use a prototype. */
45 #else /* ! __STDC__ */
49 /* Location ops for ds_position_popup(). */
52 DS_POPUP_RIGHT, /* Place popup to right of baseframe */
53 DS_POPUP_LEFT, /* Place popup to left of baseframe */
54 DS_POPUP_ABOVE, /* Place popup above baseframe */
55 DS_POPUP_BELOW, /* Place popup below baseframe */
56 DS_POPUP_LOR, /* Place popup to right or left of baseframe */
57 DS_POPUP_AOB, /* Place popup above or below baseframe */
58 DS_POPUP_CENTERED /* Center popup within baseframe */
61 int ds_position_popup P((Widget, Widget, enum ds_location_op)) ;
62 int ds_force_popup_on_screen P((Widget, int *, int *)) ;
64 void ds_get_screen_size P((Widget, int *, int *)) ;
66 void _DtGenericMapWindow P((Widget shell, Widget parent ));
67 void _DtChildPosition P((Widget w, Widget parent, Position *newX, Position *newY));
69 #endif /*!_ds_popup_h*/