MCPcopy Create free account
hub / github.com/TypesettingTools/Aegisub / OnColourChanged

Method OnColourChanged

src/pen.cpp:22–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20#include "options.h"
21
22void Pen::OnColourChanged(agi::OptionValue const& opt) {
23 impl.SetColour(to_wx(opt.GetColor()));
24}
25
26void Pen::OnWidthChanged(agi::OptionValue const& opt) {
27 impl.SetWidth(opt.GetInt());

Callers

nothing calls this directly

Calls 3

GetColorMethod · 0.80
to_wxFunction · 0.70
SetColourMethod · 0.45

Tested by

no test coverage detected