CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | List of all members
ExtBar Class Referenceabstract

#include <ExtBar.h>

Classes

struct  Callback
 
struct  CheckElement
 
struct  ColorElement
 
struct  Element
 
struct  GroupElement
 
struct  InplaceCallback
 
struct  ListElement
 
struct  Point
 
struct  RadioElement
 
struct  RangeElement
 
struct  Rect
 
struct  Size
 
struct  TextElement
 

Public Types

enum  ElementType {
  kGroup = 0 , kText , kButton , kCheckButton ,
  kColorButton , kCheckBox , kRadioGroup , kRadioButton ,
  kPlaceholder , kComboBox , kListBox , kEditBox ,
  kRangeBox
}
 
enum  ElementSize {
  k8d8 = 8 , k6d8 = 6 , k4d8 = 4 , k2d8 = 2 ,
  k1d8 = 1
}
 
typedef voidSysHandle
 

Public Member Functions

 ExtBar ()
 
 ~ExtBar ()
 
virtual GroupElementcreateGroup (OdUInt32 nElementId, bool bExpandeable=true, bool bExpanded=true)=0
 
virtual TextElementcreateText (OdUInt32 nElementId, GroupElement *pGroup=NULL, ElementSize size=k8d8, OdUInt32 nStrings=1, bool bBorder=false, ODCOLORREF color=ODRGB(0, 0, 0))=0
 
virtual TextElementcreateButton (OdUInt32 nElementId, GroupElement *pGroup=NULL, ElementSize size=k8d8)=0
 
virtual TextElementcreateCheckButton (OdUInt32 nElementId, GroupElement *pGroup=NULL, ElementSize size=k8d8)=0
 
virtual ColorElementcreateColorButton (OdUInt32 nElementId, GroupElement *pGroup=NULL, ElementSize size=k8d8)=0
 
virtual TextElementcreateCheckBox (OdUInt32 nElementId, GroupElement *pGroup=NULL, ElementSize size=k8d8, bool bChecked=false, bool bLText=false)=0
 
virtual RadioElementcreateRadioGroup (OdUInt32 nElementId, GroupElement *pGroup=NULL)=0
 
virtual TextElementcreateRadioButton (OdUInt32 nElementId, RadioElement *pGroup, ElementSize size=k8d8, bool bChecked=false)=0
 
virtual void createPlaceholder (GroupElement *pGroup=NULL, ElementSize size=k8d8)=0
 
virtual ListElementcreateComboBox (OdUInt32 nElementId, GroupElement *pGroup=NULL, OdUInt32 nOpenLines=4)=0
 
virtual ListElementcreateListBox (OdUInt32 nElementId, GroupElement *pGroup=NULL, OdUInt32 nStrings=4)=0
 
virtual TextElementcreateEditBox (OdUInt32 nElementId, GroupElement *pGroup=NULL, ElementSize size=k8d8, OdUInt32 nStrings=1, bool bReadOnly=false, bool bMonitorTyping=false)=0
 
virtual RangeElementcreateRangeBox (OdUInt32 nElementId, GroupElement *pGroup=NULL, ElementSize size=k8d8, bool bSigned=false, bool bFP=false)=0
 
virtual ElementgetElement (OdUInt32 nElementId) const =0
 
virtual GroupElementgetLayoutGroup () const =0
 
virtual bool getColor (ODCOLORREF &color) const =0
 
virtual OdString getOpenFileName (const OdChar *pFilter, const OdChar *pDefExt)=0
 
virtual OdString getSaveFileName (const OdChar *pFilter, const OdChar *pDefExt)=0
 

Detailed Description

Definition at line 36 of file ExtBar.h.

Member Typedef Documentation

◆ SysHandle

Definition at line 51 of file ExtBar.h.

Member Enumeration Documentation

◆ ElementSize

Enumerator
k8d8 
k6d8 
k4d8 
k2d8 
k1d8 

Definition at line 88 of file ExtBar.h.

◆ ElementType

Enumerator
kGroup 
kText 
kButton 
kCheckButton 
kColorButton 
kCheckBox 
kRadioGroup 
kRadioButton 
kPlaceholder 
kComboBox 
kListBox 
kEditBox 
kRangeBox 

