Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::MenuState Class Reference

#include <vcf/GraphicsKit/DrawUIState.h>

Inheritance diagram for VCF::MenuState:

VCF::DrawUIState List of all members.

Public Member Functions

 MenuState ()
bool isSeparator () const
void setSeparator (bool val)
void setHasShiftKey (bool val)
void setHasControlKey (bool val)
void setHasAltKey (bool val)
bool hasShiftKey () const
bool hasAltKey () const
bool hasControlKey () const

Public Attributes

VirtualKeyCode keyCode_
uint32 modifierMask_
String menuCaption_
Rect imageRect_
 This may be modified during the drawThemeMenuItem() call, or it may be set prior to this by the underlying OS windowing system during menu item events handled by the framework.

Protected Types

enum  ModifierMasks { mmUndefined = 0, mmAlt = 1, mmShift = 2, mmCtrl = 4 }

Member Enumeration Documentation

enum VCF::MenuState::ModifierMasks [protected]
 

Enumerator:
mmUndefined 
mmAlt 
mmShift 
mmCtrl 


Constructor & Destructor Documentation

VCF::MenuState::MenuState  )  [inline]
 


Member Function Documentation

bool VCF::MenuState::hasAltKey  )  const [inline]
 

bool VCF::MenuState::hasControlKey  )  const [inline]
 

bool VCF::MenuState::hasShiftKey  )  const [inline]
 

bool VCF::MenuState::isSeparator  )  const [inline]
 

void VCF::MenuState::setHasAltKey bool  val  )  [inline]
 

void VCF::MenuState::setHasControlKey bool  val  )  [inline]
 

void VCF::MenuState::setHasShiftKey bool  val  )  [inline]
 

void VCF::MenuState::setSeparator bool  val  )  [inline]
 


Member Data Documentation

Rect VCF::MenuState::imageRect_
 

This may be modified during the drawThemeMenuItem() call, or it may be set prior to this by the underlying OS windowing system during menu item events handled by the framework.

VirtualKeyCode VCF::MenuState::keyCode_
 

String VCF::MenuState::menuCaption_
 

uint32 VCF::MenuState::modifierMask_
 


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information