diff options
| -rw-r--r-- | Project.xcconfig | 9 | ||||
| -rw-r--r-- | addons.make | 1 | ||||
| -rw-r--r-- | fensterTextEditor.xcodeproj/project.pbxproj | 819 | ||||
| -rw-r--r-- | fensterTextEditor.xcodeproj/project.xcworkspace/contents.xcworkspacedata | 7 | ||||
| -rw-r--r-- | fensterTextEditor.xcodeproj/tim.pbxuser | 148 | ||||
| -rw-r--r-- | fensterTextEditor.xcodeproj/xcshareddata/xcschemes/fensterTextEditor Debug.xcscheme | 84 | ||||
| -rw-r--r-- | fensterTextEditor.xcodeproj/xcshareddata/xcschemes/fensterTextEditor Release.xcscheme | 84 | ||||
| -rw-r--r-- | openFrameworks-Info.plist | 20 | ||||
| -rwxr-xr-x | src/main.cpp | 2 | ||||
| -rwxr-xr-x | src/testApp.cpp | 37 | ||||
| -rwxr-xr-x | src/testApp.h | 14 |
11 files changed, 1201 insertions, 24 deletions
diff --git a/Project.xcconfig b/Project.xcconfig new file mode 100644 index 0000000..d7bd249 --- /dev/null +++ b/Project.xcconfig @@ -0,0 +1,9 @@ +//THE PATH TO THE ROOT OF OUR OF PATH RELATIVE TO THIS PROJECT. +//THIS NEEDS TO BE DEFINED BEFORE CoreOF.xcconfig IS INCLUDED +OF_PATH = /Developer/Library/openFrameworks + +//THIS HAS ALL THE HEADER AND LIBS FOR OF CORE +#include "/Developer/Library/openFrameworks/libs/openFrameworksCompiled/project/osx/CoreOF.xcconfig" + +OTHER_LDFLAGS = $(OF_CORE_LIBS) +HEADER_SEARCH_PATHS = $(OF_CORE_HEADERS) diff --git a/addons.make b/addons.make new file mode 100644 index 0000000..abfa0f0 --- /dev/null +++ b/addons.make @@ -0,0 +1 @@ +ofxFenster diff --git a/fensterTextEditor.xcodeproj/project.pbxproj b/fensterTextEditor.xcodeproj/project.pbxproj new file mode 100644 index 0000000..8c79cc2 --- /dev/null +++ b/fensterTextEditor.xcodeproj/project.pbxproj @@ -0,0 +1,819 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* Begin PBXBuildFile section */ + 220D0F34168BA6DC00A7EB05 /* ofxDisplay.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 220D0EE3168BA6DB00A7EB05 /* ofxDisplay.cpp */; }; + 220D0F35168BA6DC00A7EB05 /* ofxDisplayManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 220D0EE6168BA6DB00A7EB05 /* ofxDisplayManager.cpp */; }; + 220D0F36168BA6DC00A7EB05 /* ofxDisplayManagerMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = 220D0EE8168BA6DB00A7EB05 /* ofxDisplayManagerMac.mm */; }; + 220D0F37168BA6DC00A7EB05 /* ofxFenster.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 220D0EE9168BA6DB00A7EB05 /* ofxFenster.cpp */; }; + 220D0F38168BA6DC00A7EB05 /* ofxFensterCanvas.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 220D0EEB168BA6DB00A7EB05 /* ofxFensterCanvas.cpp */; }; + 220D0F39168BA6DC00A7EB05 /* ofxFensterManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 220D0EED168BA6DB00A7EB05 /* ofxFensterManager.cpp */; }; + BBAB23CB13894F3D00AA2426 /* GLUT.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = BBAB23BE13894E4700AA2426 /* GLUT.framework */; }; + E4328149138ABC9F0047C5CB /* openFrameworksDebug.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E4328148138ABC890047C5CB /* openFrameworksDebug.a */; }; + E45BE97B0E8CC7DD009D7055 /* AGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9710E8CC7DD009D7055 /* AGL.framework */; }; + E45BE97C0E8CC7DD009D7055 /* ApplicationServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9720E8CC7DD009D7055 /* ApplicationServices.framework */; }; + E45BE97D0E8CC7DD009D7055 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9730E8CC7DD009D7055 /* AudioToolbox.framework */; }; + E45BE97E0E8CC7DD009D7055 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9740E8CC7DD009D7055 /* Carbon.framework */; }; + E45BE97F0E8CC7DD009D7055 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9750E8CC7DD009D7055 /* CoreAudio.framework */; }; + E45BE9800E8CC7DD009D7055 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9760E8CC7DD009D7055 /* CoreFoundation.framework */; }; + E45BE9810E8CC7DD009D7055 /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9770E8CC7DD009D7055 /* CoreServices.framework */; }; + E45BE9830E8CC7DD009D7055 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9790E8CC7DD009D7055 /* OpenGL.framework */; }; + E45BE9840E8CC7DD009D7055 /* QuickTime.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE97A0E8CC7DD009D7055 /* QuickTime.framework */; }; + E4B69E200A3A1BDC003C02F2 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4B69E1D0A3A1BDC003C02F2 /* main.cpp */; }; + E4B69E210A3A1BDC003C02F2 /* testApp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4B69E1E0A3A1BDC003C02F2 /* testApp.cpp */; }; + E4C2424710CC5A17004149E2 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E4C2424410CC5A17004149E2 /* AppKit.framework */; }; + E4C2424810CC5A17004149E2 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E4C2424510CC5A17004149E2 /* Cocoa.framework */; }; + E4C2424910CC5A17004149E2 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E4C2424610CC5A17004149E2 /* IOKit.framework */; }; + E4EB6799138ADC1D00A09F29 /* GLUT.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BBAB23BE13894E4700AA2426 /* GLUT.framework */; }; + E7E077E515D3B63C0020DFD4 /* CoreVideo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E7E077E415D3B63C0020DFD4 /* CoreVideo.framework */; }; + E7E077E815D3B6510020DFD4 /* QTKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E7E077E715D3B6510020DFD4 /* QTKit.framework */; }; + E7F985F815E0DEA3003869B5 /* Accelerate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E7F985F515E0DE99003869B5 /* Accelerate.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + E4328147138ABC890047C5CB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = E4328143138ABC890047C5CB /* openFrameworksLib.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = E4B27C1510CBEB8E00536013; + remoteInfo = openFrameworks; + }; + E4EEB9AB138B136A00A80321 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = E4328143138ABC890047C5CB /* openFrameworksLib.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = E4B27C1410CBEB8E00536013; + remoteInfo = openFrameworks; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + E4C2427710CC5ABF004149E2 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + BBAB23CB13894F3D00AA2426 /* GLUT.framework in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 220D0EE3168BA6DB00A7EB05 /* ofxDisplay.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 30; name = ofxDisplay.cpp; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/src/ofxDisplay.cpp; sourceTree = SOURCE_ROOT; }; + 220D0EE4168BA6DB00A7EB05 /* ofxDisplay.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = ofxDisplay.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/src/ofxDisplay.h; sourceTree = SOURCE_ROOT; }; + 220D0EE5168BA6DB00A7EB05 /* ofxDisplayMac.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = ofxDisplayMac.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/src/ofxDisplayMac.h; sourceTree = SOURCE_ROOT; }; + 220D0EE6168BA6DB00A7EB05 /* ofxDisplayManager.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 30; name = ofxDisplayManager.cpp; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/src/ofxDisplayManager.cpp; sourceTree = SOURCE_ROOT; }; + 220D0EE7168BA6DB00A7EB05 /* ofxDisplayManager.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = ofxDisplayManager.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/src/ofxDisplayManager.h; sourceTree = SOURCE_ROOT; }; + 220D0EE8168BA6DB00A7EB05 /* ofxDisplayManagerMac.mm */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.objcpp; fileEncoding = 30; name = ofxDisplayManagerMac.mm; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/src/ofxDisplayManagerMac.mm; sourceTree = SOURCE_ROOT; }; + 220D0EE9168BA6DB00A7EB05 /* ofxFenster.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 30; name = ofxFenster.cpp; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/src/ofxFenster.cpp; sourceTree = SOURCE_ROOT; }; + 220D0EEA168BA6DB00A7EB05 /* ofxFenster.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = ofxFenster.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/src/ofxFenster.h; sourceTree = SOURCE_ROOT; }; + 220D0EEB168BA6DB00A7EB05 /* ofxFensterCanvas.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 30; name = ofxFensterCanvas.cpp; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/src/ofxFensterCanvas.cpp; sourceTree = SOURCE_ROOT; }; + 220D0EEC168BA6DB00A7EB05 /* ofxFensterCanvas.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = ofxFensterCanvas.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/src/ofxFensterCanvas.h; sourceTree = SOURCE_ROOT; }; + 220D0EED168BA6DB00A7EB05 /* ofxFensterManager.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 30; name = ofxFensterManager.cpp; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/src/ofxFensterManager.cpp; sourceTree = SOURCE_ROOT; }; + 220D0EEE168BA6DB00A7EB05 /* ofxFensterManager.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = ofxFensterManager.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/src/ofxFensterManager.h; sourceTree = SOURCE_ROOT; }; + 220D0EF0168BA6DB00A7EB05 /* GHOST_DisplayManagerCocoa.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_DisplayManagerCocoa.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/Cocoa/GHOST_DisplayManagerCocoa.h; sourceTree = SOURCE_ROOT; }; + 220D0EF1168BA6DB00A7EB05 /* GHOST_SystemCocoa.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_SystemCocoa.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/Cocoa/GHOST_SystemCocoa.h; sourceTree = SOURCE_ROOT; }; + 220D0EF2168BA6DB00A7EB05 /* GHOST_SystemPathsCocoa.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_SystemPathsCocoa.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/Cocoa/GHOST_SystemPathsCocoa.h; sourceTree = SOURCE_ROOT; }; + 220D0EF3168BA6DB00A7EB05 /* GHOST_WindowCocoa.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_WindowCocoa.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/Cocoa/GHOST_WindowCocoa.h; sourceTree = SOURCE_ROOT; }; + 220D0EF5168BA6DB00A7EB05 /* GHOST_Buttons.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_Buttons.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_Buttons.h; sourceTree = SOURCE_ROOT; }; + 220D0EF6168BA6DB00A7EB05 /* GHOST_C-api.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = "GHOST_C-api.h"; path = "../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_C-api.h"; sourceTree = SOURCE_ROOT; }; + 220D0EF7168BA6DB00A7EB05 /* GHOST_CallbackEventConsumer.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_CallbackEventConsumer.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_CallbackEventConsumer.h; sourceTree = SOURCE_ROOT; }; + 220D0EF8168BA6DB00A7EB05 /* GHOST_Debug.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_Debug.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_Debug.h; sourceTree = SOURCE_ROOT; }; + 220D0EF9168BA6DB00A7EB05 /* GHOST_DisplayManager.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_DisplayManager.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_DisplayManager.h; sourceTree = SOURCE_ROOT; }; + 220D0EFA168BA6DB00A7EB05 /* GHOST_DisplayManagerNULL.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_DisplayManagerNULL.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_DisplayManagerNULL.h; sourceTree = SOURCE_ROOT; }; + 220D0EFB168BA6DB00A7EB05 /* GHOST_Event.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_Event.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_Event.h; sourceTree = SOURCE_ROOT; }; + 220D0EFC168BA6DB00A7EB05 /* GHOST_EventButton.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_EventButton.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_EventButton.h; sourceTree = SOURCE_ROOT; }; + 220D0EFD168BA6DB00A7EB05 /* GHOST_EventCursor.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_EventCursor.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_EventCursor.h; sourceTree = SOURCE_ROOT; }; + 220D0EFE168BA6DB00A7EB05 /* GHOST_EventDragnDrop.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_EventDragnDrop.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_EventDragnDrop.h; sourceTree = SOURCE_ROOT; }; + 220D0EFF168BA6DB00A7EB05 /* GHOST_EventKey.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_EventKey.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_EventKey.h; sourceTree = SOURCE_ROOT; }; + 220D0F00168BA6DB00A7EB05 /* GHOST_EventManager.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_EventManager.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_EventManager.h; sourceTree = SOURCE_ROOT; }; + 220D0F01168BA6DB00A7EB05 /* GHOST_EventNDOF.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_EventNDOF.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_EventNDOF.h; sourceTree = SOURCE_ROOT; }; + 220D0F02168BA6DB00A7EB05 /* GHOST_EventPrinter.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_EventPrinter.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_EventPrinter.h; sourceTree = SOURCE_ROOT; }; + 220D0F03168BA6DB00A7EB05 /* GHOST_EventString.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_EventString.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_EventString.h; sourceTree = SOURCE_ROOT; }; + 220D0F04168BA6DB00A7EB05 /* GHOST_EventTrackpad.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_EventTrackpad.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_EventTrackpad.h; sourceTree = SOURCE_ROOT; }; + 220D0F05168BA6DB00A7EB05 /* GHOST_EventWheel.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_EventWheel.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_EventWheel.h; sourceTree = SOURCE_ROOT; }; + 220D0F06168BA6DB00A7EB05 /* GHOST_IEvent.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_IEvent.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_IEvent.h; sourceTree = SOURCE_ROOT; }; + 220D0F07168BA6DB00A7EB05 /* GHOST_IEventConsumer.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_IEventConsumer.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_IEventConsumer.h; sourceTree = SOURCE_ROOT; }; + 220D0F08168BA6DB00A7EB05 /* GHOST_ISystem.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_ISystem.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_ISystem.h; sourceTree = SOURCE_ROOT; }; + 220D0F09168BA6DB00A7EB05 /* GHOST_ISystemPaths.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_ISystemPaths.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_ISystemPaths.h; sourceTree = SOURCE_ROOT; }; + 220D0F0A168BA6DB00A7EB05 /* GHOST_ITimerTask.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_ITimerTask.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_ITimerTask.h; sourceTree = SOURCE_ROOT; }; + 220D0F0B168BA6DB00A7EB05 /* GHOST_IWindow.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_IWindow.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_IWindow.h; sourceTree = SOURCE_ROOT; }; + 220D0F0C168BA6DB00A7EB05 /* GHOST_ModifierKeys.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_ModifierKeys.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_ModifierKeys.h; sourceTree = SOURCE_ROOT; }; + 220D0F0D168BA6DB00A7EB05 /* GHOST_Path-api.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = "GHOST_Path-api.h"; path = "../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_Path-api.h"; sourceTree = SOURCE_ROOT; }; + 220D0F0E168BA6DB00A7EB05 /* GHOST_Rect.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_Rect.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_Rect.h; sourceTree = SOURCE_ROOT; }; + 220D0F0F168BA6DB00A7EB05 /* GHOST_System.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_System.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_System.h; sourceTree = SOURCE_ROOT; }; + 220D0F10168BA6DB00A7EB05 /* GHOST_SystemNULL.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_SystemNULL.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_SystemNULL.h; sourceTree = SOURCE_ROOT; }; + 220D0F11168BA6DB00A7EB05 /* GHOST_SystemPaths.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_SystemPaths.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_SystemPaths.h; sourceTree = SOURCE_ROOT; }; + 220D0F12168BA6DB00A7EB05 /* GHOST_TimerManager.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_TimerManager.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_TimerManager.h; sourceTree = SOURCE_ROOT; }; + 220D0F13168BA6DB00A7EB05 /* GHOST_TimerTask.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_TimerTask.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_TimerTask.h; sourceTree = SOURCE_ROOT; }; + 220D0F14168BA6DB00A7EB05 /* GHOST_Types.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_Types.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_Types.h; sourceTree = SOURCE_ROOT; }; + 220D0F15168BA6DB00A7EB05 /* GHOST_Window.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_Window.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_Window.h; sourceTree = SOURCE_ROOT; }; + 220D0F16168BA6DB00A7EB05 /* GHOST_WindowManager.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_WindowManager.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_WindowManager.h; sourceTree = SOURCE_ROOT; }; + 220D0F17168BA6DB00A7EB05 /* GHOST_WindowNULL.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_WindowNULL.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/GHOST_WindowNULL.h; sourceTree = SOURCE_ROOT; }; + 220D0F18168BA6DB00A7EB05 /* GHOST_DisplayManagerWin32.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_DisplayManagerWin32.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/WIN32/GHOST_DisplayManagerWin32.h; sourceTree = SOURCE_ROOT; }; + 220D0F19168BA6DB00A7EB05 /* GHOST_DropTargetWin32.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_DropTargetWin32.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/WIN32/GHOST_DropTargetWin32.h; sourceTree = SOURCE_ROOT; }; + 220D0F1A168BA6DB00A7EB05 /* GHOST_SystemPathsWin32.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_SystemPathsWin32.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/WIN32/GHOST_SystemPathsWin32.h; sourceTree = SOURCE_ROOT; }; + 220D0F1B168BA6DB00A7EB05 /* GHOST_SystemWin32.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_SystemWin32.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/WIN32/GHOST_SystemWin32.h; sourceTree = SOURCE_ROOT; }; + 220D0F1C168BA6DB00A7EB05 /* GHOST_TaskbarWin32.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_TaskbarWin32.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/WIN32/GHOST_TaskbarWin32.h; sourceTree = SOURCE_ROOT; }; + 220D0F1D168BA6DB00A7EB05 /* GHOST_WindowWin32.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_WindowWin32.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/WIN32/GHOST_WindowWin32.h; sourceTree = SOURCE_ROOT; }; + 220D0F1E168BA6DB00A7EB05 /* pktdef.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = pktdef.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/WIN32/pktdef.h; sourceTree = SOURCE_ROOT; }; + 220D0F1F168BA6DB00A7EB05 /* wintab.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = wintab.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/WIN32/wintab.h; sourceTree = SOURCE_ROOT; }; + 220D0F21168BA6DB00A7EB05 /* GHOST_DisplayManagerX11.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_DisplayManagerX11.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/X11/GHOST_DisplayManagerX11.h; sourceTree = SOURCE_ROOT; }; + 220D0F22168BA6DB00A7EB05 /* GHOST_SystemPathsX11.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_SystemPathsX11.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/X11/GHOST_SystemPathsX11.h; sourceTree = SOURCE_ROOT; }; + 220D0F23168BA6DB00A7EB05 /* GHOST_SystemX11.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_SystemX11.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/X11/GHOST_SystemX11.h; sourceTree = SOURCE_ROOT; }; + 220D0F24168BA6DB00A7EB05 /* GHOST_WindowX11.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = GHOST_WindowX11.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/X11/GHOST_WindowX11.h; sourceTree = SOURCE_ROOT; }; + 220D0F28168BA6DB00A7EB05 /* STR_String.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 30; name = STR_String.h; path = ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/string/include/STR_String.h; sourceTree = SOURCE_ROOT; }; + BBAB23BE13894E4700AA2426 /* GLUT.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLUT.framework; path = ../../../../Developer/Library/openFrameworks/libs/glut/lib/osx/GLUT.framework; sourceTree = "<group>"; }; + E4328143138ABC890047C5CB /* openFrameworksLib.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = openFrameworksLib.xcodeproj; path = ../../../../Developer/Library/openFrameworks/libs/openFrameworksCompiled/project/osx/openFrameworksLib.xcodeproj; sourceTree = SOURCE_ROOT; }; + E45BE9710E8CC7DD009D7055 /* AGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AGL.framework; path = /System/Library/Frameworks/AGL.framework; sourceTree = "<absolute>"; }; + E45BE9720E8CC7DD009D7055 /* ApplicationServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ApplicationServices.framework; path = /System/Library/Frameworks/ApplicationServices.framework; sourceTree = "<absolute>"; }; + E45BE9730E8CC7DD009D7055 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = /System/Library/Frameworks/AudioToolbox.framework; sourceTree = "<absolute>"; }; + E45BE9740E8CC7DD009D7055 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = "<absolute>"; }; + E45BE9750E8CC7DD009D7055 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = /System/Library/Frameworks/CoreAudio.framework; sourceTree = "<absolute>"; }; + E45BE9760E8CC7DD009D7055 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = "<absolute>"; }; + E45BE9770E8CC7DD009D7055 /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = /System/Library/Frameworks/CoreServices.framework; sourceTree = "<absolute>"; }; + E45BE9790E8CC7DD009D7055 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework; sourceTree = "<absolute>"; }; + E45BE97A0E8CC7DD009D7055 /* QuickTime.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuickTime.framework; path = /System/Library/Frameworks/QuickTime.framework; sourceTree = "<absolute>"; }; + E4B69B5B0A3A1756003C02F2 /* fensterTextEditorDebug.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = fensterTextEditorDebug.app; sourceTree = BUILT_PRODUCTS_DIR; }; + E4B69E1D0A3A1BDC003C02F2 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = main.cpp; path = src/main.cpp; sourceTree = SOURCE_ROOT; }; + E4B69E1E0A3A1BDC003C02F2 /* testApp.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 30; name = testApp.cpp; path = src/testApp.cpp; sourceTree = SOURCE_ROOT; }; + E4B69E1F0A3A1BDC003C02F2 /* testApp.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = testApp.h; path = src/testApp.h; sourceTree = SOURCE_ROOT; }; + E4B6FCAD0C3E899E008CF71C /* openFrameworks-Info.plist */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.plist.xml; path = "openFrameworks-Info.plist"; sourceTree = "<group>"; }; + E4C2424410CC5A17004149E2 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; }; + E4C2424510CC5A17004149E2 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; }; + E4C2424610CC5A17004149E2 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = /System/Library/Frameworks/IOKit.framework; sourceTree = "<absolute>"; }; + E4EB691F138AFCF100A09F29 /* CoreOF.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = CoreOF.xcconfig; path = ../../../../Developer/Library/openFrameworks/libs/openFrameworksCompiled/project/osx/CoreOF.xcconfig; sourceTree = SOURCE_ROOT; }; + E4EB6923138AFD0F00A09F29 /* Project.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Project.xcconfig; sourceTree = "<group>"; }; + E7E077E415D3B63C0020DFD4 /* CoreVideo.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreVideo.framework; path = /System/Library/Frameworks/CoreVideo.framework; sourceTree = "<absolute>"; }; + E7E077E715D3B6510020DFD4 /* QTKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QTKit.framework; path = /System/Library/Frameworks/QTKit.framework; sourceTree = "<absolute>"; }; + E7F985F515E0DE99003869B5 /* Accelerate.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Accelerate.framework; path = /System/Library/Frameworks/Accelerate.framework; sourceTree = "<absolute>"; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + E4B69B590A3A1756003C02F2 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + E7F985F815E0DEA3003869B5 /* Accelerate.framework in Frameworks */, + E7E077E815D3B6510020DFD4 /* QTKit.framework in Frameworks */, + E4EB6799138ADC1D00A09F29 /* GLUT.framework in Frameworks */, + E4328149138ABC9F0047C5CB /* openFrameworksDebug.a in Frameworks */, + E45BE97B0E8CC7DD009D7055 /* AGL.framework in Frameworks */, + E45BE97C0E8CC7DD009D7055 /* ApplicationServices.framework in Frameworks */, + E45BE97D0E8CC7DD009D7055 /* AudioToolbox.framework in Frameworks */, + E45BE97E0E8CC7DD009D7055 /* Carbon.framework in Frameworks */, + E45BE97F0E8CC7DD009D7055 /* CoreAudio.framework in Frameworks */, + E45BE9800E8CC7DD009D7055 /* CoreFoundation.framework in Frameworks */, + E45BE9810E8CC7DD009D7055 /* CoreServices.framework in Frameworks */, + E45BE9830E8CC7DD009D7055 /* OpenGL.framework in Frameworks */, + E45BE9840E8CC7DD009D7055 /* QuickTime.framework in Frameworks */, + E4C2424710CC5A17004149E2 /* AppKit.framework in Frameworks */, + E4C2424810CC5A17004149E2 /* Cocoa.framework in Frameworks */, + E4C2424910CC5A17004149E2 /* IOKit.framework in Frameworks */, + E7E077E515D3B63C0020DFD4 /* CoreVideo.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 220D0EEF168BA6DB00A7EB05 /* src */ = { + isa = PBXGroup; + children = ( + 220D0EE3168BA6DB00A7EB05 /* ofxDisplay.cpp */, + 220D0EE4168BA6DB00A7EB05 /* ofxDisplay.h */, + 220D0EE5168BA6DB00A7EB05 /* ofxDisplayMac.h */, + 220D0EE6168BA6DB00A7EB05 /* ofxDisplayManager.cpp */, + 220D0EE7168BA6DB00A7EB05 /* ofxDisplayManager.h */, + 220D0EE8168BA6DB00A7EB05 /* ofxDisplayManagerMac.mm */, + 220D0EE9168BA6DB00A7EB05 /* ofxFenster.cpp */, + 220D0EEA168BA6DB00A7EB05 /* ofxFenster.h */, + 220D0EEB168BA6DB00A7EB05 /* ofxFensterCanvas.cpp */, + 220D0EEC168BA6DB00A7EB05 /* ofxFensterCanvas.h */, + 220D0EED168BA6DB00A7EB05 /* ofxFensterManager.cpp */, + 220D0EEE168BA6DB00A7EB05 /* ofxFensterManager.h */, + ); + name = src; + sourceTree = "<group>"; + }; + 220D0EF4168BA6DB00A7EB05 /* Cocoa */ = { + isa = PBXGroup; + children = ( + 220D0EF0168BA6DB00A7EB05 /* GHOST_DisplayManagerCocoa.h */, + 220D0EF1168BA6DB00A7EB05 /* GHOST_SystemCocoa.h */, + 220D0EF2168BA6DB00A7EB05 /* GHOST_SystemPathsCocoa.h */, + 220D0EF3168BA6DB00A7EB05 /* GHOST_WindowCocoa.h */, + ); + name = Cocoa; + sourceTree = "<group>"; + }; + 220D0F20168BA6DB00A7EB05 /* WIN32 */ = { + isa = PBXGroup; + children = ( + 220D0F18168BA6DB00A7EB05 /* GHOST_DisplayManagerWin32.h */, + 220D0F19168BA6DB00A7EB05 /* GHOST_DropTargetWin32.h */, + 220D0F1A168BA6DB00A7EB05 /* GHOST_SystemPathsWin32.h */, + 220D0F1B168BA6DB00A7EB05 /* GHOST_SystemWin32.h */, + 220D0F1C168BA6DB00A7EB05 /* GHOST_TaskbarWin32.h */, + 220D0F1D168BA6DB00A7EB05 /* GHOST_WindowWin32.h */, + 220D0F1E168BA6DB00A7EB05 /* pktdef.h */, + 220D0F1F168BA6DB00A7EB05 /* wintab.h */, + ); + name = WIN32; + sourceTree = "<group>"; + }; + 220D0F25168BA6DB00A7EB05 /* X11 */ = { + isa = PBXGroup; + children = ( + 220D0F21168BA6DB00A7EB05 /* GHOST_DisplayManagerX11.h */, + 220D0F22168BA6DB00A7EB05 /* GHOST_SystemPathsX11.h */, + 220D0F23168BA6DB00A7EB05 /* GHOST_SystemX11.h */, + 220D0F24168BA6DB00A7EB05 /* GHOST_WindowX11.h */, + ); + name = X11; + sourceTree = "<group>"; + }; + 220D0F26168BA6DB00A7EB05 /* include */ = { + isa = PBXGroup; + children = ( + 220D0EF4168BA6DB00A7EB05 /* Cocoa */, + 220D0EF5168BA6DB00A7EB05 /* GHOST_Buttons.h */, + 220D0EF6168BA6DB00A7EB05 /* GHOST_C-api.h */, + 220D0EF7168BA6DB00A7EB05 /* GHOST_CallbackEventConsumer.h */, + 220D0EF8168BA6DB00A7EB05 /* GHOST_Debug.h */, + 220D0EF9168BA6DB00A7EB05 /* GHOST_DisplayManager.h */, + 220D0EFA168BA6DB00A7EB05 /* GHOST_DisplayManagerNULL.h */, + 220D0EFB168BA6DB00A7EB05 /* GHOST_Event.h */, + 220D0EFC168BA6DB00A7EB05 /* GHOST_EventButton.h */, + 220D0EFD168BA6DB00A7EB05 /* GHOST_EventCursor.h */, + 220D0EFE168BA6DB00A7EB05 /* GHOST_EventDragnDrop.h */, + 220D0EFF168BA6DB00A7EB05 /* GHOST_EventKey.h */, + 220D0F00168BA6DB00A7EB05 /* GHOST_EventManager.h */, + 220D0F01168BA6DB00A7EB05 /* GHOST_EventNDOF.h */, + 220D0F02168BA6DB00A7EB05 /* GHOST_EventPrinter.h */, + 220D0F03168BA6DB00A7EB05 /* GHOST_EventString.h */, + 220D0F04168BA6DB00A7EB05 /* GHOST_EventTrackpad.h */, + 220D0F05168BA6DB00A7EB05 /* GHOST_EventWheel.h */, + 220D0F06168BA6DB00A7EB05 /* GHOST_IEvent.h */, + 220D0F07168BA6DB00A7EB05 /* GHOST_IEventConsumer.h */, + 220D0F08168BA6DB00A7EB05 /* GHOST_ISystem.h */, + 220D0F09168BA6DB00A7EB05 /* GHOST_ISystemPaths.h */, + 220D0F0A168BA6DB00A7EB05 /* GHOST_ITimerTask.h */, + 220D0F0B168BA6DB00A7EB05 /* GHOST_IWindow.h */, + 220D0F0C168BA6DB00A7EB05 /* GHOST_ModifierKeys.h */, + 220D0F0D168BA6DB00A7EB05 /* GHOST_Path-api.h */, + 220D0F0E168BA6DB00A7EB05 /* GHOST_Rect.h */, + 220D0F0F168BA6DB00A7EB05 /* GHOST_System.h */, + 220D0F10168BA6DB00A7EB05 /* GHOST_SystemNULL.h */, + 220D0F11168BA6DB00A7EB05 /* GHOST_SystemPaths.h */, + 220D0F12168BA6DB00A7EB05 /* GHOST_TimerManager.h */, + 220D0F13168BA6DB00A7EB05 /* GHOST_TimerTask.h */, + 220D0F14168BA6DB00A7EB05 /* GHOST_Types.h */, + 220D0F15168BA6DB00A7EB05 /* GHOST_Window.h */, + 220D0F16168BA6DB00A7EB05 /* GHOST_WindowManager.h */, + 220D0F17168BA6DB00A7EB05 /* GHOST_WindowNULL.h */, + 220D0F20168BA6DB00A7EB05 /* WIN32 */, + 220D0F25168BA6DB00A7EB05 /* X11 */, + ); + name = include; + sourceTree = "<group>"; + }; + 220D0F27168BA6DB00A7EB05 /* ghost */ = { + isa = PBXGroup; + children = ( + 220D0F26168BA6DB00A7EB05 /* include */, + ); + name = ghost; + sourceTree = "<group>"; + }; + 220D0F29168BA6DB00A7EB05 /* include */ = { + isa = PBXGroup; + children = ( + 220D0F28168BA6DB00A7EB05 /* STR_String.h */, + ); + name = include; + sourceTree = "<group>"; + }; + 220D0F2A168BA6DB00A7EB05 /* string */ = { + isa = PBXGroup; + children = ( + 220D0F29168BA6DB00A7EB05 /* include */, + ); + name = string; + sourceTree = "<group>"; + }; + 220D0F2B168BA6DB00A7EB05 /* libs */ = { + isa = PBXGroup; + children = ( + 220D0F27168BA6DB00A7EB05 /* ghost */, + 220D0F2A168BA6DB00A7EB05 /* string */, + ); + name = libs; + sourceTree = "<group>"; + }; + 220D0F2C168BA6DB00A7EB05 /* ofxFenster */ = { + isa = PBXGroup; + children = ( + 220D0EEF168BA6DB00A7EB05 /* src */, + 220D0F2B168BA6DB00A7EB05 /* libs */, + ); + name = ofxFenster; + sourceTree = "<group>"; + }; + BB4B014C10F69532006C3DED /* addons */ = { + isa = PBXGroup; + children = ( + 220D0F2C168BA6DB00A7EB05 /* ofxFenster */, + ); + name = addons; + sourceTree = "<group>"; + }; + BBAB23C913894ECA00AA2426 /* system frameworks */ = { + isa = PBXGroup; + children = ( + E7F985F515E0DE99003869B5 /* Accelerate.framework */, + E4C2424410CC5A17004149E2 /* AppKit.framework */, + E4C2424510CC5A17004149E2 /* Cocoa.framework */, + E4C2424610CC5A17004149E2 /* IOKit.framework */, + E45BE9710E8CC7DD009D7055 /* AGL.framework */, + E45BE9720E8CC7DD009D7055 /* ApplicationServices.framework */, + E45BE9730E8CC7DD009D7055 /* AudioToolbox.framework */, + E45BE9740E8CC7DD009D7055 /* Carbon.framework */, + E45BE9750E8CC7DD009D7055 /* CoreAudio.framework */, + E45BE9760E8CC7DD009D7055 /* CoreFoundation.framework */, + E45BE9770E8CC7DD009D7055 /* CoreServices.framework */, + E45BE9790E8CC7DD009D7055 /* OpenGL.framework */, + E45BE97A0E8CC7DD009D7055 /* QuickTime.framework */, + E7E077E415D3B63C0020DFD4 /* CoreVideo.framework */, + E7E077E715D3B6510020DFD4 /* QTKit.framework */, + ); + name = "system frameworks"; + sourceTree = "<group>"; + }; + BBAB23CA13894EDB00AA2426 /* 3rd party frameworks */ = { + isa = PBXGroup; + children = ( + BBAB23BE13894E4700AA2426 /* GLUT.framework */, + ); + name = "3rd party frameworks"; + sourceTree = "<group>"; + }; + E4328144138ABC890047C5CB /* Products */ = { + isa = PBXGroup; + children = ( + E4328148138ABC890047C5CB /* openFrameworksDebug.a */, + ); + name = Products; + sourceTree = "<group>"; + }; + E45BE5980E8CC70C009D7055 /* frameworks */ = { + isa = PBXGroup; + children = ( + BBAB23CA13894EDB00AA2426 /* 3rd party frameworks */, + BBAB23C913894ECA00AA2426 /* system frameworks */, + ); + name = frameworks; + sourceTree = "<group>"; + }; + E4B69B4A0A3A1720003C02F2 = { + isa = PBXGroup; + children = ( + E4B6FCAD0C3E899E008CF71C /* openFrameworks-Info.plist */, + E4EB6923138AFD0F00A09F29 /* Project.xcconfig */, + E4B69E1C0A3A1BDC003C02F2 /* src */, + E4EEC9E9138DF44700A80321 /* openFrameworks */, + BB4B014C10F69532006C3DED /* addons */, + E45BE5980E8CC70C009D7055 /* frameworks */, + E4B69B5B0A3A1756003C02F2 /* fensterTextEditorDebug.app */, + ); + sourceTree = "<group>"; + }; + E4B69E1C0A3A1BDC003C02F2 /* src */ = { + isa = PBXGroup; + children = ( + E4B69E1D0A3A1BDC003C02F2 /* main.cpp */, + E4B69E1E0A3A1BDC003C02F2 /* testApp.cpp */, + E4B69E1F0A3A1BDC003C02F2 /* testApp.h */, + ); + path = src; + sourceTree = SOURCE_ROOT; + }; + E4EEC9E9138DF44700A80321 /* openFrameworks */ = { + isa = PBXGroup; + children = ( + E4EB691F138AFCF100A09F29 /* CoreOF.xcconfig */, + E4328143138ABC890047C5CB /* openFrameworksLib.xcodeproj */, + ); + name = openFrameworks; + sourceTree = "<group>"; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + E4B69B5A0A3A1756003C02F2 /* fensterTextEditor */ = { + isa = PBXNativeTarget; + buildConfigurationList = E4B69B5F0A3A1757003C02F2 /* Build configuration list for PBXNativeTarget "fensterTextEditor" */; + buildPhases = ( + E4B69B580A3A1756003C02F2 /* Sources */, + E4B69B590A3A1756003C02F2 /* Frameworks */, + E4B6FFFD0C3F9AB9008CF71C /* ShellScript */, + E4C2427710CC5ABF004149E2 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + E4EEB9AC138B136A00A80321 /* PBXTargetDependency */, + ); + name = fensterTextEditor; + productName = myOFApp; + productReference = E4B69B5B0A3A1756003C02F2 /* fensterTextEditorDebug.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + E4B69B4C0A3A1720003C02F2 /* Project object */ = { + isa = PBXProject; + buildConfigurationList = E4B69B4D0A3A1720003C02F2 /* Build configuration list for PBXProject "fensterTextEditor" */; + compatibilityVersion = "Xcode 2.4"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = E4B69B4A0A3A1720003C02F2; + productRefGroup = E4B69B4A0A3A1720003C02F2; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = E4328144138ABC890047C5CB /* Products */; + ProjectRef = E4328143138ABC890047C5CB /* openFrameworksLib.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + E4B69B5A0A3A1756003C02F2 /* fensterTextEditor */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXReferenceProxy section */ + E4328148138ABC890047C5CB /* openFrameworksDebug.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = openFrameworksDebug.a; + remoteRef = E4328147138ABC890047C5CB /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; +/* End PBXReferenceProxy section */ + +/* Begin PBXShellScriptBuildPhase section */ + E4B6FFFD0C3F9AB9008CF71C /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "cp -f ../../../../Developer/Library/openFrameworks/libs/fmodex/lib/osx/libfmodex.dylib \"$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/MacOS/libfmodex.dylib\"; install_name_tool -change ./libfmodex.dylib @executable_path/libfmodex.dylib \"$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/MacOS/$PRODUCT_NAME\";"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + E4B69B580A3A1756003C02F2 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E4B69E200A3A1BDC003C02F2 /* main.cpp in Sources */, + E4B69E210A3A1BDC003C02F2 /* testApp.cpp in Sources */, + 220D0F34168BA6DC00A7EB05 /* ofxDisplay.cpp in Sources */, + 220D0F35168BA6DC00A7EB05 /* ofxDisplayManager.cpp in Sources */, + 220D0F36168BA6DC00A7EB05 /* ofxDisplayManagerMac.mm in Sources */, + 220D0F37168BA6DC00A7EB05 /* ofxFenster.cpp in Sources */, + 220D0F38168BA6DC00A7EB05 /* ofxFensterCanvas.cpp in Sources */, + 220D0F39168BA6DC00A7EB05 /* ofxFensterManager.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + E4EEB9AC138B136A00A80321 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = openFrameworks; + targetProxy = E4EEB9AB138B136A00A80321 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + E4B69B4E0A3A1720003C02F2 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = E4EB6923138AFD0F00A09F29 /* Project.xcconfig */; + buildSettings = { + ARCHS = "$(NATIVE_ARCH)"; + CONFIGURATION_BUILD_DIR = "$(SRCROOT)/bin/"; + COPY_PHASE_STRIP = NO; + DEAD_CODE_STRIPPING = YES; + GCC_AUTO_VECTORIZATION = YES; + GCC_ENABLE_SSE3_EXTENSIONS = YES; + GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = YES; + GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO; + GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO; + GCC_WARN_UNINITIALIZED_AUTOS = NO; + GCC_WARN_UNUSED_VALUE = NO; + GCC_WARN_UNUSED_VARIABLE = NO; + HEADER_SEARCH_PATHS = ( + "$(OF_CORE_HEADERS)", + src, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/Cocoa, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/WIN32, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/X11, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/lib, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/lib/osx32, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/lib/osx64, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/lib/win_vs, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/string, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/string/include, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/src, + ); + OTHER_CPLUSPLUSFLAGS = ( + "-D__MACOSX_CORE__", + "-lpthread", + "-mtune=native", + ); + OTHER_LDFLAGS = ( + "$(OF_PATH)/addons/ofxFenster/libs/ghost/lib/osx32/libGhost32.a", + "$(OF_CORE_LIBS)", + ); + }; + name = Debug; + }; + E4B69B4F0A3A1720003C02F2 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = E4EB6923138AFD0F00A09F29 /* Project.xcconfig */; + buildSettings = { + ARCHS = "$(NATIVE_ARCH)"; + CONFIGURATION_BUILD_DIR = "$(SRCROOT)/bin/"; + COPY_PHASE_STRIP = YES; + DEAD_CODE_STRIPPING = YES; + GCC_AUTO_VECTORIZATION = YES; + GCC_ENABLE_SSE3_EXTENSIONS = YES; + GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_UNROLL_LOOPS = YES; + GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = YES; + GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO; + GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO; + GCC_WARN_UNINITIALIZED_AUTOS = NO; + GCC_WARN_UNUSED_VALUE = NO; + GCC_WARN_UNUSED_VARIABLE = NO; + HEADER_SEARCH_PATHS = ( + "$(OF_CORE_HEADERS)", + src, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/Cocoa, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/WIN32, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/include/X11, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/lib, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/lib/osx32, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/lib/osx64, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/ghost/lib/win_vs, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/string, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/libs/string/include, + ../../../../Developer/Library/openFrameworks/addons/ofxFenster/src, + ); + OTHER_CPLUSPLUSFLAGS = ( + "-D__MACOSX_CORE__", + "-lpthread", + "-mtune=native", + ); + OTHER_LDFLAGS = ( + "$(OF_PATH)/addons/ofxFenster/libs/ghost/lib/osx32/libGhost32.a", + "$(OF_CORE_LIBS)", + ); + }; + name = Release; + }; + E4B69B600A3A1757003C02F2 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1)", + ); + FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../../../../Developer/Library/openFrameworks/libs/glut/lib/osx\""; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_MODEL_TUNING = NONE; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Headers/Carbon.h"; + INFOPLIST_FILE = "openFrameworks-Info.plist"; + INSTALL_PATH = "$(HOME)/Applications"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_4)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_5)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_6)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_7)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_8)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_9)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_10)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_11)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_12)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_13)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_14)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_15)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_7)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_8)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_9)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_10)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_11)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_12)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_13)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_16)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_17)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_18)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_19)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_20)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_21)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_22)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_23)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_24)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_25)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_26)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_27)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_28)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_29)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_30)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_31)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_32)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_33)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_34)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_35)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_36)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_37)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_38)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_39)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_40)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_41)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_42)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_43)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_44)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_45)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_46)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_47)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_48)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_49)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_50)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_51)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_52)", + ); + PREBINDING = NO; + PRODUCT_NAME = "$(TARGET_NAME)Debug"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + E4B69B610A3A1757003C02F2 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1)", + ); + FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../../../../Developer/Library/openFrameworks/libs/glut/lib/osx\""; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_MODEL_TUNING = NONE; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Headers/Carbon.h"; + INFOPLIST_FILE = "openFrameworks-Info.plist"; + INSTALL_PATH = "$(HOME)/Applications"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_4)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_5)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_6)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_7)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_8)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_9)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_10)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_11)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_12)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_13)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_14)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_15)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_1)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_7)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_8)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_9)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_10)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_11)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_12)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_13)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_16)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_17)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_18)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_19)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_20)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_21)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_22)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_23)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_24)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_25)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_26)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_27)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_28)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_29)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_30)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_31)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_32)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_33)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_34)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_35)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_36)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_37)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_38)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_39)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_40)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_41)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_42)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_43)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_44)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_45)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_46)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_47)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_48)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_49)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_50)", + "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_51)", + ); + PREBINDING = NO; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + E4B69B4D0A3A1720003C02F2 /* Build configuration list for PBXProject "fensterTextEditor" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E4B69B4E0A3A1720003C02F2 /* Debug */, + E4B69B4F0A3A1720003C02F2 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + E4B69B5F0A3A1757003C02F2 /* Build configuration list for PBXNativeTarget "fensterTextEditor" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E4B69B600A3A1757003C02F2 /* Debug */, + E4B69B610A3A1757003C02F2 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = E4B69B4C0A3A1720003C02F2 /* Project object */; +} diff --git a/fensterTextEditor.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/fensterTextEditor.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..84b5152 --- /dev/null +++ b/fensterTextEditor.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Workspace + version = "1.0"> + <FileRef + location = "self:fensterTextEditor.xcodeproj"> + </FileRef> +</Workspace> diff --git a/fensterTextEditor.xcodeproj/tim.pbxuser b/fensterTextEditor.xcodeproj/tim.pbxuser new file mode 100644 index 0000000..805d1fe --- /dev/null +++ b/fensterTextEditor.xcodeproj/tim.pbxuser @@ -0,0 +1,148 @@ +// !$*UTF8*$! +{ + 220D0F3A168BA6DC00A7EB05 /* fensterTextEditor */ = { + isa = PBXExecutable; + activeArgIndices = ( + ); + argumentStrings = ( + ); + autoAttachOnCrash = 1; + breakpointsEnabled = 0; + configStateDict = { + }; + customDataFormattersEnabled = 1; + dataTipCustomDataFormattersEnabled = 1; + dataTipShowTypeColumn = 1; + dataTipSortType = 0; + debuggerPlugin = GDBDebugging; + disassemblyDisplayState = 0; + dylibVariantSuffix = ""; + enableDebugStr = 1; + environmentEntries = ( + ); + executableSystemSymbolLevel = 0; + executableUserSymbolLevel = 0; + libgmallocEnabled = 0; + name = fensterTextEditor; + savedGlobals = { + }; + showTypeColumn = 0; + sourceDirectories = ( + ); + }; + 220D0F66168BA6FD00A7EB05 /* Source Control */ = { + isa = PBXSourceControlManager; + fallbackIsa = XCSourceControlManager; + isSCMEnabled = 0; + scmConfiguration = { + repositoryNamesForRoots = { + "" = ""; + }; + }; + }; + 220D0F67168BA6FD00A7EB05 /* Code sense */ = { + isa = PBXCodeSenseManager; + indexTemplatePath = ""; + }; + 220D0FF5168BC13C00A7EB05 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = E4B69E1F0A3A1BDC003C02F2 /* testApp.h */; + name = "testApp.h: 43"; + rLen = 0; + rLoc = 869; + rType = 0; + vrLen = 734; + vrLoc = 265; + }; + 220D1000168BC26200A7EB05 /* XCBuildMessageTextBookmark */ = { + isa = PBXTextBookmark; + comments = "Invalid conversion from 'char' to 'const char*'"; + fRef = E4B69E1E0A3A1BDC003C02F2 /* testApp.cpp */; + fallbackIsa = XCBuildMessageTextBookmark; + rLen = 1; + rLoc = 131; + rType = 1; + }; + 220D1010168BC61200A7EB05 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = E4B69E1E0A3A1BDC003C02F2 /* testApp.cpp */; + name = "testApp.cpp: 91"; + rLen = 0; + rLoc = 3031; + rType = 0; + vrLen = 1141; + vrLoc = 2645; + }; + E4B69B4C0A3A1720003C02F2 /* Project object */ = { + activeBuildConfigurationName = Debug; + activeExecutable = 220D0F3A168BA6DC00A7EB05 /* fensterTextEditor */; + activeTarget = E4B69B5A0A3A1756003C02F2 /* fensterTextEditor */; + codeSenseManager = 220D0F67168BA6FD00A7EB05 /* Code sense */; + executables = ( + 220D0F3A168BA6DC00A7EB05 /* fensterTextEditor */, + ); + perUserDictionary = { + PBXConfiguration.PBXFileTableDataSource3.PBXFileTableDataSource = { + PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; + PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID; + PBXFileTableDataSourceColumnWidthsKey = ( + 20, + 577, + 20, + 48.16259765625, + 43, + 43, + 20, + ); + PBXFileTableDataSourceColumnsKey = ( + PBXFileDataSource_FiletypeID, + PBXFileDataSource_Filename_ColumnID, + PBXFileDataSource_Built_ColumnID, + PBXFileDataSource_ObjectSize_ColumnID, + PBXFileDataSource_Errors_ColumnID, + PBXFileDataSource_Warnings_ColumnID, + PBXFileDataSource_Target_ColumnID, + ); + }; + PBXPerProjectTemplateStateSaveDate = 378250972; + PBXWorkspaceStateSaveDate = 378250972; + }; + perUserProjectItems = { + 220D0FF5168BC13C00A7EB05 /* PBXTextBookmark */ = 220D0FF5168BC13C00A7EB05 /* PBXTextBookmark */; + 220D1000168BC26200A7EB05 /* XCBuildMessageTextBookmark */ = 220D1000168BC26200A7EB05 /* XCBuildMessageTextBookmark */; + 220D1010168BC61200A7EB05 /* PBXTextBookmark */ = 220D1010168BC61200A7EB05 /* PBXTextBookmark */; + }; + sourceControlManager = 220D0F66168BA6FD00A7EB05 /* Source Control */; + userBuildSettings = { + }; + }; + E4B69B5A0A3A1756003C02F2 /* fensterTextEditor */ = { + activeExec = 0; + executables = ( + 220D0F3A168BA6DC00A7EB05 /* fensterTextEditor */, + ); + }; + E4B69E1D0A3A1BDC003C02F2 /* main.cpp */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {917, 446}}"; + sepNavSelRange = "{233, 0}"; + sepNavVisRange = "{0, 436}"; + sepNavWindowFrame = "{{15, 4}, {976, 574}}"; + }; + }; + E4B69E1E0A3A1BDC003C02F2 /* testApp.cpp */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {754, 2574}}"; + sepNavSelRange = "{4634, 0}"; + sepNavVisRange = "{4278, 403}"; + }; + }; + E4B69E1F0A3A1BDC003C02F2 /* testApp.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {755, 650}}"; + sepNavSelRange = "{869, 0}"; + sepNavVisRange = "{265, 734}"; + sepNavWindowFrame = "{{15, 4}, {976, 574}}"; + }; + }; +} diff --git a/fensterTextEditor.xcodeproj/xcshareddata/xcschemes/fensterTextEditor Debug.xcscheme b/fensterTextEditor.xcodeproj/xcshareddata/xcschemes/fensterTextEditor Debug.xcscheme new file mode 100644 index 0000000..dd84353 --- /dev/null +++ b/fensterTextEditor.xcodeproj/xcshareddata/xcschemes/fensterTextEditor Debug.xcscheme @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Scheme + version = "1.3"> + <BuildAction + parallelizeBuildables = "YES" + buildImplicitDependencies = "YES"> + <BuildActionEntries> + <BuildActionEntry + buildForTesting = "YES" + buildForRunning = "YES" + buildForProfiling = "YES" + buildForArchiving = "YES" + buildForAnalyzing = "YES"> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "E4B69B5A0A3A1756003C02F2" + BuildableName = "fensterTextEditor.app" + BlueprintName = "fensterTextEditor" + ReferencedContainer = "container:fensterTextEditor.xcodeproj"> + </BuildableReference> + </BuildActionEntry> + </BuildActionEntries> + </BuildAction> + <TestAction + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB" + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB" + shouldUseLaunchSchemeArgsEnv = "YES" + buildConfiguration = "Debug"> + <Testables> + </Testables> + <MacroExpansion> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "E4B69B5A0A3A1756003C02F2" + BuildableName = "fensterTextEditor.app" + BlueprintName = "fensterTextEditor" + ReferencedContainer = "container:fensterTextEditor.xcodeproj"> + </BuildableReference> + </MacroExpansion> + </TestAction> + <LaunchAction + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB" + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB" + launchStyle = "0" + useCustomWorkingDirectory = "NO" + buildConfiguration = "Debug" + debugDocumentVersioning = "YES" + allowLocationSimulation = "YES"> + <BuildableProductRunnable> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "E4B69B5A0A3A1756003C02F2" + BuildableName = "fensterTextEditor.app" + BlueprintName = "fensterTextEditor" + ReferencedContainer = "container:fensterTextEditor.xcodeproj"> + </BuildableReference> + </BuildableProductRunnable> + <AdditionalOptions> + </AdditionalOptions> + </LaunchAction> + <ProfileAction + shouldUseLaunchSchemeArgsEnv = "YES" + savedToolIdentifier = "" + useCustomWorkingDirectory = "NO" + buildConfiguration = "Debug" + debugDocumentVersioning = "YES"> + <BuildableProductRunnable> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "E4B69B5A0A3A1756003C02F2" + BuildableName = "fensterTextEditor.app" + BlueprintName = "fensterTextEditor" + ReferencedContainer = "container:fensterTextEditor.xcodeproj"> + </BuildableReference> + </BuildableProductRunnable> + </ProfileAction> + <AnalyzeAction + buildConfiguration = "Debug"> + </AnalyzeAction> + <ArchiveAction + buildConfiguration = "Debug" + revealArchiveInOrganizer = "YES"> + </ArchiveAction> +</Scheme> diff --git a/fensterTextEditor.xcodeproj/xcshareddata/xcschemes/fensterTextEditor Release.xcscheme b/fensterTextEditor.xcodeproj/xcshareddata/xcschemes/fensterTextEditor Release.xcscheme new file mode 100644 index 0000000..5e2e017 --- /dev/null +++ b/fensterTextEditor.xcodeproj/xcshareddata/xcschemes/fensterTextEditor Release.xcscheme @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Scheme + version = "1.3"> + <BuildAction + parallelizeBuildables = "YES" + buildImplicitDependencies = "YES"> + <BuildActionEntries> + <BuildActionEntry + buildForTesting = "YES" + buildForRunning = "YES" + buildForProfiling = "YES" + buildForArchiving = "YES" + buildForAnalyzing = "YES"> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "E4B69B5A0A3A1756003C02F2" + BuildableName = "fensterTextEditor.app" + BlueprintName = "fensterTextEditor" + ReferencedContainer = "container:fensterTextEditor.xcodeproj"> + </BuildableReference> + </BuildActionEntry> + </BuildActionEntries> + </BuildAction> + <TestAction + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB" + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB" + shouldUseLaunchSchemeArgsEnv = "YES" + buildConfiguration = "Release"> + <Testables> + </Testables> + <MacroExpansion> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "E4B69B5A0A3A1756003C02F2" + BuildableName = "fensterTextEditor.app" + BlueprintName = "fensterTextEditor" + ReferencedContainer = "container:fensterTextEditor.xcodeproj"> + </BuildableReference> + </MacroExpansion> + </TestAction> + <LaunchAction + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB" + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB" + launchStyle = "0" + useCustomWorkingDirectory = "NO" + buildConfiguration = "Release" + debugDocumentVersioning = "YES" + allowLocationSimulation = "YES"> + <BuildableProductRunnable> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "E4B69B5A0A3A1756003C02F2" + BuildableName = "fensterTextEditor.app" + BlueprintName = "fensterTextEditor" + ReferencedContainer = "container:fensterTextEditor.xcodeproj"> + </BuildableReference> + </BuildableProductRunnable> + <AdditionalOptions> + </AdditionalOptions> + </LaunchAction> + <ProfileAction + shouldUseLaunchSchemeArgsEnv = "YES" + savedToolIdentifier = "" + useCustomWorkingDirectory = "NO" + buildConfiguration = "Release" + debugDocumentVersioning = "YES"> + <BuildableProductRunnable> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "E4B69B5A0A3A1756003C02F2" + BuildableName = "fensterTextEditor.app" + BlueprintName = "fensterTextEditor" + ReferencedContainer = "container:fensterTextEditor.xcodeproj"> + </BuildableReference> + </BuildableProductRunnable> + </ProfileAction> + <AnalyzeAction + buildConfiguration = "Release"> + </AnalyzeAction> + <ArchiveAction + buildConfiguration = "Release" + revealArchiveInOrganizer = "YES"> + </ArchiveAction> +</Scheme> diff --git a/openFrameworks-Info.plist b/openFrameworks-Info.plist new file mode 100644 index 0000000..e5db555 --- /dev/null +++ b/openFrameworks-Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!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>CFBundleIdentifier</key> + <string>com.yourcompany.openFrameworks</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>1.0</string> +</dict> +</plist> diff --git a/src/main.cpp b/src/main.cpp index ee028c0..c27c0e2 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -6,7 +6,7 @@ int main( ){ ofAppGlutWindow window; - ofSetupOpenGL(ofxFensterManager::get(),600,600, OF_WINDOW); // <-------- setup the GL context + ofSetupOpenGL(ofxFensterManager::get(),400,400, OF_WINDOW); // <-------- setup the GL context // this kicks off the running of my app // can be OF_WINDOW or OF_FULLSCREEN diff --git a/src/testApp.cpp b/src/testApp.cpp index 5a18248..22c2897 100755 --- a/src/testApp.cpp +++ b/src/testApp.cpp @@ -25,6 +25,10 @@ set box size - draw scrollbar & set scrollpoint - drag to scroll insertion point/ selection - set with mouse - get and set clipboard (ofxFensterManager.h) + + +vector insert a problem performance wise? +you need to use an iterator to insert into a vector anyway- may as well use a list */ @@ -33,14 +37,13 @@ editorWindow::~editorWindow(){ } void editorWindow::setup(){ - ofxFenster* win=ofxFensterManager::get()->createFenster(0, 0, 600, 600, OF_WINDOW); + ofxFenster* win=ofxFensterManager::get()->createFenster(0, 0, 400, 400, OF_WINDOW); win->setWindowTitle("editor"); win->addListener(this); selected=false; text.push_back(string("")); } void editorWindow::draw(){ - for (int i=0;i<text.size();i++) { ofDrawBitmapString(text[i],10,15+(i*12)); } @@ -78,15 +81,19 @@ void editorWindow::draw(){ #define OF_KEY_INSERT */ void editorWindow::keyPressed(int key){ - printf("%i\n",key); + vector<string>::iterator i; + string t; + int l; switch (key) { case OF_KEY_RETURN: - text.push_back(string("")); - insertionPoint.row=text.size()-1; + for (i=text.begin(),l=0;l<=insertionPoint.row;i++,l++) {} + t=text[insertionPoint.row].substr(insertionPoint.column); + text[insertionPoint.row].erase(insertionPoint.column); + text.insert(i,t); + insertionPoint.row++; insertionPoint.column=0; break; - case OF_KEY_LEFT: - printf("left\n"); + case 267: //OF_KEY_LEFT is wrong? insertionPoint.column--; if (insertionPoint.column<0) { if (insertionPoint.row>0) { @@ -96,15 +103,13 @@ void editorWindow::keyPressed(int key){ else insertionPoint.column=0; } break; - case OF_KEY_UP: - printf("up\n"); + case 269: //OF_KEY_UP is wrong? if (insertionPoint.row>0) { insertionPoint.row--; insertionPoint.column=min(insertionPoint.column,(int)text[insertionPoint.row].size()); } break; - case OF_KEY_RIGHT: - printf("right\n"); + case 268: //OF_KEY_RIGHT is wrong? insertionPoint.column++; if (insertionPoint.column>text[insertionPoint.row].size()) { if (text.size()>insertionPoint.column) { @@ -114,17 +119,17 @@ void editorWindow::keyPressed(int key){ else insertionPoint.column--; } break; - case OF_KEY_DOWN: - printf("down\n"); + case 270: //OF_KEY_DOWN is wrong? if (text.size()>insertionPoint.row) { insertionPoint.row++; insertionPoint.column=min(insertionPoint.column,(int)text[insertionPoint.row].size()); } break; default: - char buf[2]; - sprintf(buf,"%c",key); - text[insertionPoint.row]+=buf; + //char buf[2]; + //sprintf(buf,"%c",key); + //text[insertionPoint.row]+=buf; + text[insertionPoint.row].insert(insertionPoint.column,1,(char)key); insertionPoint.column++; } } diff --git a/src/testApp.h b/src/testApp.h index de24006..6c7ccf2 100755 --- a/src/testApp.h +++ b/src/testApp.h @@ -3,9 +3,9 @@ #include "ofMain.h" #include "ofxFensterManager.h" -struct vecTexPt { - vecTexPt(int r=0,int c=0) {row=r;column=c;}; - int row; +struct texPt { + texPt(int r=0,int c=0) {row=r;column=c;}; + int row; int column; }; @@ -40,10 +40,10 @@ class editorWindow: public ofxFensterListener{ void keyPressed(int key); void keyReleased(int key); private: - vector<string> text; - vecTexPt insertionPoint; - vecTexPt selectionStart; - vecTexPt selectionEnd; + vector<string> text; + texPt insertionPoint; + texPt selectionStart; + texPt selectionEnd; bool selected; }; |
