Logo Search packages:      
Sourcecode: bbmail version File versions  Download package

Classes | Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes

Basemenu Class Reference

Inheritance diagram for Basemenu:
Inheritance graph
Collaboration diagram for Basemenu:
Collaboration graph

List of all members.


struct  menu

Public Types

enum  { AlignDontCare = 1, AlignTop, AlignBottom }
enum  { Right = 1, Left }
enum  {
  Empty = 0, Round, Square, Triangle,
enum  { LeftJustify = 1, RightJustify, CenterJustify }

Public Member Functions

 Basemenu (ToolWindow *)
void buttonPressEvent (XButtonEvent *)
void buttonReleaseEvent (XButtonEvent *)
void defaultMenu (void)
void enterNotifyEvent (XCrossingEvent *)
void exposeEvent (XExposeEvent *)
int getCount (void)
unsigned int getHeight (void)
int getHighlight (void)
int getIndicatorPosition (void)
const char * getLabel (void) const
unsigned int getTitleHeight (void)
unsigned int getWidth (void)
Window getWindowID (void)
int getX (void)
int getY (void)
Bool hasSubmenu (int)
Bool hasUserMoved (void)
virtual void hide (void)
int insert (char **, int=-1)
int insert (char *, Basemenu *, int=-1)
int insert (char *, int=0, char *=(char *) 0, int=-1)
Bool isVisible (void)
void leaveNotifyEvent (XCrossingEvent *)
void motionNotifyEvent (XMotionEvent *)
void move (int, int)
void reconfigure (void)
int remove (int)
void setHighlight (int=-1)
void setIndicatorPosition (int=1)
void setLabel (char *n)
void setSubmenuIndicator (int=1)
virtual void show (void)
void update (void)

Protected Member Functions

BasemenuItemfind (int index)
virtual void itemSelected (int, int)=0
void setAlignment (int a)
void setHidable (Bool h)
void setItemIndicator (int=-1, int=0)
void setMinimumSublevels (int m)
void setMovable (Bool b)
void setTitleVisibility (Bool b)

Private Member Functions

virtual void drawItem (int, Bool=False, Bool=False, Bool=False)
virtual void drawSubmenu (int)

Private Attributes

int alignment
int always_highlight
Bool default_menu
Display * display
Bool hidable
int indicator
int indicator_position
struct Basemenu::menu menu
LinkedList< BasemenuItem > * menuitems
Bool movable
Bool moving
Bool shifted
Bool title_vis
Bool user_moved
Bool visible
int which_press
int which_sbl
int which_sub

Detailed Description

Definition at line 37 of file Basemenu.hh.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index