Skip to content

DIWNE::IconStyle

#include "DIWNE/Core/Canvas.h"

Public Functions

Name
IconStyle(const ImColor & bgShapeColor, const ImColor & bgInnerColor, const ImColor & fgShapeColor, const ImColor & fgInnerColor)
IconStyle(const ImColor & bgShapeColor, const ImColor & bgInnerColor, const ImColor & fgShapeColor, const ImColor & fgInnerColor, const ImVec4 & padding, bool filled, const ImVec2 & thickness, float rounding)

Public Attributes

Name
ImColorbgInnerColor
ImColorbgShapeColor
ImColorfgInnerColor
ImColorfgShapeColor
boolfilled
ImVec4padding
floatrounding
ImVec2thickness

Public Functions Documentation

function IconStyle

cpp
inline IconStyle(
    const ImColor & bgShapeColor,
    const ImColor & bgInnerColor,
    const ImColor & fgShapeColor,
    const ImColor & fgInnerColor
)
inline IconStyle(
    const ImColor & bgShapeColor,
    const ImColor & bgInnerColor,
    const ImColor & fgShapeColor,
    const ImColor & fgInnerColor
)

function IconStyle

cpp
inline IconStyle(
    const ImColor & bgShapeColor,
    const ImColor & bgInnerColor,
    const ImColor & fgShapeColor,
    const ImColor & fgInnerColor,
    const ImVec4 & padding,
    bool filled,
    const ImVec2 & thickness,
    float rounding
)
inline IconStyle(
    const ImColor & bgShapeColor,
    const ImColor & bgInnerColor,
    const ImColor & fgShapeColor,
    const ImColor & fgInnerColor,
    const ImVec4 & padding,
    bool filled,
    const ImVec2 & thickness,
    float rounding
)

Public Attributes Documentation

variable bgInnerColor

cpp
ImColor bgInnerColor;
ImColor bgInnerColor;

variable bgShapeColor

cpp
ImColor bgShapeColor;
ImColor bgShapeColor;

variable fgInnerColor

cpp
ImColor fgInnerColor;
ImColor fgInnerColor;

variable fgShapeColor

cpp
ImColor fgShapeColor;
ImColor fgShapeColor;

variable filled

cpp
bool filled {false};
bool filled {false};

variable padding

cpp
ImVec4 padding;
ImVec4 padding;

variable rounding

cpp
float rounding = 0;
float rounding = 0;

variable thickness

cpp
ImVec2 thickness {1, 1};
ImVec2 thickness {1, 1};

Updated on 2025-05-31 at 12:55:31 +0000