2011-02-21, 21:50
nikothebouriko Wrote:I can't create a mockup cirrus, I don't have texture (it's an exemple vertical submenu with top main menu horizontal)
Just look at the texture the submenu uses and use the same exact textures already referenced.
OR, use the tons of code that already exists and modify it gradually to look how you want.
This custom menu you want to create really should be pretty damn easy to create out of modified files already present, because all of the ingredients are already there. I might be missing some things, but it would basically be as follows:
Step one: Create a copy of the horizontal menu file (includeshomemainmenuhoriz) or something like that, located in the 720p folder.-- Give it a new file name, and a unique ID number (this must be changed throughout the document all places it occurs), and add it to the beginning of includes.xml.
Based on your screen shot, you probably want to adjust the focus position of your fixedlist to be more left aligned than centered.
Step 2: Modify the location of the menu in the control group that governs the position of all of the menu items.
Step 3: This is the key--copy the submenu from the VERTICAL Home menu, give it a unique name and ID number, add it to includes.xml.
Step 4: Change the "<ondown>" tags in your new horizontal menu file to the id number you created for the new modified vertical submenu.
Step 5: Adjust the individual list items for each submenu so that they are located at the top, rather than the middle.
Step 6: Go back and adjust the date and time's size and location (I think this is actually in home.xml, but I could be wrong).
Step 7: Add the submenu items you want, along with the headings and format them accordingly. Lists of font's can be found in the fonts.xml file.
I don't know how familiar you are with skinning, but an easy way to get the activatewindow command for an item you want to add is by adding it to favourites, then opening your userdata folder and finding favourites.xml and stealing it from there.
Step 8: I don't know if they people are going to want this home menu available as an option in skin settings when they download it, but you are either going to have to make it switchable in the settings, or you are going to have to simply delete either your vertical or horizontal menus and submenus, and replace them with these files and rename them exactly as the ones you deleted. Then it will just sort of be your personal hack, but not everything can be listed in the settings of the official version.
This should get you pretty close, without even having to even worry about much many changes. Like I said, most of this stuff is already there, just have to move it around a bit.
Have fun!