![]() ![]() Turns black and the second one turns to green. When the user touches another black menu item, the first one When the user touches a black menu item, it turns green. In addition, a small image of a bee, aīutterfly, or a frog appears on each end of the text in each menu item in the Right Menu. The style of each menu item in the Right Menu matches the text description. ![]() The styles of the menu items in the Left Menu are all plain. When the user touches a black menu header with the mouse, it turns green and exposes a set of black menu items below the header. The menu items in the Right Menu can be used toĬause the right target to switch among PLAIN, ITALIC, BOLD, and BOLD-ITALIC styles surrounded by small frogs, Target to switch among an image of a frog, a butterfly, or a bee. The menu items in the Left Menu can be used to cause the left In PLAIN style surrounded by images of small frogs. The default target object on the right contains the word Right Target The default screen display consists of two black menu headers and two target objects. If and when the article is published, you will find a link to the article at ![]() I am publishing this scenario in support of an article that I plan to publish on the topic of custom GUIs using To illustrate how to use the Menu class to create and service custom GUI menus. To deliver the source code for a working GUI class named Menu that can be used by objects of other classes to placeĪny number of custom GUI menus in a Greenfoot world.ī. The earlier scenario was designed mainly to provide proof of concept. (Apparently I inadvertently deleted the earlier version while publishing this version but that doesn't matter since this is a replacement.) This is a major upgrade of the scenario named Menu01, which I published earlier at ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |