- bool IsSleeping()
- {
- return m_bSleeping;
- }
- void OnSleep();
-
- void SetStatusText(CopiedString& status_text, const char* pText);
- void UpdateStatusText();
- void RedrawStatusText();
- typedef MemberCaller<MainFrame, &MainFrame::RedrawStatusText> RedrawStatusTextCaller;
-
- void SetGridStatus();
- typedef MemberCaller<MainFrame, &MainFrame::SetGridStatus> SetGridStatusCaller;
-
- void SetActiveXY(XYWnd* p);
- XYWnd* ActiveXY()
- {
- return m_pActiveXY;
- };
- XYWnd* GetXYWnd()
- {
- return m_pXYWnd;
- }
- XYWnd* GetXZWnd()
- {
- return m_pXZWnd;
- }
- XYWnd* GetYZWnd()
- {
- return m_pYZWnd;
- }
- ZWnd* GetZWnd()
- {
- return m_pZWnd;
- }
- CamWnd* GetCamWnd()
- {
- return m_pCamWnd;
- }
-
- void ReleaseContexts();
- void CreateContexts();
-
- EViewStyle CurrentStyle()
- {
- return m_nCurrentStyle;
- };
- bool FloatingGroupDialog()
- {
- return CurrentStyle() == eFloating || CurrentStyle() == eSplit;
- };
+bool IsSleeping(){
+ return m_bSleeping;
+}
+void OnSleep();
+
+void SetStatusText( CopiedString& status_text, const char* pText );
+void UpdateStatusText();
+void RedrawStatusText();
+typedef MemberCaller<MainFrame, void(), &MainFrame::RedrawStatusText> RedrawStatusTextCaller;
+
+void SetGridStatus();
+typedef MemberCaller<MainFrame, void(), &MainFrame::SetGridStatus> SetGridStatusCaller;
+
+void SetActiveXY( XYWnd* p );
+XYWnd* ActiveXY(){
+ return m_pActiveXY;
+};
+XYWnd* GetXYWnd(){
+ return m_pXYWnd;
+}
+XYWnd* GetXZWnd(){
+ return m_pXZWnd;
+}
+XYWnd* GetYZWnd(){
+ return m_pYZWnd;
+}
+ZWnd* GetZWnd(){
+ return m_pZWnd;
+}
+CamWnd* GetCamWnd(){
+ return m_pCamWnd;
+}
+
+void ReleaseContexts();
+void CreateContexts();
+
+EViewStyle CurrentStyle(){
+ return m_nCurrentStyle;
+};
+bool FloatingGroupDialog(){
+ return CurrentStyle() == eFloating || CurrentStyle() == eSplit;
+};