| 53 | } |
| 54 | |
| 55 | void ColourWindow::notifyScrollChangePosition(MyGUI::ScrollBar* _sender, size_t _position) |
| 56 | { |
| 57 | MyGUI::Colour colour( |
| 58 | float(mSliderRed->getScrollPosition()) / float(mSliderRed->getScrollRange()), |
| 59 | float(mSliderGreen->getScrollPosition()) / float(mSliderGreen->getScrollRange()), |
| 60 | float(mSliderBlue->getScrollPosition()) / float(mSliderBlue->getScrollRange())); |
| 61 | |
| 62 | mColour->setColour(colour); |
| 63 | } |
| 64 | |
| 65 | void ColourWindow::notifyEditSelectAccept(MyGUI::EditBox* _sender) |
| 66 | { |
nothing calls this directly
no test coverage detected