Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:15:28

0001 /* 
0002  * Motif
0003  *
0004  * Copyright (c) 1987-2012, The Open Group. All rights reserved.
0005  *
0006  * These libraries and programs are free software; you can
0007  * redistribute them and/or modify them under the terms of the GNU
0008  * Lesser General Public License as published by the Free Software
0009  * Foundation; either version 2 of the License, or (at your option)
0010  * any later version.
0011  *
0012  * These libraries and programs are distributed in the hope that
0013  * they will be useful, but WITHOUT ANY WARRANTY; without even the
0014  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
0015  * PURPOSE. See the GNU Lesser General Public License for more
0016  * details.
0017  *
0018  * You should have received a copy of the GNU Lesser General Public
0019  * License along with these librararies and programs; if not, write
0020  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
0021  * Floor, Boston, MA 02110-1301 USA
0022 */ 
0023 
0024 #ifndef _XmScreen_h
0025 #define _XmScreen_h
0026 
0027 #include <Xm/Xm.h>
0028 #ifdef __cplusplus
0029 extern "C" {
0030 #endif
0031 
0032 #ifndef XmIsScreen
0033 #define XmIsScreen(w) (XtIsSubclass(w, xmScreenClass))
0034 #endif /* XmIsScreen */
0035 
0036 /* Class record constants */
0037 
0038 typedef struct _XmScreenRec *XmScreen;
0039 typedef struct _XmScreenClassRec *XmScreenClass;
0040 externalref     WidgetClass xmScreenClass;
0041 
0042 
0043 /********    Public Function Declarations    ********/
0044 
0045 typedef void (*XmScreenColorProc) (Screen * screen, 
0046                    XColor *bg_color, XColor *fg_color,
0047                    XColor *sel_color, XColor *ts_color, 
0048                    XColor *bs_color);
0049 typedef Status (*XmAllocColorProc) (Display *display,
0050                     Colormap colormap,
0051                     XColor *screen_in_out);
0052 extern Widget XmGetXmScreen( 
0053                         Screen *screen) ;
0054 /********    End Public Function Declarations    ********/
0055 
0056 
0057 #ifdef __cplusplus
0058 }  /* Close scope of 'extern "C"' declaration which encloses file. */
0059 #endif
0060 
0061 #endif /* _XmScreen_h */
0062