protux-devel
[Top][All Lists]
Advanced

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

Re: [Protux-devel] help.text & jmb.map


From: Luciano Giordana
Subject: Re: [Protux-devel] help.text & jmb.map
Date: Mon, 5 Jan 2004 13:04:46 -0200
User-agent: KMail/1.5

Actually that idea of extracting the help from jmb.map will be a little 
changed. Now jmb.map does not apply any meaning to the actions. Every action  
(the fisical operation on the keyboard, not the EFFECT it causes) has a 
unique ID. The code is responsible to use a specific ID for some 
context/local operation.

So I think this generation would be something like

in help.text :

"If you want to open the project manager, just perform %003% ."

this %003% would be parsed from jmb.map file which is

003 < P M >

and the ouput would be

If you want to open the project manager, just perform  <PM> (Single press P 
and M at the same time)

in other words, the help.text file is a normal text file for help, but the 
keyboard actions are reffered by their ID's


On Monday 05 January 2004 11:24, Fabio dos Santos wrote:
> Luciano
>
> I noticed that you are slowly changing the format of JMB.Map so we can
> have contextive actions. However, I cannot imagine a way to write a
> script so that it generates a help.text acordingly to context which
> means that:
>
> 1. Either you have to Hard Code the help.text or
> 2. Write a really detailed guide as to how to find the contextive
> actions in the code, and take them out easily and automatically
>
> Option number 2 seems the most plausible.... Any ideas?
> Fabio.

-- 
Best Regards
--
Luciano Giordana
Free Software Developer / Musician
Project Protux : Professional Audio Tools for GNU/Linux
http://www.nongnu.org/protux




reply via email to

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