0023243: Adapt OpenGL viewer for using in Cocoa applications on Mac OS X
authorbugmaster <bugmaster@opencascade.com>
Mon, 24 Dec 2012 13:46:07 +0000 (17:46 +0400)
committerbugmaster <bugmaster@opencascade.com>
Mon, 24 Dec 2012 13:46:07 +0000 (17:46 +0400)
commit4fe56619213b38f852e55d0cff034b0ee9a5bfc4
tree345163f75411a21f6e7c9bee33adcf0e2237f021
parent352ffd73588d0b3574d4db468775cfadfe08a53b
0023243: Adapt OpenGL viewer for using in Cocoa applications on Mac OS X

Cocoa_Window draft
OpenGl_Context and OpenGl_Window - added support for Cocoa OpenGL context
TKV3d - accept Cocoa_Window
Draft version of ViewerInit method for Mac OS X
Added ViewerTest_CocoaEventManagerView
ViewerTest - attach events to Cocoa window
Cocoa_Window - disable autorelease on close
Fix for OpenGl_Context::Init method
Cocoa_Window - convert top-left coordinates to bottom-left
Added selection with rubber band (rubber band drawing still should be implemented)
Fixed OpenGl_Display initialization on Mac OS X
Fixed OpenGl includes
30 files changed:
adm/UDLIST
src/Cocoa/Cocoa_LocalPool.hxx [new file with mode: 0644]
src/Cocoa/Cocoa_LocalPool.mm [new file with mode: 0644]
src/Cocoa/Cocoa_Window.hxx [new file with mode: 0644]
src/Cocoa/Cocoa_Window.mm [new file with mode: 0644]
src/Cocoa/EXTERNLIB [new file with mode: 0755]
src/Cocoa/FILES [new file with mode: 0755]
src/InterfaceGraphic/FILES
src/InterfaceGraphic/InterfaceGraphic.hxx
src/InterfaceGraphic/InterfaceGraphic_Cocoa.hxx [new file with mode: 0755]
src/OpenGl/EXTERNLIB
src/OpenGl/FILES
src/OpenGl/OpenGl_Context.cxx
src/OpenGl/OpenGl_Context.hxx
src/OpenGl/OpenGl_Context_1.mm [new file with mode: 0644]
src/OpenGl/OpenGl_Display.cxx
src/OpenGl/OpenGl_Display_1.cxx
src/OpenGl/OpenGl_GlCore11.hxx
src/OpenGl/OpenGl_Window.cxx
src/OpenGl/OpenGl_Window_1.mm [new file with mode: 0644]
src/OpenGl/OpenGl_Workspace_2.cxx
src/TKOpenGl/EXTERNLIB
src/TKService/EXTERNLIB
src/TKService/PACKAGES
src/TKViewerTest/EXTERNLIB
src/ViewerTest/EXTERNLIB [new file with mode: 0755]
src/ViewerTest/FILES
src/ViewerTest/ViewerTest_ViewerCommands.cxx
src/ViewerTest/ViewerTest_ViewerCommands_1.mm [new file with mode: 0644]
src/Visual3d/Visual3d_View.cxx