Converted tabs to four spaces
This commit is contained in:
@@ -2,27 +2,27 @@
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string></string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.openscenegraph.osgsimpleviewerCocoa</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>${PRODUCT_NAME}</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.0</string>
|
||||
<key>NSMainNibFile</key>
|
||||
<string>MainMenu</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>osgviewerCocoa</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string></string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.openscenegraph.osgviewerCocoa</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>osgviewerCocoa</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.0</string>
|
||||
<key>NSMainNibFile</key>
|
||||
<string>MainMenu</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
@@ -53,37 +53,37 @@
|
||||
|
||||
namespace osgViewer
|
||||
{
|
||||
// Just a forward declaration so I don't need the #include in the header.
|
||||
class Viewer;
|
||||
class GraphicsWindowEmbedded;
|
||||
// Just a forward declaration so I don't need the #include in the header.
|
||||
class Viewer;
|
||||
class GraphicsWindowEmbedded;
|
||||
}
|
||||
|
||||
// Subclass NSOpenGLView. We could subclass NSView instead, but NSOpenGLView is easy.
|
||||
@interface ViewerCocoa : NSOpenGLView
|
||||
{
|
||||
// Note: In Objective-C++, if you use objects instead of pointers as
|
||||
// member instance variables, you MUST turn on "Call C++ Default Ctors/Dtors in Objective-C".
|
||||
// -fobjc-call-cxx-cdtors
|
||||
// This option makes sure constructors and destructors are run.
|
||||
// This option is only available for gcc 4.0+ (Mac OS X 10.4+)
|
||||
// Note: In Objective-C++, if you use objects instead of pointers as
|
||||
// member instance variables, you MUST turn on "Call C++ Default Ctors/Dtors in Objective-C".
|
||||
// -fobjc-call-cxx-cdtors
|
||||
// This option makes sure constructors and destructors are run.
|
||||
// This option is only available for gcc 4.0+ (Mac OS X 10.4+)
|
||||
|
||||
// Is SimpleViewer supposed use ref_ptr? (Doesn't look like it to me.)
|
||||
// If so, remember ref_ptr is an object on the stack and the cdtors option must be activated.
|
||||
// We could also make simpleViewer an object instead of a pointer, but again, turn on the option.
|
||||
osgViewer::Viewer* theViewer;
|
||||
osgViewer::GraphicsWindowEmbedded* graphicsWindow;
|
||||
|
||||
// Is SimpleViewer supposed use ref_ptr? (Doesn't look like it to me.)
|
||||
// If so, remember ref_ptr is an object on the stack and the cdtors option must be activated.
|
||||
// We could also make simpleViewer an object instead of a pointer, but again, turn on the option.
|
||||
osgViewer::Viewer* theViewer;
|
||||
osgViewer::GraphicsWindowEmbedded* graphicsWindow;
|
||||
|
||||
|
||||
// This timer is used to trigger animation callbacks since everything is event driven.
|
||||
NSTimer* animationTimer;
|
||||
// This timer is used to trigger animation callbacks since everything is event driven.
|
||||
NSTimer* animationTimer;
|
||||
|
||||
// Flags to help track whether ctrl-clicking or option-clicking is being used
|
||||
BOOL isUsingCtrlClick;
|
||||
BOOL isUsingOptionClick;
|
||||
|
||||
// Flag to track whether the OpenGL multithreading engine is enabled or not
|
||||
BOOL isUsingMultithreadedOpenGLEngine;
|
||||
|
||||
// Flags to help track whether ctrl-clicking or option-clicking is being used
|
||||
BOOL isUsingCtrlClick;
|
||||
BOOL isUsingOptionClick;
|
||||
|
||||
// Flag to track whether the OpenGL multithreading engine is enabled or not
|
||||
BOOL isUsingMultithreadedOpenGLEngine;
|
||||
|
||||
}
|
||||
|
||||
// My custom static method to create a basic pixel format
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user