Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
SoXtInternal.h
이 파일의 문서화 페이지로 가기
1 /**************************************************************************\
2  *
3  * This file is part of the Coin 3D visualization library.
4  * Copyright (C) 1998-2004 by Systems in Motion. All rights reserved.
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * ("GPL") version 2 as published by the Free Software Foundation.
9  * See the file LICENSE.GPL at the root directory of this source
10  * distribution for additional information about the GNU GPL.
11  *
12  * For using Coin with software that can not be combined with the GNU
13  * GPL, and for taking advantage of the additional benefits of our
14  * support services, please contact Systems in Motion about acquiring
15  * a Coin Professional Edition License.
16  *
17  * See <URL:http://www.coin3d.org/> for more information.
18  *
19  * Systems in Motion, Teknobyen, Abels Gate 5, 7030 Trondheim, NORWAY.
20  * <URL:http://www.sim.no/>.
21  *
22 \**************************************************************************/
23 
24 #ifndef SOXTINTERNALUTILS_H
25 #define SOXTINTERNALUTILS_H
26 
27 #include <X11/Intrinsic.h>
28 #include <Inventor/SbBasic.h> // SbBool
29 
30 // ************************************************************************
31 
32 // This class contains common data and methods that we want to share
33 // among classes within SoXt, but which should not be publicly visible
34 // in the library API.
35 
36 class SoXtInternal {
37 public:
38  static void selectBestVisual(Display * dpy, Visual * & visual,
39  Colormap & cmap, int & depth);
40 
41  static Pixmap createPixmapFromXpm(Widget button, const char ** xpm,
42  SbBool ghost = FALSE);
43 
44  static void setAppName(const char * appname);
45  static void setAppClass(const char * appclass);
46  static const char * getAppName(void);
47  static const char * getAppClass(void);
48 
49 private:
50  static const char * xpmErrorString(int error);
51 
52  static char * appname;
53  static char * appclass;
54 };
55 
56 // ************************************************************************
57 
58 #endif // ! SOXTINTERNALUTILS_H
static char * appname
Definition: SoXtInternal.h:52
static const char * getAppName(void)
static void selectBestVisual(Display *dpy, Visual *&visual, Colormap &cmap, int &depth)
#define FALSE
Definition: globals.hh:52
static const char * xpmErrorString(int error)
static Pixmap createPixmapFromXpm(Widget button, const char **xpm, SbBool ghost=FALSE)
static void setAppClass(const char *appclass)
static void setAppName(const char *appname)
static PROLOG_HANDLER error
Definition: xmlrole.cc:112
static char * appclass
Definition: SoXtInternal.h:53
static const char * getAppClass(void)