MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / setIcon

Method setIcon

src/app/ui/button_set.cpp:57–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void ButtonSet::Item::setIcon(const SkinPartPtr& icon, bool mono)
58{
59 m_icon = icon;
60 m_mono = mono;
61 invalidate();
62}
63
64ButtonSet* ButtonSet::Item::buttonSet()
65{

Callers 10

create_main_displayFunction · 0.45
updateIconsMethod · 0.45
updateFromTargetMethod · 0.45
updateBrushMethod · 0.45
setInkTypeIconMethod · 0.45
onOpaqueChangeMethod · 0.45
onPivotChangeMethod · 0.45
addItemMethod · 0.45
updateUsingEditorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected