Format of menu.dat file

menu.dat file contains information of some menus.
Not all menus is controled by this file.
The menus can be created by the program in runtime or by the file menu.dat or it can be a mixed variant.

It is possible to edit the file for translations but the structure must be intact.
 * Note
 * One more note
 [menu name]
 $       <--------- $ tells the menu that it can be locked on screen    
 Item 1@1
 Item 2@2
 Item 3@3:ARROW  <----- name of icon
 Item 4@4:ARROW{RED}
 .                |     |_________Background color
 .                |
 .                |_______________Text color
 .
 Item 5@5
  |     |-- Menu item identity
  |
  |----- Shown menu item text
  
 @END <-------- ends this menu

--OR---

 * Note
 * One more note
 [menu name]
 Item 1@1
 Item 2@2
 Item 3@3|submenu
  |     |    |----- Name on submenu
  |     |   
  |     |-- Menu item identity
  |
  |----- Shown menu item text
  
  The order of the control chars is very important.

The user can in some cases change the menus without the need of recompiling the code or restarting the program.

Sample:The user likes to extend the part for selecting time check of mail.
Old:
****************************************
* Time to next check of mail popup     *
*--------------------------------------*
[SelectTimercheck]
$
Off    @0
30 Sec @30
1  Min @60
5  Min @300
30 Min @1800
1  Hour@3600
6  Hour@21600
@END
New:
****************************************
* Time to next check of mail popup     *
*--------------------------------------*
[SelectTimercheck]
$
Off    @0
30 Sec @30
1  Min @60
2  Min @120
3  Min @180
4  Min @240
5  Min @300
10 Min @600
30 Min @1800
1  Hour@3600
6  Hour@21600
@END
 
© Erik Häll 1997, 1998, 1999, 2000, 2001, 2002

TO INDEX