Sample Menus Unwrapped

In this Lesson

You will see how the sample menus make use of the Soiree menu manager.

Concepts

We will begin by looking at the design of the flat menu.

Flat Menu Scene

The menu presentation consists of 4 things as shown here



The scene is designed using 5 elements



The vertical styled grid contains 2 types of rows. One for sub-menus and one for scenes.



Notice the scene is designed to display images if they are available. Here are a couple of images you can download and use in your solution menu.
Menu Image

Scene Image





After adding images to the menu items they appear like this.
By changing your scene design you are free to choose whether you display the image, the text, or both.



The FlatMenu agent is bound to the scene as shown below. You could also open the SampleMenu scene to verify the bindings.



Flat Menu Agent

The FlatMenu agent uses the SoireeMenuManager to load the menu information into its scheme and to process menu item selections.

The menu information is loaded into the scheme using these two methods.



The events coming from the scene are handled by these three methods.



Tree Menu Scene

The menu presentation consists of 3 things



The scene is designed using 3 elements



The TreeMenu agent is bound to the scene as shown below. You could also open the SampleMenu scene to verify the bindings.



Tree Menu Agent

The TreeMenu agent uses the SoireeMenuManager to load the menu information into its scheme and to process menu item selections.

The menu information is loaded into the scheme using this method



The events coming from the scene are handled by this method



That’s all for this lesson.