Changeset 20925
- Timestamp:
- 11/18/07 03:45:25 (11 months ago)
- Files:
-
- juggler/trunk/modules/vrjuggler/ChangeLog (modified) (1 diff)
- juggler/trunk/modules/vrjuggler/VERSION (modified) (1 diff)
- juggler/trunk/modules/vrjuggler/configure.ac (modified) (1 diff)
- juggler/trunk/modules/vrjuggler/vrj/Draw/OpenGL/VRJOpenGLView.mm (modified) (2 diffs)
- juggler/trunk/modules/vrjuggler/vrj/Draw/OpenGL/WindowCocoa.h (modified) (1 diff)
- juggler/trunk/modules/vrjuggler/vrj/Draw/OpenGL/WindowCocoa.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/trunk/modules/vrjuggler/ChangeLog
r20872 r20925 1 1 DATE AUTHOR CHANGE 2 2 ----------- ----------- ------------------------------------------------------- 3 Nov-18-2007 patrick Updated for Gadgeteer 1.3.15. Now, Cocoa OpenGL windows 4 update their input area size correctly. 5 NEW VERSION: 2.3.16 3 6 Sep-26-2007 patrick Fixed crash-on-exit problems with Sonix. 4 7 NEW VERSION: 2.3.15 juggler/trunk/modules/vrjuggler/VERSION
r20872 r20925 1 2.3.16-0 @11/18/2007 09:45:00 UTC@ 1 2 2.3.15-0 @09/26/2007 19:55:00 UTC@ 2 3 2.3.14-0 @09/19/2007 19:10:00 UTC@ juggler/trunk/modules/vrjuggler/configure.ac
r20872 r20925 176 176 JCCL_PATH_CXX([1.1.5], , 177 177 [AC_MSG_ERROR(*** JCCL C++ API required for VR Juggler ***)]) 178 GADGETEER_PATH([1.3. 7], ,178 GADGETEER_PATH([1.3.15], , 179 179 [AC_MSG_ERROR(*** Gadgeteer required for VR Juggler ***)]) 180 180 SNX_PATH([1.3.6], , [AC_MSG_ERROR(*** Sonix required for VR Juggler ***)]) juggler/trunk/modules/vrjuggler/vrj/Draw/OpenGL/VRJOpenGLView.mm
r20903 r20925 134 134 [self clearTrackingRect]; 135 135 // NSRect bounds = [self bounds]; 136 // mVrjWindow->updateOriginSize(bounds.origin.x, bounds.origin.y, 137 // bounds.size.width, bounds.size.height); 138 // mVrjWindow->setDirtyViewport(true); 136 // mVrjWindow->updateBounds(bounds.origin.x, bounds.origin.y, 137 // bounds.size.width, bounds.size.height); 139 138 } 140 139 */ … … 505 504 506 505 NSRect bounds = [self bounds]; 507 mVrjWindow->update OriginSize(bounds.origin.x, bounds.origin.y,508 bounds.size.width, bounds.size.height);506 mVrjWindow->updateBounds(bounds.origin.x, bounds.origin.y, 507 bounds.size.width, bounds.size.height); 509 508 // mVrjWindow->releaseRenderLock(); 510 mVrjWindow->setDirtyViewport(true);511 509 } 512 510 juggler/trunk/modules/vrjuggler/vrj/Draw/OpenGL/WindowCocoa.h
r20495 r20925 88 88 89 89 /** 90 * Updates the bounds of this window to be the given values. 91 * 92 * @see gadget::InputAreaCocoa::resize() 93 * @see vrj::opengl::Window::updateOriginSize() 94 * 95 * @since 2.3.16 96 */ 97 void updateBounds(const float x, const float y, const float width, 98 const float height); 99 100 /** 90 101 * Informs this object that the NSWindow object that we created previously 91 102 * has been closed by an external entity and hence deallocated. By invoking juggler/trunk/modules/vrjuggler/vrj/Draw/OpenGL/WindowCocoa.mm
r20920 r20925 105 105 // Inform our input area of the change in our bounds. 106 106 NSRect b = [[aNotification object] frame]; 107 mWindow->update OriginSize(b.origin.x, b.origin.y, b.size.width,108 b.size.height);107 mWindow->updateBounds(b.origin.x, b.origin.y, b.size.width, 108 b.size.height); 109 109 } 110 110 @end … … 406 406 } 407 407 408 void WindowCocoa::updateBounds(const float x, const float y, const float width, 409 const float height) 410 { 411 resize(width, height); // Input area update 412 updateOriginSize(x, y, width, height); // Graphics window update 413 setDirtyViewport(true); // OpenGL viewport state 414 } 415 408 416 void WindowCocoa::setWindowOpen(const bool isOpen) 409 417 {
