mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 09:39:33 +01:00
Add basic slider control
This commit is contained in:
1 parent
07feef3f44
commit
cd8987b33b
4 files changed
+81
-1
No files matched your search
@@ -108,3 +108,9 @@ UI::EventReturn ListPopupScreen::OnListChoice(UI::EventParams &e) {
|
||||
void ListPopupScreen::OnCompleted() {
|
||||
callback_(adaptor_.GetSelected());
|
||||
}
|
||||
|
||||
|
||||
void SliderPopupScreen::CreatePopupContents(UI::ViewGroup *parent) {
|
||||
using namespace UI;
|
||||
slider_ = parent->Add(new Slider(value_, minValue_, maxValue_));
|
||||
}
|
||||
Reference in new issue
Block a user