Planeshift
Classes | Defines | Enumerations | Functions

pawsmenu.h File Reference

#include <csutil/parray.h>
#include <iutil/document.h>
#include "pawswidget.h"
#include "pawstextbox.h"
#include "pawsbutton.h"

Go to the source code of this file.

Classes

class  pawsIMenu
 pawsIMenu is common interface to menus pawsMenu. More...
class  pawsIMenuItem
class  pawsMenu
 pawsMenu is standard PAWS menu widget. More...
class  pawsMenuAction
 When pawsMenu is created, target of notification messages (OnMenuAction) must be set by SetNotify() method. More...
class  pawsMenuItem
 class pawsMenuItem - standard menu item with label, checkbox (optional) and image (optional). More...
class  pawsMenuSeparator
 pawsMenuSeparator - special menu item that visually splits the menu to more parts. More...

Defines

#define MENU_DESTROY_ACTION_NAME   "MenuWantsDestroy"
 Value of pawsMenuAction::name when window request its destruction.

Enumerations

enum  pawsMenuAlign { alignLeft, alignCenter }
 

Possible vertical alignments of menu items:

More...
enum  pawsMenuClose {
  closeAction, closeSiblingOpened, closeCloseClicked, closeParentClosed,
  closeChildClosed
}
 

Possible reasons of closing of menu.

More...

Functions

 CREATE_PAWS_FACTORY (pawsMenu)
 CREATE_PAWS_FACTORY (pawsMenuSeparator)
 CREATE_PAWS_FACTORY (pawsMenuItem)