PDA

View Full Version : arg and confid



10euros
07-02-2005, 11:23 AM
sorry for my bad english
where can i find the values for arg and confid
when i will made a own menu

ShadoW2004
07-02-2005, 11:44 AM
If you wont to create your menu:

# Name of menu
@item title=text/new_menu action=0x52 flags=0x8 msg=0x387
@menu dispmode=0x80
@header action=0xD flags=0x11


HERE IS SOME FUNCTIONS!!!

# Name of menu
@end

Then add to PPM_Strings.txt:

@text var=text/new_menu
ENGL:My Super Menu


-----------------------

dispmode=0x80 - you can change it to dispmode=0xC0 for exapmle to see other style of menu...

10euros
07-02-2005, 12:46 PM
this is my menu
# Extras
@item stitle="Extras" gfx=0xE2 action=0x3E action=0x3e msg=0x387
@menu dispmode=0xC0
@header action=0xd flags=0x1


# Picture
@item title=71 action=0x3E msg=0x5E0 arg=0xAB

# Net monitor
@item title=10 flags=0x4 msg=0x5E0 arg=0x30

# Invert LCD
@item title=text/new_menu action=0x52 flags=0x8 msg=0x387
@menu dispmode=0x80
@header action=0xD flags=0x11

# On
@item stitle="on" flag2=0x52 flag3=0x400 func=0x5E0 confmode=arg confid=invert_lcd/on

# Off
@item stitle="off" flag2=0x52 flag3=0x400 func=0x5E0 confmode=arg confid=invert_lcd/off

# Invert LCD
@end


# Extras
@end

but i donīt know where i must add the ppm strings
i must add in the project the script add_ppm_strings.nrx and as parameter my .txt for this example

# PPM strings


# additional menu name

@text var=text/Extras
ENGL:Applications
POLI:Aplikacje


# additional menu name

@text var=text/Invert_LCD
ENGL:Extras
POLI:Aplikacje

10euros
07-02-2005, 12:59 PM
sorry for the the 2 posts
the internet connection had some problem

ema2000
10-02-2005, 12:19 PM
how about the 3330 menu structure , i can't set the right menu headr action and the flags for my menu , it's acting weird , some time no done appears , it shows done with virus menu
with mr yak menu's it's ok coz it've builtin search in the script for the right menu configurations