#include <imenus.h>
Public Types |
|
enum | OriginLocation { UPPER_LEFT, LOWER_LEFT, LOWER_RIGHT, UPPER_RIGHT } |
Public Member Functions |
|
virtual | ~IMenuElement () |
virtual void | SetOrigin (const IPoint2 &origin, OriginLocation location)=0 |
virtual const IPoint2 & | GetOrigin () const =0 |
virtual void | SetVisible (bool visible)=0 |
virtual bool | GetVisible ()=0 |
virtual void | SetTitle (const MCHAR *customTitle)=0 |
virtual const MSTR & | GetTitle ()=0 |
virtual void | SetEnabled (bool enabled)=0 |
virtual bool | GetEnabled ()=0 |
virtual const IPoint2 & | GetSize ()=0 |
virtual const Box2 & | GetRect ()=0 |
virtual bool | IsInRect (const IPoint2 &point)=0 |
enum OriginLocation |
{ UPPER_LEFT, LOWER_LEFT, LOWER_RIGHT, UPPER_RIGHT };
virtual ~IMenuElement | ( | ) | [inline, virtual] |
{;}
virtual void SetOrigin | ( | const IPoint2 & | origin, |
OriginLocation | location | ||
) | [pure virtual] |
virtual const IPoint2& GetOrigin | ( | ) | const [pure virtual] |
virtual void SetVisible | ( | bool | visible | ) | [pure virtual] |
virtual bool GetVisible | ( | ) | [pure virtual] |
virtual void SetTitle | ( | const MCHAR * | customTitle | ) | [pure virtual] |
virtual const MSTR& GetTitle | ( | ) | [pure virtual] |
virtual void SetEnabled | ( | bool | enabled | ) | [pure virtual] |
virtual bool GetEnabled | ( | ) | [pure virtual] |
virtual const IPoint2& GetSize | ( | ) | [pure virtual] |
virtual const Box2& GetRect | ( | ) | [pure virtual] |