Allow resizing touch buttons individually.

This commit is contained in:
Henrik Rydgård committed 2013-12-02 15:15:19 +01:00
1 parent c4b3a2792a
commit a6c7663ea8
10 files changed
+263 -202

No files matched your search

+1 -6
View File
@@ -194,11 +194,7 @@ void ControlMappingScreen::CreateViews() {
leftColumn->Add(new Choice(k->T("Default All")))->OnClick.Handle(this, &ControlMappingScreen::OnDefaultMapping);
leftColumn->Add(new Spacer(new LinearLayoutParams(1.0f)));
leftColumn->Add(new Choice(d->T("Back")))->OnClick.Handle<UIScreen>(this, &UIScreen::OnBack);
/*
ChoiceStrip *mode = leftColumn->Add(new ChoiceStrip(ORIENT_VERTICAL));
mode->AddChoice("Replace");
mode->AddChoice("Add");
*/
ScrollView *rightScroll = new ScrollView(ORIENT_VERTICAL, new LinearLayoutParams(1.0f));
rightScroll->SetScrollToTop(false);
LinearLayout *rightColumn = new LinearLayout(ORIENT_VERTICAL, new LinearLayoutParams(1.0f));
@@ -235,7 +231,6 @@ UI::EventReturn ControlMappingScreen::OnDefaultMapping(UI::EventParams &params)
return UI::EVENT_DONE;
}
void KeyMappingNewKeyDialog::CreatePopupContents(UI::ViewGroup *parent) {
using namespace UI;