25#ifndef OD_TR_EXTBAR_H_
26#define OD_TR_EXTBAR_H_
34class ElementImplIface;
105 virtual ElementImplIface *
getImpl()
const = 0;
180 virtual void setFP(
double fPos = 0.0,
double fMin = DBL_MIN,
double fMax = DBL_MAX,
double fDelta = 0.01) = 0;
virtual OdString getOpenFileName(const OdChar *pFilter, const OdChar *pDefExt)=0
virtual TextElement * createEditBox(OdUInt32 nElementId, GroupElement *pGroup=NULL, ElementSize size=k8d8, OdUInt32 nStrings=1, bool bReadOnly=false, bool bMonitorTyping=false)=0
virtual TextElement * createButton(OdUInt32 nElementId, GroupElement *pGroup=NULL, ElementSize size=k8d8)=0
virtual OdString getSaveFileName(const OdChar *pFilter, const OdChar *pDefExt)=0
virtual RangeElement * createRangeBox(OdUInt32 nElementId, GroupElement *pGroup=NULL, ElementSize size=k8d8, bool bSigned=false, bool bFP=false)=0
virtual ListElement * createListBox(OdUInt32 nElementId, GroupElement *pGroup=NULL, OdUInt32 nStrings=4)=0
virtual Element * getElement(OdUInt32 nElementId) const =0
virtual TextElement * createRadioButton(OdUInt32 nElementId, RadioElement *pGroup, ElementSize size=k8d8, bool bChecked=false)=0
virtual RadioElement * createRadioGroup(OdUInt32 nElementId, GroupElement *pGroup=NULL)=0
virtual ListElement * createComboBox(OdUInt32 nElementId, GroupElement *pGroup=NULL, OdUInt32 nOpenLines=4)=0
virtual TextElement * createText(OdUInt32 nElementId, GroupElement *pGroup=NULL, ElementSize size=k8d8, OdUInt32 nStrings=1, bool bBorder=false, ODCOLORREF color=ODRGB(0, 0, 0))=0
virtual GroupElement * createGroup(OdUInt32 nElementId, bool bExpandeable=true, bool bExpanded=true)=0
virtual TextElement * createCheckBox(OdUInt32 nElementId, GroupElement *pGroup=NULL, ElementSize size=k8d8, bool bChecked=false, bool bLText=false)=0
virtual ColorElement * createColorButton(OdUInt32 nElementId, GroupElement *pGroup=NULL, ElementSize size=k8d8)=0
virtual TextElement * createCheckButton(OdUInt32 nElementId, GroupElement *pGroup=NULL, ElementSize size=k8d8)=0
virtual bool getColor(ODCOLORREF &color) const =0
virtual GroupElement * getLayoutGroup() const =0
virtual void createPlaceholder(GroupElement *pGroup=NULL, ElementSize size=k8d8)=0
virtual void inplaceClosed(ExtBar *)
static ExtBar::Point curpos()
virtual void fillInplace(ExtBar *)
void display(ExtBar::SysHandle sysHandle, const ExtBar::Rect &rect)
void close(int nReason=0)
static ExtBar::Size makesize(int w, int h)
static ExtBar::Rect screenplace(const ExtBar::Point &pt, const ExtBar::Size &sz)
void destroy(int nReason=0)
void resize(const ExtBar::Rect &rect)
void create(ExtBar::SysHandle sysHandle)
void resetCallback(ExtBar::Callback *pCallback)
ExtBarInterface(ExtBar *pExtBar=NULL)
static void destroyExtBar(ExtBar *pExtBar)
static ExtBar * createExtBar(ExtBar::InplaceCallback *pCallback)
static ExtBar * createExtBar(ExtBar::Callback *pCallback=NULL)
StaticExtBar(ExtBar::Callback *pCallback=NULL)
GLfloat GLfloat GLfloat GLfloat w
GLuint GLsizei GLsizei GLint GLenum * type
virtual void fillExtBar(ExtBar *)
virtual void closeExtBar(ExtBar *, int)
virtual void elementChanged(Element *pElem)=0
static CheckElement * cast(Element *pIface)
virtual void setChecked(bool bCheck)=0
virtual bool isChecked() const =0
static ColorElement * cast(Element *pIface)
virtual void setColor(ODCOLORREF color)=0
virtual ODCOLORREF getColor() const =0
virtual void attachSomeData(void *pData)=0
virtual OdUInt32 elementId() const =0
virtual bool isDisabled() const =0
virtual void setDisabled(bool bDisable)=0
virtual Element * elementInterface(ElementType type)=0
virtual void * getAttachedData() const =0
virtual ElementType elementType() const =0
virtual ElementImplIface * getImpl() const =0
virtual OdUInt32 getNumElements() const =0
virtual bool isExpanded() const =0
virtual void setExpanded(bool bExpand)=0
virtual bool isLayoutGroup() const =0
static GroupElement * cast(Element *pIface)
virtual Element * getElement(OdUInt32 nElement) const =0
virtual bool isExpandeable() const =0
virtual bool canCloseInplace(ExtBar *)
virtual void inplaceClosed(ExtBar *)
virtual void setSelString(int nString)=0
virtual int getSelString() const =0
virtual void insString(int nWhere, const OdString &string)=0
virtual OdString getString(OdUInt32 nString) const =0
virtual void delString(OdUInt32 nString)=0
virtual OdUInt32 getNumStrings() const =0
virtual void addString(const OdString &string)=0
static ListElement * cast(Element *pIface)
virtual OdUInt32 checkedElement() const =0
virtual void setCheckedElement(OdUInt32 nElement)=0
static RadioElement * cast(Element *pIface)
virtual void setFP(double fPos=0.0, double fMin=DBL_MIN, double fMax=DBL_MAX, double fDelta=0.01)=0
virtual OdUInt32 getRangeMaxUInt() const =0
virtual void setPosFP(double fPos)=0
virtual bool isSigned() const =0
virtual OdUInt32 getRangeMinUInt() const =0
virtual void setUInt(OdUInt32 nPos=0, OdUInt32 nMin=0, OdUInt32 nMax=UINT_MAX, OdInt32 nDelta=1)=0
virtual double getPosFP() const =0
virtual double getRangeMinFP() const =0
virtual void setInt(OdInt32 nPos=0, OdInt32 nMin=INT_MIN, OdInt32 nMax=INT_MAX, OdInt32 nDelta=1)=0
static RangeElement * cast(Element *pIface)
virtual void setSigned(bool bSigned)=0
virtual double getDeltaFP() const =0
virtual void setDeltaFP(double fDelta)=0
virtual OdInt32 getRangeMaxInt() const =0
virtual bool isFP() const =0
virtual OdInt32 getPosInt() const =0
virtual void setRangeInt(OdInt32 nMin, OdInt32 nMax)=0
virtual void setDeltaInt(OdInt32 nDelta)=0
virtual OdUInt32 getPosUInt() const =0
virtual void setPosInt(OdInt32 nPos)=0
virtual OdInt32 getRangeMinInt() const =0
virtual void setRangeUInt(OdUInt32 nMin, OdUInt32 nMax)=0
virtual OdInt32 getDeltaInt() const =0
virtual double getRangeMaxFP() const =0
virtual void setPosUInt(OdUInt32 nPos)=0
virtual void setRangeFP(double fMin, double fMax)=0
virtual void setFP(bool bFP)=0
virtual OdString getText() const =0
static TextElement * cast(Element *pIface)
virtual void setText(const OdString &text)=0