MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / CheckBox

Method CheckBox

forms/checkbox.cpp:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12{
13
14CheckBox::CheckBox(sp<Image> ImageChecked, sp<Image> ImageUnchecked)
15 : Control(), imagechecked(ImageChecked), imageunchecked(ImageUnchecked),
16 buttonclick(
17 fw().data->loadSample("RAWSOUND:xcom3/rawsound/strategc/intrface/button1.raw:22050")),
18 Checked(false)
19{
20 isClickable = true;
21}
22
23CheckBox::~CheckBox() = default;
24

Callers

nothing calls this directly

Calls 1

loadSampleMethod · 0.45

Tested by

no test coverage detected