Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [Manta] xwindowui question


Chronological Thread 
  • From: Roni Choudhury <roni@cs.utah.edu>
  • To: James Bigler <bigler@cs.utah.edu>
  • Cc: manta@sci.utah.edu
  • Subject: Re: [Manta] xwindowui question
  • Date: Mon, 15 Oct 2007 14:51:55 -0600

I guess my question was if there is a real way :)

I'm not sure how to get that pointer without changing the code, and I don't know the best way to do that.

roni

James Bigler wrote:
I thought I talked to you about this problem on Friday. It's easy to do if you have a pointer to the XWindow class. The trick is in getting a pointer to that class, so you can add keyboard transactions to it.

It may be nice to add a list of UserInterface* to MantaInteface, so that if anything the rendering engine could communicate various things to it. Once this is done, we could query the list of UserInterface classes and dynamically cast them to find if there is an XWindow class.

James

On Oct 15, 2007, at 12:12 PM, Roni Choudhury wrote:

Is there an easy way to add new key bindings to the XWindowUI? Or should I just hard code them in?

roni





Archive powered by MHonArc 2.6.16.

Top of page