igor::iWidgetTheme Class Referenceabstract

#include <iWidgetTheme.h>

Inherited by igor::iWidgetDefaultTheme.

Public Member Functions

virtual void drawWidgetPicture (iWidgetPicturePtr widget)=0
 
virtual void drawWidgetSpacer (iWidgetSpacerPtr widget)=0
 
virtual void drawSelection (const iaRectanglef &rect)=0
 
virtual void drawDrag (const iaVector2f &pos, const iDrag &drag)=0
 
virtual void drawRectangle (const iaRectanglef &rect, const iaColor4f &color)=0
 
virtual void drawFilledRectangle (const iaRectanglef &rect, const iaColor4f &color)=0
 
virtual void drawRectangle (const iaRectanglef &rect)=0
 
virtual void drawFilledRectangle (const iaRectanglef &rect)=0
 
virtual void drawGradient (const iaRectanglef &rect, const iaKeyFrameGraphColor4f &gradient)=0
 
virtual void drawTiledRectangle (const iaRectanglef &rect, iTexturePtr texture)=0
 
virtual void drawGridCell (const iaRectanglef &rect, iWidgetState state)=0
 
virtual void drawGridHighlight (const iaRectanglef &rect)=0
 
virtual void drawGridSelection (const iaRectanglef &rect)=0
 
virtual void drawBackgroundFrame (const iaRectanglef &rect, iWidgetState state, bool enabled)=0
 
virtual void drawFrame (const iaRectanglef &rect, iWidgetState state, bool enabled)=0
 
virtual void drawPicture (const iaRectanglef &rect, iTexturePtr texture, iWidgetState state, bool active)=0
 
virtual void drawDialog (const iaRectanglef &rect, const iaRectanglef &clientRect, bool headerEnabled, const iaString &title, bool resizeEnabled, iWidgetState state, bool enabled)=0
 
virtual void drawButton (const iaRectanglef &rect, const iaString &text, iHorizontalAlignment align, iVerticalAlignment valign, iTexturePtr texture, iTexturePtr icon, iWidgetState state, bool enabled, bool checked)=0
 
virtual void drawButton (const iaRectanglef &rect, const iaColor4f &color, iWidgetState state, bool enabled, bool checked)=0
 
virtual void drawGroupBox (const iaRectanglef &rect, bool headerOnly, const iaString &text, iWidgetState state, bool enabled)=0
 
virtual void drawCheckBox (const iaRectanglef &rect, const iaString &text, bool checked, iWidgetState state, bool enabled)=0
 
virtual void drawLabel (const iaRectanglef &rect, const iaString &text, int32 textWidth, iWidgetState state, bool enabled)=0
 
virtual void drawNumberChooser (const iaRectanglef &rect, const iaString &text, iWidgetState buttonUp, iWidgetState buttonDown, bool enabled)=0
 
virtual void drawSelectBox (const iaRectanglef &rect, const iaString &text, iWidgetState buttonAppearance, bool enabled)=0
 
virtual void drawSelectBoxDropDown (const iaRectanglef &rect, std::vector< iaString > &text, int highlightIndex, bool enabled)=0
 
virtual void drawLineTextEdit (const iaRectanglef &rect, const iaString &text, const float32 cursorPos, iHorizontalAlignment align, iVerticalAlignment valign, bool keyboardFocus, iWidgetState state, bool enabled)=0
 
virtual void drawTextEdit (const iaRectanglef &rect, const iaString &text, float32 maxwidth, iWidgetState state, bool enabled)=0
 
virtual void drawText (const iaRectanglef &rect, const iaString &text, int32 textwidth)=0
 
virtual void drawGraph (const iaRectanglef &rect, const iaColor4f &lineColor, const iaColor4f &pointColor, float32 lineWidth, float32 pointSize, const std::vector< iaVector2f > &points)=0
 
virtual void drawGraphGridlines (const iaRectanglef &rect, float32 lineWidth, const std::vector< iaVector2f > &verticalLines, const std::vector< iaVector2f > &horizontalLines, bool enabled)=0
 
