Add SliderFloat

This commit is contained in:
Henrik Rydgard committed 2013-07-20 13:54:09 +02:00
1 parent b059027359
commit d70ac3bba5
4 files changed
+76 -1

No files matched your search

+5 -1
View File
@@ -113,8 +113,12 @@ void ListPopupScreen::OnCompleted() {
callback_(adaptor_.GetSelected());
}
void SliderPopupScreen::CreatePopupContents(UI::ViewGroup *parent) {
using namespace UI;
slider_ = parent->Add(new Slider(value_, minValue_, maxValue_));
}
void SliderFloatPopupScreen::CreatePopupContents(UI::ViewGroup *parent) {
using namespace UI;
slider_ = parent->Add(new SliderFloat(value_, minValue_, maxValue_));
}