HELP: PopMenu

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
thejinchao
Just popping in
Just popping in
Posts: 11
Joined: Tue Aug 23, 2005 08:00
Location: Beijing. China
Contact:

HELP: PopMenu

Postby thejinchao » Fri Sep 02, 2005 04:27

I want write a pop menu in my game. Is there a samples or tutorial? I have no idea about it :cry: .

User avatar
Blakharaz
Not too shy to talk
Not too shy to talk
Posts: 31
Joined: Wed Jan 12, 2005 12:06
Location: Potsdam, Germany
Contact:

Re: HELP: PopMenu

Postby Blakharaz » Fri Sep 02, 2005 09:01

Have you used CEGUI before?
You have two possibilities, design your menu by creating XML files or creating it by program code. See http://www.cegui.org.uk/wiki/index.php/ ... GUI_Window,
Popupmenus are in WindowsLook only.
Create a PopupMenu, then add PopupMenuItems as children to it (via XML or C++ code). Bind your events to EventMouseClicked of the PopupMenuItems.
Coder in the Pantheon Team - creators of "Rastullahs Lockenpracht" (http://www.rastullahs-lockenpracht.de/)

User avatar
thejinchao
Just popping in
Just popping in
Posts: 11
Joined: Tue Aug 23, 2005 08:00
Location: Beijing. China
Contact:

Re: HELP: PopMenu

Postby thejinchao » Mon Sep 05, 2005 02:58

Thanks, I made it.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 4 guests