virtual void drawGraphLabels (const iaRectanglef &rect, const std::vector< iaVector2f > &verticalLines, const std::vector< iaVector2f > &horizontalLines, bool enabled)=0
 
virtual void drawGraphFrame (const iaRectanglef &rect, iWidgetState state, bool enabled)=0
 
virtual void drawTooltip (const iaVector2f &pos, const iaString &text)=0
 
virtual void drawShadowRect (const iaRectanglef &rect)=0
 
virtual float32 getFontSize () const =0
 
virtual iTextureFontPtr getFont () const =0
 
virtual float32 getDialogTitleWidth () const =0
 
virtual float32 getDialogFrameWidth () const =0
 
 iWidgetTheme ()=default
 
virtual ~iWidgetTheme ()=default
 

Detailed Description

base widget theme

Constructor & Destructor Documentation

◆ iWidgetTheme()

igor::iWidgetTheme::iWidgetTheme ( )
default

◆ ~iWidgetTheme()

virtual igor::iWidgetTheme::~iWidgetTheme ( )
virtualdefault

Member Function Documentation

◆ drawBackgroundFrame()

virtual void igor::iWidgetTheme::drawBackgroundFrame ( const iaRectanglef rect,
iWidgetState  state,
bool  enabled 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawButton() [1/2]

virtual void igor::iWidgetTheme::drawButton ( const iaRectanglef rect,
const iaColor4f color,
iWidgetState  state,
bool  enabled,
bool  checked 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawButton() [2/2]

virtual void igor::iWidgetTheme::drawButton ( const iaRectanglef rect,
const iaString text,
iHorizontalAlignment  align,
iVerticalAlignment  valign,
iTexturePtr  texture,
iTexturePtr  icon,
iWidgetState  state,
bool  enabled,
bool  checked 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawCheckBox()

virtual void igor::iWidgetTheme::drawCheckBox ( const iaRectanglef rect,
const iaString text,
bool  checked,
iWidgetState  state,
bool  enabled 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawDialog()

virtual void igor::iWidgetTheme::drawDialog ( const iaRectanglef rect,
const iaRectanglef clientRect,
bool  headerEnabled,
const iaString title,
bool  resizeEnabled,
iWidgetState  state,
bool  enabled 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawDrag()

virtual void igor::iWidgetTheme::drawDrag ( const iaVector2f pos,
const iDrag drag 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawFilledRectangle() [1/2]

virtual void igor::iWidgetTheme::drawFilledRectangle ( const iaRectanglef rect)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawFilledRectangle() [2/2]

virtual void igor::iWidgetTheme::drawFilledRectangle ( const iaRectanglef rect,
const iaColor4f color 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawFrame()

virtual void igor::iWidgetTheme::drawFrame ( const iaRectanglef rect,
iWidgetState  state,
bool  enabled 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawGradient()

virtual void igor::iWidgetTheme::drawGradient ( const iaRectanglef rect,
const iaKeyFrameGraphColor4f gradient 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawGraph()

virtual void igor::iWidgetTheme::drawGraph ( const iaRectanglef rect,
const iaColor4f lineColor,
const iaColor4f pointColor,
float32  lineWidth,
float32  pointSize,
const std::vector< iaVector2f > &  points 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawGraphFrame()

virtual void igor::iWidgetTheme::drawGraphFrame ( const iaRectanglef rect,
iWidgetState  state,
bool  enabled 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawGraphGridlines()

virtual void igor::iWidgetTheme::drawGraphGridlines ( const iaRectanglef rect,
float32  lineWidth,
const std::vector< iaVector2f > &  verticalLines,
const std::vector< iaVector2f > &  horizontalLines,
bool  enabled 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawGraphLabels()

virtual void igor::iWidgetTheme::drawGraphLabels ( const iaRectanglef rect,
const std::vector< iaVector2f > &  verticalLines,
const std::vector< iaVector2f > &  horizontalLines,
bool  enabled 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawGridCell()

virtual void igor::iWidgetTheme::drawGridCell ( const iaRectanglef rect,
iWidgetState  state 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawGridHighlight()

virtual void igor::iWidgetTheme::drawGridHighlight ( const iaRectanglef rect)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawGridSelection()

virtual void igor::iWidgetTheme::drawGridSelection ( const iaRectanglef rect)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawGroupBox()

virtual void igor::iWidgetTheme::drawGroupBox ( const iaRectanglef rect,
bool  headerOnly,
const iaString text,
iWidgetState  state,
bool  enabled 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawLabel()

virtual void igor::iWidgetTheme::drawLabel ( const iaRectanglef rect,
const iaString text,
int32  textWidth,
iWidgetState  state,
bool  enabled 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawLineTextEdit()

virtual void igor::iWidgetTheme::drawLineTextEdit ( const iaRectanglef rect,
const iaString text,
const float32  cursorPos,
iHorizontalAlignment  align,
iVerticalAlignment  valign,
bool  keyboardFocus,
iWidgetState  state,
bool  enabled 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawNumberChooser()

virtual void igor::iWidgetTheme::drawNumberChooser ( const iaRectanglef rect,
const iaString text,
iWidgetState  buttonUp,
iWidgetState  buttonDown,
bool  enabled 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawPicture()

virtual void igor::iWidgetTheme::drawPicture ( const iaRectanglef rect,
iTexturePtr  texture,
iWidgetState  state,
bool  active 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawRectangle() [1/2]

virtual void igor::iWidgetTheme::drawRectangle ( const iaRectanglef rect)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawRectangle() [2/2]

virtual void igor::iWidgetTheme::drawRectangle ( const iaRectanglef rect,
const iaColor4f color 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawSelectBox()

virtual void igor::iWidgetTheme::drawSelectBox ( const iaRectanglef rect,
const iaString text,
iWidgetState  buttonAppearance,
bool  enabled 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawSelectBoxDropDown()

virtual void igor::iWidgetTheme::drawSelectBoxDropDown ( const iaRectanglef rect,
std::vector< iaString > &  text,
int  highlightIndex,
bool  enabled 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawSelection()

virtual void igor::iWidgetTheme::drawSelection ( const iaRectanglef rect)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawShadowRect()

virtual void igor::iWidgetTheme::drawShadowRect ( const iaRectanglef rect)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawText()

virtual void igor::iWidgetTheme::drawText ( const iaRectanglef rect,
const iaString text,
int32  textwidth 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawTextEdit()

virtual void igor::iWidgetTheme::drawTextEdit ( const iaRectanglef rect,
const iaString text,
float32  maxwidth,
iWidgetState  state,
bool  enabled 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawTiledRectangle()

virtual void igor::iWidgetTheme::drawTiledRectangle ( const iaRectanglef rect,
iTexturePtr  texture 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawTooltip()

virtual void igor::iWidgetTheme::drawTooltip ( const iaVector2f pos,
const iaString text 
)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawWidgetPicture()

virtual void igor::iWidgetTheme::drawWidgetPicture ( iWidgetPicturePtr  widget)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ drawWidgetSpacer()

virtual void igor::iWidgetTheme::drawWidgetSpacer ( iWidgetSpacerPtr  widget)
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ getDialogFrameWidth()

virtual float32 igor::iWidgetTheme::getDialogFrameWidth ( ) const
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ getDialogTitleWidth()

virtual float32 igor::iWidgetTheme::getDialogTitleWidth ( ) const
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ getFont()

virtual iTextureFontPtr igor::iWidgetTheme::getFont ( ) const
pure virtual

Implemented in igor::iWidgetDefaultTheme.

◆ getFontSize()

virtual float32 igor::iWidgetTheme::getFontSize ( ) const
pure virtual

Implemented in igor::iWidgetDefaultTheme.


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