igor::iWidgetDefaultTheme Class Reference

#include <iWidgetDefaultTheme.h>

Inherits igor::iWidgetTheme.

Public Member Functions

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

default widget theme

Constructor & Destructor Documentation

◆ iWidgetDefaultTheme()

igor::iWidgetDefaultTheme::iWidgetDefaultTheme ( iTexturePtr  fontTexture,
iTexturePtr  backgroundTexture 
)

◆ ~iWidgetDefaultTheme()

igor::iWidgetDefaultTheme::~iWidgetDefaultTheme ( )
default

Member Function Documentation

◆ drawBackgroundFrame()

void igor::iWidgetDefaultTheme::drawBackgroundFrame ( const iaRectanglef rect,
iWidgetState  state,
bool  enabled 
)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawButton() [1/2]

void igor::iWidgetDefaultTheme::drawButton ( const iaRectanglef rect,
const iaColor4f color,
iWidgetState  state,
bool  enabled,
bool  checked 
)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawButton() [2/2]

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

Implements igor::iWidgetTheme.

◆ drawCheckBox()

void igor::iWidgetDefaultTheme::drawCheckBox ( const iaRectanglef rect,
const iaString text,
bool  checked,
iWidgetState  state,
bool  enabled 
)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawDialog()

void igor::iWidgetDefaultTheme::drawDialog ( const iaRectanglef rect,
const iaRectanglef clientRect,
bool  headerEnabled,
const iaString title,
bool  resizeEnabled,
iWidgetState  state,
bool  enabled 
)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawDrag()

void igor::iWidgetDefaultTheme::drawDrag ( const iaVector2f pos,
const iDrag drag 
)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawFilledRectangle() [1/2]

void igor::iWidgetDefaultTheme::drawFilledRectangle ( const iaRectanglef rect)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawFilledRectangle() [2/2]

void igor::iWidgetDefaultTheme::drawFilledRectangle ( const iaRectanglef rect,
const iaColor4f color 
)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawFrame()

void igor::iWidgetDefaultTheme::drawFrame ( const iaRectanglef rect,
iWidgetState  state,
bool  enabled 
)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawGradient()

void igor::iWidgetDefaultTheme::drawGradient ( const iaRectanglef rect,
const iaKeyFrameGraphColor4f gradient 
)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawGraph()

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

Implements igor::iWidgetTheme.

◆ drawGraphFrame()

void igor::iWidgetDefaultTheme::drawGraphFrame ( const iaRectanglef rect,
iWidgetState  state,
bool  enabled 
)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawGraphGridlines()

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

Implements igor::iWidgetTheme.

◆ drawGraphLabels()

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

Implements igor::iWidgetTheme.

◆ drawGridCell()

void igor::iWidgetDefaultTheme::drawGridCell ( const iaRectanglef rect,
iWidgetState  state 
)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawGridHighlight()

void igor::iWidgetDefaultTheme::drawGridHighlight ( const iaRectanglef rect)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawGridSelection()

void igor::iWidgetDefaultTheme::drawGridSelection ( const iaRectanglef rect)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawGroupBox()

void igor::iWidgetDefaultTheme::drawGroupBox ( const iaRectanglef rect,
bool  headerOnly,
const iaString text,
iWidgetState  state,
bool  enabled 
)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawLabel()

void igor::iWidgetDefaultTheme::drawLabel ( const iaRectanglef rect,
const iaString text,
int32  textWidth,
iWidgetState  state,
bool  enabled 
)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawLineTextEdit()

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

Implements igor::iWidgetTheme.

◆ drawNumberChooser()

void igor::iWidgetDefaultTheme::drawNumberChooser ( const iaRectanglef rect,
const iaString text,
iWidgetState  button_up_state,
iWidgetState  button_down_state,
bool  enabled 
)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawPicture()

void igor::iWidgetDefaultTheme::drawPicture ( const iaRectanglef rect,
iTexturePtr  texture,
iWidgetState  state,
bool  enabled 
)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawRectangle() [1/2]

void igor::iWidgetDefaultTheme::drawRectangle ( const iaRectanglef rect)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawRectangle() [2/2]

void igor::iWidgetDefaultTheme::drawRectangle ( const iaRectanglef rect,
const iaColor4f color 
)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawSelectBox()

void igor::iWidgetDefaultTheme::drawSelectBox ( const iaRectanglef rect,
const iaString text,
iWidgetState  buttonAppearance,
bool  enabled 
)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawSelectBoxDropDown()

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

Implements igor::iWidgetTheme.

◆ drawSelection()

void igor::iWidgetDefaultTheme::drawSelection ( const iaRectanglef rect)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawShadowRect()

void igor::iWidgetDefaultTheme::drawShadowRect ( const iaRectanglef rect)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawText()

void igor::iWidgetDefaultTheme::drawText ( const iaRectanglef rect,
const iaString text,
int32  textwidth 
)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawTextEdit()

void igor::iWidgetDefaultTheme::drawTextEdit ( const iaRectanglef rect,
const iaString text,
float32  maxwidth,
iWidgetState  state,
bool  enabled 
)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawTiledRectangle()

void igor::iWidgetDefaultTheme::drawTiledRectangle ( const iaRectanglef rect,
iTexturePtr  texture 
)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawTooltip()

void igor::iWidgetDefaultTheme::drawTooltip ( const iaVector2f pos,
const iaString text 
)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawWidgetPicture()

void igor::iWidgetDefaultTheme::drawWidgetPicture ( iWidgetPicturePtr  widget)
overridevirtual

Implements igor::iWidgetTheme.

◆ drawWidgetSpacer()

void igor::iWidgetDefaultTheme::drawWidgetSpacer ( iWidgetSpacerPtr  widget)
overridevirtual

Implements igor::iWidgetTheme.

◆ getDialogFrameWidth()

float32 igor::iWidgetDefaultTheme::getDialogFrameWidth ( ) const
overridevirtual

Implements igor::iWidgetTheme.

◆ getDialogTitleWidth()

float32 igor::iWidgetDefaultTheme::getDialogTitleWidth ( ) const
overridevirtual

Implements igor::iWidgetTheme.

◆ getFont()

iTextureFontPtr igor::iWidgetDefaultTheme::getFont ( ) const
overridevirtual

Implements igor::iWidgetTheme.

◆ getFontSize()

float32 igor::iWidgetDefaultTheme::getFontSize ( ) const
overridevirtual

Implements igor::iWidgetTheme.


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