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

Method Get

src/validators.cpp:171–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171int EnumBinderBase::Get() {
172 if (auto rb = dynamic_cast<wxRadioBox*>(GetWindow()))
173 return rb->GetSelection();
174 if (auto rb = dynamic_cast<wxComboBox*>(GetWindow()))
175 return rb->GetSelection();
176 throw agi::InternalError("Control type not supported by EnumBinder");
177}
178
179void EnumBinderBase::Set(int value) {
180 if (auto rb = dynamic_cast<wxRadioBox*>(GetWindow()))

Callers 15

convertFunction · 0.45
GetLineRotationMethod · 0.45
GetLineShearMethod · 0.45
GetLineScaleMethod · 0.45
GetLineVectorClipMethod · 0.45
WriteLineToFileMethod · 0.45
SaveMethod · 0.45
ExtractMethod · 0.45
ConvertTagsMethod · 0.45
ParseKaraokeSyllablesFunction · 0.45
OnPreviewColourChangeMethod · 0.45

Calls

no outgoing calls

Tested by 3

RenderMethod · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36