Huge amount of refactoring to use Cocoa here:
- Updated to .xib format. To produce a new nib (which is required after changing the xib file), use "ibtool SecondLife.xib --compile SecondLife.nib" within the newview directory. - xib file now defines the viewer's window. VIews are still being pragmatically added to the main window. This may change in the future. - LLAppViewer's main loop has been slightly refactored to be executed on a timer for OS X. This probably needs a bit more work. - Event handling still needs more work to work within a timer based event loop. It works fairly sporadically at the moment, as if events are being dropped between timer executions, at least for the mouse. - Carbon has been purged from the viewer's startup, and from LLWindow entirely. There's likely still a few odds and ends fragmented throughout the viewer and its dependencies. Need to track these down. - LLAppViewerMacOSX now uses NSApplicationMain, and also implements the NSApplicationDelegate protocol in LLAppDelegate. - Fullscreen support has been implemented for OS X 10.7+ This is still a work in progress, however at this stage everything needed for a functional viewer is (mostly) complete. From here, it's mostly just bug hunting and fixing.
Showing
- indra/llwindow/llopenglview-objc.h 6 additions, 1 deletionindra/llwindow/llopenglview-objc.h
- indra/llwindow/llopenglview-objc.mm 93 additions, 47 deletionsindra/llwindow/llopenglview-objc.mm
- indra/llwindow/llwindowmacosx-objc.h 3 additions, 1 deletionindra/llwindow/llwindowmacosx-objc.h
- indra/llwindow/llwindowmacosx-objc.mm 14 additions, 5 deletionsindra/llwindow/llwindowmacosx-objc.mm
- indra/llwindow/llwindowmacosx.cpp 4 additions, 129 deletionsindra/llwindow/llwindowmacosx.cpp
- indra/llwindow/llwindowmacosx.h 0 additions, 2 deletionsindra/llwindow/llwindowmacosx.h
- indra/media_plugins/webkit/mac_volume_catcher.cpp 0 additions, 1 deletionindra/media_plugins/webkit/mac_volume_catcher.cpp
- indra/newview/CMakeLists.txt 5 additions, 1 deletionindra/newview/CMakeLists.txt
- indra/newview/Info-SecondLife.plist 4 additions, 0 deletionsindra/newview/Info-SecondLife.plist
- indra/newview/SecondLife.nib/classes.nib 0 additions, 0 deletionsindra/newview/SecondLife.nib/classes.nib
- indra/newview/SecondLife.nib/info.nib 0 additions, 0 deletionsindra/newview/SecondLife.nib/info.nib
- indra/newview/SecondLife.nib/objects.xib 0 additions, 259 deletionsindra/newview/SecondLife.nib/objects.xib
- indra/newview/SecondLife.xib 1848 additions, 0 deletionsindra/newview/SecondLife.xib
- indra/newview/llappviewer.cpp 64 additions, 54 deletionsindra/newview/llappviewer.cpp
- indra/newview/llappviewer.h 3 additions, 0 deletionsindra/newview/llappviewer.h
- indra/newview/llappviewermacosx-delegate.h 24 additions, 0 deletionsindra/newview/llappviewermacosx-delegate.h
- indra/newview/llappviewermacosx-delegate.mm 49 additions, 0 deletionsindra/newview/llappviewermacosx-delegate.mm
- indra/newview/llappviewermacosx-objc.h 19 additions, 0 deletionsindra/newview/llappviewermacosx-objc.h
- indra/newview/llappviewermacosx-objc.mm 20 additions, 0 deletionsindra/newview/llappviewermacosx-objc.mm
- indra/newview/llappviewermacosx.cpp 39 additions, 195 deletionsindra/newview/llappviewermacosx.cpp
Loading
Please register or sign in to comment