1 /*******************************************************************************
5 ** static char sccsid[] = "@(#)deskset.h 1.6 94/12/22 Copyr 1991 Sun Microsystems, Inc.";
7 ** $XConsortium: deskset.h /main/3 1995/11/03 10:22:50 rswiston $
9 ** RESTRICTED CONFIDENTIAL INFORMATION:
11 ** The information in this document is subject to special
12 ** restrictions in a confidential disclosure agreement between
13 ** HP, IBM, Sun, USL, SCO and Univel. Do not distribute this
14 ** document outside HP, IBM, Sun, USL, SCO, or Univel without
15 ** Sun's specific written approval. This document and all copies
16 ** and derivative works thereof must be returned or destroyed at
19 ** Copyright 1993 Sun Microsystems, Inc. All rights reserved.
21 *******************************************************************************/
24 * (c) Copyright 1993, 1994 Hewlett-Packard Company *
25 * (c) Copyright 1993, 1994 International Business Machines Corp. *
26 * (c) Copyright 1993, 1994 Sun Microsystems, Inc. *
27 * (c) Copyright 1993, 1994 Novell, Inc. *
34 #include <X11/Intrinsic.h>
38 ** Location ops for ds_position_popup().
41 DS_POPUP_RIGHT, /* Place popup to right of baseframe */
42 DS_POPUP_LEFT, /* Place popup to left of baseframe */
43 DS_POPUP_ABOVE, /* Place popup above baseframe */
44 DS_POPUP_BELOW, /* Place popup below baseframe */
45 DS_POPUP_LOR, /* Place popup to right or left of baseframe */
46 DS_POPUP_AOB, /* Place popup above or below baseframe */
47 DS_POPUP_CENTERED /* Center popup within baseframe */
51 ** Function declarations.
53 extern int ds_force_popup_on_screen P((Widget, int*, int*)) ;
54 extern void ds_get_screen_size P((Widget, int*, int*)) ;
55 extern int ds_position_popup P((Widget, Widget,
57 extern char *ds_relname P(());