On 4/14/08, Julian Lombardi <
julian@...> wrote:
> The "Person" "Thing" and "Frame" items under the present Tools menu are only
> temporarily located there. It was my intention that these items be
> initiated as contextual menus when someone right-clicked on an avatar
> (Person options), a 3D object (mesh) in a scene (Thing options), and a
> windowframe (Frame). I never got around to hooking up these as contextual
> menus and it would be great if someone could take a shot at setting that up.
> On Apr 14, 2008, at 1:08 PM, Mark P. McCahill wrote:
> we need to have context/popup menus in Cobalt - they are really useful :-)
There are at least a couple of ways to approach this. The way that is
used by the KAT/Collaborative demo, and I think the event-responding
TFrame subclass that Peter referred to, has a Tweak context menu that
appears in the local user area, outside of the replicated island, that
communicates to the related object in the island.
There is also a TMenu class (or something like that) that was
contributed by Qwaq that is not used in any demos I am aware of. It
brings up a menu inside the replicated space and visually inside the
3D space, so it would appear for all participants. Which one would be
the better approach?
Dave
P.S. I am currently spending my play/development time on yet another
approach, but it is far from ready for prime time. Beware Error 33.
(
http://www.jargon.net/jargonfile/e/error33.html)