Tweak window in a 3D world

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Tweak window in a 3D world

Christophe Rettien
I have a CWindow derived class which displays a number of CLabel(s) and CInputField(s). This Tweak window is displayed on demand in a 3D world.
Question 1: I have not found a way to open the CWindow without using a menu. Is it possible to open a CWindow in a TWindow ?
Something like :

morphic := aCWindow.
win := TWindow new.
win translationX: 12 y: 0.0 z: -16.0.
win rotationAroundY: -75.
win contents: morphic.

Question 2: Once displayed the CWindow does keep track of my keyboard inputs and mouseDown events execpt for the mouseOver event. It seems that the mouse pointer still is in the 3D world. This means that if a TWindow is behind a CWindow, moving the mouse pointer within the CWindow area will make the TWindow 'flash white' (mouseOver event handler) although the mouseDown and mouseUp events will be forwarded to my current CWindow (front most UI object). Is this the expected behaviour ?