class
ASettingRow
- Module
- Arc
- Header
#include "Arc/Widgets/ASettingRow.h"- Namespace
Arcf
Properties
| Type | Name | Description |
|---|---|---|
ArcDelegate<void()> | OnResetToDefault |
Public functions
| Returns | Name | Description |
|---|---|---|
ARC_WIDGET_ARGS | ||
void | SetModified | |
bool | IsModified | |
void | SetWarning | An inline warning under the label; empty clears it. |
void | SetUnavailableReason | The setting cannot apply here, and why; empty makes it available. |
bool | IsUnavailable | |
ArcRect | GetResetRect | |
ArcRect | GetControlRect | |
ArcVec2 | ComputeDesiredSize | |
void | ArrangeChildren | |
int32_t | OnPaint | |
CReply | OnMouseButtonDown | |
const char* | GetTypeName |
Function details
ARC_WIDGET_ARGS
C++
ARC_WIDGET_ARGS(ASettingRow) ARC_ARG(std::string, Label) ARC_ARG(std::string, Description) ARC_ARG(int32_t, IndentLevel) ARC_CONTENT(ASettingRow, Control) ARC_WIDGET_ARGS_END() void Construct(const CArguments& args)SetModified
C++
void SetModified(bool modified)IsModified
C++
bool IsModified() constSetWarning
C++
void SetWarning(const std::string& warning)An inline warning under the label; empty clears it.
SetUnavailableReason
C++
void SetUnavailableReason(const std::string& reason)The setting cannot apply here, and why; empty makes it available.
IsUnavailable
C++
bool IsUnavailable() constGetResetRect
C++
ArcRect GetResetRect(const ArcRect& rowRect) constGetControlRect
C++
ArcRect GetControlRect(const ArcRect& rowRect) constComputeDesiredSize
C++
ArcVec2 ComputeDesiredSize(float scale) const overrideArrangeChildren
C++
void ArrangeChildren(const CGeometry& geo) overrideOnPaint
C++
int32_t OnPaint(const CArcPaintArgs& args, const CGeometry& geo, CArcUIRenderer& renderer, int32_t layerId) const overrideOnMouseButtonDown
C++
CReply OnMouseButtonDown(const CGeometry& geo, const CPointerEvent& event) overrideGetTypeName
C++
const char* GetTypeName() const overrideGenerated from Arc/Widgets/ASettingRow.h via arc.json · Nov 5, 2026Version 1.0.0