Difference between revisions of "AVWizard specifications"

From LinuxMCE
Jump to: navigation, search
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<table width="100%"> <tr><td bgcolor="#FFCFCF">This page was written by Pluto and imported with their permission when LinuxMCE branched off in February, 2007. In general any information should apply to LinuxMCE.  However, this page should be edited to reflect changes to LinuxMCE and remove old references to Pluto.</td></tr> </table>[[AVWizard running steps]]
+
[[Category: Programmer's Guide]]
 +
 
 +
AVWizard is one application that setup Video and Audio for Orbiter application.  
 +
The following sections describe cleanly what AV Wizard is supposed to do and overview to aspect that you may interest to extend and use AVWizard for your need.
 +
 
 +
[[AVWizard running steps]]
  
 
[[AVWizard script based user callable events]]
 
[[AVWizard script based user callable events]]
Line 7: Line 12:
 
[[AVWizard's Control List]]
 
[[AVWizard's Control List]]
  
 +
[[AVWizard Description Language]]
  
 
+
[[AVWizard get/set from config]]
Every screen will be stored in a file with SDF extension:
+
SDF = Screen Definition Page.
+
 
+
Every event called to a child control, will be called to the parent. Events will be parsed by control and if the event is not known, there should be no suitable code, else will call the default action.
+
 
+
Saving informations, set up the wizard defaults.
+
 
+
Control definition:
+
 
+
object ControlName: <ControlType>
+
[Propery = Value]
+
Event: [[[[action1;] action2; ] .... ;] action_n]
+
[object Child: <Control Type>
+
<Child definitions>
+
        End]
+
end
+
 
+
Every ListBox and Button will be saved to the next page in a list of stored options.
+
Stored informations are next:
+
Page/Control/Option
+
 
+
At $next event, every control will be saved, and at the $previous command every control with current page will be removed.
+
 
+
Command parsing
+
 
+
The command parsing is a stack, which calls a command and remove the command after.
+
 
+
The command: $generate_event push commands in pending state.
+
 
+
Exceptional cases:
+
Following commands will destroy the stack:
+
$next; $previous; CurrentControl.OnClose
+
The next coomand destroy the screen, which clean up the all commands.
+

Latest revision as of 16:57, 16 March 2007


AVWizard is one application that setup Video and Audio for Orbiter application. The following sections describe cleanly what AV Wizard is supposed to do and overview to aspect that you may interest to extend and use AVWizard for your need.

AVWizard running steps

AVWizard script based user callable events

AVWizard's Control Events

AVWizard's Control List

AVWizard Description Language

AVWizard get/set from config