MCPcopy Create free account
hub / github.com/axmolengine/axmol / setEnabled

Method setEnabled

tests/cpp-tests/Source/VibrateTest/VibrateTest.cpp:63–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 void setEnabled(bool enabled)
64 {
65 _enabled = enabled;
66 if (_enabled)
67 {
68 this->setColor(Color3B::WHITE);
69 }
70 else
71 {
72 this->setColor(Color3B::GRAY);
73 }
74 }
75
76private:
77 TextButton()

Callers 15

initMethod · 0.45
initMethod · 0.45
initMethod · 0.45
initMethod · 0.45
initMethod · 0.45
initSlidersMethod · 0.45
DrawNodeLineDrawTestMethod · 0.45
DrawNodeThicknessTestMethod · 0.45
DrawNodePieTestMethod · 0.45

Calls 1

setColorMethod · 0.45

Tested by

no test coverage detected