Dear visitor, welcome to Dreamboard. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<!-- Main information --> <screen name="menu_information" position="center,center"..... <!--(service_info_screen)--> <widget source="menu" render="Pixmap" pixmap="egle_black2-HD/menu/service_info.png" position="65,100" size="128,128" alphatest="on"> <convert type="MenuEntryCompare">service_info_screen</convert> <convert type="ConditionalShowHide" /> </widget> <!--(about_screen)--> <widget source="menu" render="Pixmap" pixmap="egle_black2-HD/menu/kthesaurus.png" position="65,100" size="128,128" alphatest="on"> <convert type="MenuEntryCompare">about_screen</convert> <convert type="ConditionalShowHide" /> </widget> |
|
|
Source code |
1 2 3 4 |
def startSetup(menuid):
<------>if menuid != "setup":.
<------><------>return [ ]
<------>return [(_("Software management"), UpgradeMain, "software_manager", 50)]
|
dazu passend hätte ich noch ein altes und leider ungelöstes problem. Im hauptmenü konnte ich alle meine png's zuweisen, aber in der menu_system will mir nicht alles gelingen. |
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<screen name="menu_system" position="0,0" size="1280,720" title="Main menu" flags="wfNoBorder">
.
<widget source="menu" render="Pixmap" pixmap="PP-HD1R2-V2/icons/RecordPaths.png" position="550,200" size="140,140" alphatest="blend" zPosition="1">
<convert type="MenuEntryCompare">RecordPaths</convert>
<convert type="ConditionalShowHide" />
</widget>
<widget source="menu" render="Pixmap" pixmap="PP-HD1R2-V2/icons/osd.png" position="550,200" size="140,140" alphatest="blend" zPosition="1">
<convert type="MenuEntryCompare">lcd_setup</convert>
<convert type="ConditionalShowHide" />
</widget>
<widget source="menu" render="Pixmap" pixmap="PP-HD1R2-V2/icons/keyboard.png" position="550,200" size="140,140" alphatest="blend" zPosition="1">
<convert type="MenuEntryCompare">keyboard</convert>
<convert type="ConditionalShowHide" />
</widget>
|
|
|
Source code |
1 2 3 |
<item text="Keyboard"><setup id="keyboard" /></item> <item level="2" text="Recording paths" entryId="RecordPaths"><screen module="RecordPaths" screen="RecordPathsSettings" /></item> |
Hallo
Würde gerne die Namen wissen die zur Kanalsuche name="menu_scan"
und dem Systemmenü name="menu_system" gehören, damit ich diesen Menüpunkten
jeweils eigene Icons spendieren kann.
This post has been edited 1 times, last edit by "lizardking" (Dec 10th 2011, 12:28am)

This post has been edited 3 times, last edit by "EgLe" (Dec 17th 2011, 1:59pm)
Hmm, ist aber nun schon fertig bis auf die "Kaputten EInträge" die eben noch als "Leer" angezeigt werden.... ach noch was, wird auch von Vorteil sein, nicht für alle Items ein Icon zu machen, sonst braucht
der Menüaufbau "zu lange" (auch wenn es nur eine Sekunde mehr ist).
Habe dafür ein "default icon" das angezeigt wird ...
|
|
Source code |
1 2 |
<item level="0" entryID="lcd_setup" requires="Display"><setup level="1" id="lcd" /></item> <item level="0" entryID="keyboard" text="Keyboard"><setup id="keyboard" /></item> |
|
|
Source code |
1 2 |
<item requires="Display" entryID="lcd_setup"><setup level="1" id="lcd" /></item> <item text="Keyboard" entryID="keyboard"><setup id="keyboard" /></item> |