| 1593 | } |
| 1594 | |
| 1595 | void DrawNodeBaseTest::changeThickness(ax::Object* pSender, ax::ui::Slider::EventType type) |
| 1596 | { |
| 1597 | if (type == ax::ui::Slider::EventType::ON_PERCENTAGE_CHANGED) |
| 1598 | { |
| 1599 | slider[sliderType::Thickness] = dynamic_cast<ax::ui::Slider*>(pSender); |
| 1600 | sliderValue[sliderType::Thickness] = slider[sliderType::Thickness]->getPercent() * 0.1; |
| 1601 | sliderLabel[sliderType::Thickness]->setString("Thickness: (" + |
| 1602 | Value(sliderValue[sliderType::Thickness]).asString() + ")"); |
| 1603 | } |
| 1604 | } |
| 1605 | |
| 1606 | void DrawNodeBaseTest::initSliders() |
| 1607 | { |
nothing calls this directly
no test coverage detected