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
)

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
)

Public Attributes Documentation ​

variable bgInnerColor ​

cpp
ImColor bgInnerColor;

variable bgShapeColor ​

cpp
ImColor bgShapeColor;

variable fgInnerColor ​

cpp
ImColor fgInnerColor;

variable fgShapeColor ​

cpp
ImColor fgShapeColor;

variable filled ​

cpp
bool filled {false};

variable padding ​

cpp
ImVec4 padding;

variable rounding ​

cpp
float rounding = 0;

variable thickness ​

cpp
ImVec2 thickness {1, 1};

Updated on 2026-09-11 at 21:24:25 +0000