From cb1c916e25f26e276fa4d270cf97a2be641687c3 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 14 Sep 2007 11:00:32 +0000 Subject: [PATCH] Ran conversion of tabs to four spaces --- examples/osgviewerFOX/FOX_OSG.h | 70 ++++++++++++------------- examples/osgviewerFOX/FOX_OSG_MDIView.h | 30 +++++------ 2 files changed, 50 insertions(+), 50 deletions(-) diff --git a/examples/osgviewerFOX/FOX_OSG.h b/examples/osgviewerFOX/FOX_OSG.h index 558c5fae1..e99f63784 100644 --- a/examples/osgviewerFOX/FOX_OSG.h +++ b/examples/osgviewerFOX/FOX_OSG.h @@ -11,53 +11,53 @@ using namespace FX; class GraphicsWindowFOX: public FXGLCanvas, public osgViewer::GraphicsWindow{ - FXDECLARE(GraphicsWindowFOX); + FXDECLARE(GraphicsWindowFOX) public: - GraphicsWindowFOX(FXComposite *parent, FXGLVisual *vis, - FXObject *tgt=NULL, FXSelector sel=0, - FXuint opts=0, FXint x=0, FXint y=0, - FXint w=0, FXint h=0); + GraphicsWindowFOX(FXComposite *parent, FXGLVisual *vis, + FXObject *tgt=NULL, FXSelector sel=0, + FXuint opts=0, FXint x=0, FXint y=0, + FXint w=0, FXint h=0); - virtual ~GraphicsWindowFOX(); + virtual ~GraphicsWindowFOX(); - // callback - long onConfigure(FXObject*, FXSelector, void*); - long onKeyPress(FXObject*, FXSelector, void*); - long onKeyRelease(FXObject*, FXSelector, void*); - long onLeftBtnPress(FXObject*, FXSelector, void*); - long onLeftBtnRelease(FXObject*, FXSelector, void*); - long onMiddleBtnPress(FXObject*, FXSelector, void*); - long onMiddleBtnRelease(FXObject*, FXSelector, void*); - long onRightBtnPress(FXObject*, FXSelector, void*); - long onRightBtnRelease(FXObject*, FXSelector, void*); - long onMotion(FXObject*, FXSelector, void*); + // callback + long onConfigure(FXObject*, FXSelector, void*); + long onKeyPress(FXObject*, FXSelector, void*); + long onKeyRelease(FXObject*, FXSelector, void*); + long onLeftBtnPress(FXObject*, FXSelector, void*); + long onLeftBtnRelease(FXObject*, FXSelector, void*); + long onMiddleBtnPress(FXObject*, FXSelector, void*); + long onMiddleBtnRelease(FXObject*, FXSelector, void*); + long onRightBtnPress(FXObject*, FXSelector, void*); + long onRightBtnRelease(FXObject*, FXSelector, void*); + long onMotion(FXObject*, FXSelector, void*); - void init(); + void init(); - // - // GraphicsWindow interface - // - void grabFocus(); - void grabFocusIfPointerInWindow(); - void useCursor(bool cursorOn); + // + // GraphicsWindow interface + // + void grabFocus(); + void grabFocusIfPointerInWindow(); + void useCursor(bool cursorOn); - bool makeCurrentImplementation(); - bool releaseContext(); - void swapBuffersImplementation(); + bool makeCurrentImplementation(); + bool releaseContext(); + void swapBuffersImplementation(); - // note implemented yet...just use dummy implementation to get working. - virtual bool valid() const { return true; } - virtual bool realizeImplementation() { return true; } - virtual bool isRealizedImplementation() const { return true; } - virtual void closeImplementation() {} - virtual bool releaseContextImplementation() { return true; } + // note implemented yet...just use dummy implementation to get working. + virtual bool valid() const { return true; } + virtual bool realizeImplementation() { return true; } + virtual bool isRealizedImplementation() const { return true; } + virtual void closeImplementation() {} + virtual bool releaseContextImplementation() { return true; } protected: - GraphicsWindowFOX(){}; + GraphicsWindowFOX(){}; private: - FXCursor* _oldCursor; + FXCursor* _oldCursor; }; #endif // _FOXOSG_H_ diff --git a/examples/osgviewerFOX/FOX_OSG_MDIView.h b/examples/osgviewerFOX/FOX_OSG_MDIView.h index 193e0b0cb..2d117bf69 100644 --- a/examples/osgviewerFOX/FOX_OSG_MDIView.h +++ b/examples/osgviewerFOX/FOX_OSG_MDIView.h @@ -11,31 +11,31 @@ using namespace FX; class FOX_OSG_MDIView : public FXMDIChild{ - FXDECLARE(FOX_OSG_MDIView); + FXDECLARE(FOX_OSG_MDIView) public: - FOX_OSG_MDIView(FXMDIClient *p, const FXString &name, - FXIcon *ic=NULL, FXPopup *pup=NULL, FXuint opts=0, - FXint x=0, FXint y=0, FXint w=0, FXint h=0); + FOX_OSG_MDIView(FXMDIClient *p, const FXString &name, + FXIcon *ic=NULL, FXPopup *pup=NULL, FXuint opts=0, + FXint x=0, FXint y=0, FXint w=0, FXint h=0); - virtual ~FOX_OSG_MDIView(); + virtual ~FOX_OSG_MDIView(); - enum{ - ID_CHORE=FXMDIChild::ID_LAST, - ID_LAST - }; + enum{ + ID_CHORE=FXMDIChild::ID_LAST, + ID_LAST + }; - // callback - long OnIdle(FXObject* , FXSelector, void*); + // callback + long OnIdle(FXObject* , FXSelector, void*); - void SetViewer(osgViewer::Viewer *viewer); + void SetViewer(osgViewer::Viewer *viewer); protected: - FOX_OSG_MDIView(){}; + FOX_OSG_MDIView(){}; private: - osg::ref_ptr m_osgViewer; - GraphicsWindowFOX* m_gwFox; + osg::ref_ptr m_osgViewer; + GraphicsWindowFOX* m_gwFox; }; #endif // _FOXOSGMDIVIEW_H_