1 #ifndef SOWIN_FULLVIEWER_H 2 #define SOWIN_FULLVIEWER_H 38 #include <Inventor/Win/viewers/SoWinViewer.h> 50 BUILD_DECORATION = 0x01,
52 BUILD_ALL = (BUILD_DECORATION | BUILD_POPUP)
55 void setDecoration(
const SbBool on);
56 SbBool isDecoration(
void)
const;
58 void setPopupMenuEnabled(
const SbBool on);
59 SbBool isPopupMenuEnabled(
void)
const;
61 HWND getAppPushButtonParent(
void)
const;
62 void addAppPushButton(HWND newButton);
63 void insertAppPushButton(HWND newButton,
int index);
64 void removeAppPushButton(HWND oldButton);
65 int findAppPushButton(HWND oldButton)
const;
66 int lengthAppPushButton(
void)
const;
68 HWND getRenderAreaWidget(
void)
const;
85 HWND buildWidget(HWND parent);
87 virtual void buildDecoration(HWND parent);
88 virtual HWND buildLeftTrim(HWND parent);
89 virtual HWND buildBottomTrim(HWND parent);
90 virtual HWND buildRightTrim(HWND parent);
91 HWND buildAppButtons(HWND parent);
92 HWND buildViewerButtons(HWND parent);
93 virtual void createViewerButtons(HWND parent,
SbPList * buttonlist);
95 virtual void buildPopupMenu(
void);
96 virtual void setPopupMenuString(
const char * title);
97 virtual void openPopupMenu(
const SbVec2s position);
99 virtual void leftWheelStart(
void);
100 virtual void leftWheelMotion(
float);
101 virtual void leftWheelFinish(
void);
102 float getLeftWheelValue(
void)
const;
103 void setLeftWheelValue(
const float value);
105 virtual void bottomWheelStart(
void);
106 virtual void bottomWheelMotion(
float);
107 virtual void bottomWheelFinish(
void);
108 float getBottomWheelValue(
void)
const;
109 void setBottomWheelValue(
const float value);
111 virtual void rightWheelStart(
void);
112 virtual void rightWheelMotion(
float);
113 virtual void rightWheelFinish(
void);
114 float getRightWheelValue(
void)
const;
115 void setRightWheelValue(
const float value);
117 void setLeftWheelString(
const char *
const name);
118 HWND getLeftWheelLabelWidget(
void)
const;
119 void setBottomWheelString(
const char *
const name);
120 HWND getBottomWheelLabelWidget(
void)
const;
121 void setRightWheelString(
const char *
const name);
122 const char * getRightWheelString()
const;
123 HWND getRightWheelLabelWidget(
void)
const;
155 class SoWinFullViewerP * pimpl;
157 friend class SoGuiFullViewerP;
158 friend class SoWinFullViewerP;
164 #ifdef __COIN_SOXT__ // FIXME: get rid of non-templatized code. 20020108 mortene. 166 Widget buildFunctionsSubmenu(Widget popup);
167 Widget buildDrawStyleSubmenu(Widget popup);
172 #endif // __COIN_SOXT__ 177 #endif // ! SOWIN_FULLVIEWER_H virtual void setComponentCursor(const SoWinCursor &cursor)
Definition: SoWinComponent.cpp:735
HWND leftDecoration
Definition: SoWinFullViewer.h:132
The SoWinCursor class is used to set cursors for GUI components.
Definition: SoWinCursor.h:41
The SoWinViewer class is the top level base viewer class.
Definition: SoWinViewer.h:90
virtual void sizeChanged(const SbVec2s &size)
Definition: SoWinViewer.cpp:3651
The SoWinFullViewer class adds some user interface components to the viewer canvas.
Definition: SoWinFullViewer.h:44
HWND leftWheel
Definition: SoWinFullViewer.h:128
HWND rightWheelLabel
Definition: SoWinFullViewer.h:140
HWND bottomWheelLabel
Definition: SoWinFullViewer.h:144
virtual SbBool processSoEvent(const SoEvent *const event)
Definition: SoWinViewer.cpp:3660
HWND bottomWheel
Definition: SoWinFullViewer.h:130
HWND bottomDecoration
Definition: SoWinFullViewer.h:134
HWND rightDecoration
Definition: SoWinFullViewer.h:133
char * rightWheelStr
Definition: SoWinFullViewer.h:141
char * bottomWheelStr
Definition: SoWinFullViewer.h:145
float rightWheelVal
Definition: SoWinFullViewer.h:142
HWND rightWheel
Definition: SoWinFullViewer.h:129
float bottomWheelVal
Definition: SoWinFullViewer.h:146
float leftWheelVal
Definition: SoWinFullViewer.h:138
HWND leftWheelLabel
Definition: SoWinFullViewer.h:136
virtual void setViewing(SbBool enable)
Definition: SoWinViewer.cpp:2147
char * leftWheelStr
Definition: SoWinFullViewer.h:137
SoWinPopupMenu * prefmenu
Definition: SoWinFullViewer.h:148
BuildFlag
Definition: SoWinFullViewer.h:48