Bernie Bright writes:
> On Sat, 18 Jan 2003 12:39:32 -0500
> David Megginson <[EMAIL PROTECTED]> wrote:
> 
> > The new XML-configured menubar is now the default for FlightGear;
> > configure --with-old-menubar to get the old one (which I'll keep
> > around for now, until we're sure the new one is working OK).
> > 
> > Please, everyone, give the new menubar a spin, and take a look at
> > $FG_ROOT/gui/menubar.xml and $FG_ROOT/gui/dialogs/*.xml to see how to
> > add new menu entries and dialogs.  As an example, I've added a
> > "Weather" menu with the ability to set winds,
> > temperature/pressure/dewpoint, and cloud layers.
> > 
> 
> The weather dialogs are not found unless the FG_ROOT environment variable is
> set.  Shouldn't this really be globals->get_fg_root() ?

Ahhh, that would explain why I haven't been able to get them to work
yet.  Yes, if we stay with the way we have been doing this, we should
look for files relative to globals->get_fg_root() since you can
specify the root via command line options and probably via properties
somehow too.

Curt.
-- 
Curtis Olson   IVLab / HumanFIRST Program       FlightGear Project
Twin Cities    [EMAIL PROTECTED]                  [EMAIL PROTECTED]
Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to