mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Small refactor of text rect measurement. Add move/resize icons
This commit is contained in:
1 parent
f949bc8faf
commit
1ea93e2913
14 files changed
+65
-69
No files matched your search
@@ -655,8 +655,8 @@ void TouchControlLayoutScreen::CreateViews() {
|
||||
LinearLayout *leftColumn = leftColumnScroll->Add(new LinearLayout(ORIENT_VERTICAL, new LinearLayoutParams(Margins(12.0f, 0.0f))));
|
||||
|
||||
mode_ = new ChoiceStrip(ORIENT_VERTICAL);
|
||||
mode_->AddChoice(di->T("Move"));
|
||||
mode_->AddChoice(di->T("Resize"));
|
||||
mode_->AddChoice(di->T("Move"), ImageID("I_MOVE"));
|
||||
mode_->AddChoice(di->T("Resize"), ImageID("I_RESIZE"));
|
||||
mode_->SetSelection(0, false);
|
||||
mode_->OnChoice.Handle(this, &TouchControlLayoutScreen::OnMode);
|
||||
|
||||
|
||||
Reference in new issue
Block a user