gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: [Gnash-dev] GUI-specific configuration


From: Udo Giacomozzi
Subject: Re[2]: [Gnash-dev] GUI-specific configuration
Date: Mon, 19 Feb 2007 18:46:29 +0100

Hello Rob,

Monday, February 19, 2007, 6:23:55 PM, you wrote:
RS>   There is a manual section on the rc file, and it's API. Basically it's
RS> very simple, just add new methods to rc.h and rc.cpp, and then make sure
RS> you also add the few lines of code (cut & paste) for each new setting.

Uhm, don't want to touch rc.* just for one single GUI... :(


RS> The $(HOME)/.gnashrc file is mostly oriented towards user settings that
RS> may change, so I think for FB specific config settings that effect the
RS> Player itself, these should be in an external disk file, that gets read
RS> by Gnash using either the XML support to read in a config file, or the
RS> new File I/O extension. Currently most Flash "applications" I've worked
RS> on (as opposed to an animation) use the XML AS class to read in config
RS> files.

It's not related to the movie itself. It's just like a X86config file.
Settings required are, among others:

 - type of input device (none, PS/2 compatible mouse, Touch screen)

 - device name of input device (ex. /dev/input/mice)

 - touch screen calibration values

These are very specific for the FB GUI and should not affect other
GUIs.

I just thought about a special [FB] section in .gnashrc that get's
parsed / interpreted only when the FB GUI is used.

So you're telling me the current design does not support this?

fb.cpp could read it's own config file, of course, but I doubt that
would be an elegant solution... What do you think?

Udo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]