Definition at line 71 of file ExtBar.h.

Constructor & Destructor Documentation

◆ ExtBar()

ExtBar::ExtBar ( )
inline

Definition at line 202 of file ExtBar.h.

◆ ~ExtBar()

ExtBar::~ExtBar ( )
inline

Definition at line 203 of file ExtBar.h.

Member Function Documentation

◆ createButton()

virtual TextElement * ExtBar::createButton ( OdUInt32  nElementId,
GroupElement pGroup = NULL,
ElementSize  size = k8d8 
)
pure virtual

◆ createCheckBox()

virtual TextElement * ExtBar::createCheckBox ( OdUInt32  nElementId,
GroupElement pGroup = NULL,
ElementSize  size = k8d8,
bool  bChecked = false,
bool  bLText = false 
)
pure virtual

◆ createCheckButton()

virtual TextElement * ExtBar::createCheckButton ( OdUInt32  nElementId,
GroupElement pGroup = NULL,
ElementSize  size = k8d8 
)
pure virtual

◆ createColorButton()

virtual ColorElement * ExtBar::createColorButton ( OdUInt32  nElementId,
GroupElement pGroup = NULL,
ElementSize  size = k8d8 
)
pure virtual

◆ createComboBox()

virtual ListElement * ExtBar::createComboBox ( OdUInt32  nElementId,
GroupElement pGroup = NULL,
OdUInt32  nOpenLines = 4 
)
pure virtual

◆ createEditBox()

virtual TextElement * ExtBar::createEditBox ( OdUInt32  nElementId,
GroupElement pGroup = NULL,
ElementSize  size = k8d8,
OdUInt32  nStrings = 1,
bool  bReadOnly = false,
bool  bMonitorTyping = false 
)
pure virtual

◆ createGroup()

virtual GroupElement * ExtBar::createGroup ( OdUInt32  nElementId,
bool  bExpandeable = true,
bool  bExpanded = true 
)
pure virtual

◆ createListBox()

virtual ListElement * ExtBar::createListBox ( OdUInt32  nElementId,
GroupElement pGroup = NULL,
OdUInt32  nStrings = 4 
)
pure virtual

◆ createPlaceholder()

virtual void ExtBar::createPlaceholder ( GroupElement pGroup = NULL,
ElementSize  size = k8d8 
)
pure virtual

◆ createRadioButton()

virtual TextElement * ExtBar::createRadioButton ( OdUInt32  nElementId,
RadioElement pGroup,
ElementSize  size = k8d8,
bool  bChecked = false 
)
pure virtual

◆ createRadioGroup()

virtual RadioElement * ExtBar::createRadioGroup ( OdUInt32  nElementId,
GroupElement pGroup = NULL 
)
pure virtual

◆ createRangeBox()

virtual RangeElement * ExtBar::createRangeBox ( OdUInt32  nElementId,
GroupElement pGroup = NULL,
ElementSize  size = k8d8,
bool  bSigned = false,
bool  bFP = false 
)
pure virtual

◆ createText()

virtual TextElement * ExtBar::createText ( OdUInt32  nElementId,
GroupElement pGroup = NULL,
ElementSize  size = k8d8,
OdUInt32  nStrings = 1,
bool  bBorder = false,
ODCOLORREF  color = ODRGB(0, 0, 0) 
)
pure virtual

◆ getColor()

virtual bool ExtBar::getColor ( ODCOLORREF color) const
pure virtual

◆ getElement()

virtual Element * ExtBar::getElement ( OdUInt32  nElementId) const
pure virtual

◆ getLayoutGroup()

virtual GroupElement * ExtBar::getLayoutGroup ( ) const
pure virtual

◆ getOpenFileName()

virtual OdString ExtBar::getOpenFileName ( const OdChar pFilter,
const OdChar pDefExt 
)
pure virtual

◆ getSaveFileName()

virtual OdString ExtBar::getSaveFileName ( const OdChar pFilter,
const OdChar pDefExt 
)
pure virtual

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