Public Member Functions | Private Attributes

EV_Menu_Layout Class Reference

#include <ev_Menu_Layouts.h>

List of all members.

Public Member Functions

 EV_Menu_Layout (const UT_String &szName, UT_uint32 nrLayoutItems)
 ~EV_Menu_Layout ()
bool setLayoutItem (UT_sint32 indexLayoutItem, XAP_Menu_Id id, EV_Menu_LayoutFlags flags)
XAP_Menu_Id addLayoutItem (UT_sint32 indexLayoutItem, EV_Menu_LayoutFlags flags)
void addFakeLayoutItem (UT_sint32 indexLayoutItem, EV_Menu_LayoutFlags flags)
EV_Menu_LayoutItemgetLayoutItem (UT_sint32 indexLayoutItem) const
UT_sint32 getLayoutIndex (XAP_Menu_Id id) const
const char * getName () const
UT_sint32 getLayoutItemCount () const
UT_sint32 size () const

Private Attributes

UT_String m_stName
< EV_Menu_LayoutItem * > 
XAP_Menu_Id m_iMaxId

Constructor & Destructor Documentation

EV_Menu_Layout::EV_Menu_Layout ( const UT_String szName,
UT_uint32  nrLayoutItems 
EV_Menu_Layout::~EV_Menu_Layout (  ) 

Member Function Documentation

void EV_Menu_Layout::addFakeLayoutItem ( UT_sint32  indexLayoutItem,
EV_Menu_LayoutFlags  flags 
XAP_Menu_Id EV_Menu_Layout::addLayoutItem ( UT_sint32  indexLayoutItem,
EV_Menu_LayoutFlags  flags 
UT_sint32 EV_Menu_Layout::getLayoutIndex ( XAP_Menu_Id  id  )  const
EV_Menu_LayoutItem * EV_Menu_Layout::getLayoutItem ( UT_sint32  indexLayoutItem  )  const
UT_sint32 EV_Menu_Layout::getLayoutItemCount (  )  const
const char * EV_Menu_Layout::getName (  )  const

References UT_String::c_str(), and m_stName.

bool EV_Menu_Layout::setLayoutItem ( UT_sint32  indexLayoutItem,
XAP_Menu_Id  id,
EV_Menu_LayoutFlags  flags 
UT_sint32 EV_Menu_Layout::size (  )  const [inline]

Member Data Documentation

Referenced by addLayoutItem(), and setLayoutItem().

Referenced by getName().

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