Discuz! Board

 

 

Search
Discuz! Board Forum Integration Questions What is the difference between using a sprite and a ...
View: 525|Reply: 3
go

What is the difference between using a sprite and a menu?

Rank: 3Rank: 3

Post on 2011-7-7 22:37 |All posts
I would like to know the properties of the menu compared to the sprite so that I can choose when to use a menu and when to use a sprite with an event assigned to it. I don't quite understand the advantages of using one over the other.

Rank: 4

Post on 2011-7-8 09:16 |All posts
menu is something that pops out when you press "Menu" key. It is shown on the bottom of the screen. I don't see how a sprite is similar to menu

Rank: 3Rank: 3

Post on 2011-7-12 21:16 |All posts
It isnt similar when you explain it The behavior of a menu is not explained in the api:

newmenu( String title, func action,【 bitmap icon,[string submenu_title1, func action1,
string submenu_title2 ,action2 ...]】)
title, the text shown on the Menu
action, the function triggered when the Menu is clicked. Can be null, but not optional.
icon, the icon of the Menu
submenu_title1, text on submenus
Submenus cannot have icons.

etc, where each function is described, not what a menu is.

Thank you for the clarification.

Post on 2011-7-13 10:21 |All posts
Tips: The author has been banned or deleted, content has been banned automatically
Security Q&A Change Security code Change

Archiver|Comsenz Inc.

All time is GMT+8, 2013-5-23 17:15 , Processed in 0.034329 second(s), 10 queries .

Powered by Discuz! X1.5

© 2001-2010 Comsenz Inc.