mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Implement a simple cheat database download facility
This commit is contained in:
1 parent
fa50bb1976
commit
91b3741a57
12 files changed
+169
-23
No files matched your search
+1
-5
@@ -34,9 +34,6 @@ public:
|
||||
level_ = level;
|
||||
text_ = text;
|
||||
}
|
||||
void SetSquishy(bool squishy) {
|
||||
squishy_ = squishy;
|
||||
}
|
||||
void SetWrapText(bool wrapText) {
|
||||
wrapText_ = wrapText;
|
||||
}
|
||||
@@ -53,8 +50,7 @@ private:
|
||||
std::string iconName_;
|
||||
NoticeLevel level_;
|
||||
mutable float height1_ = 0.0f;
|
||||
bool squishy_ = false;
|
||||
bool wrapText_ = false;
|
||||
bool wrapText_ = true;
|
||||
};
|
||||
|
||||
ImageID GetOSDIcon(NoticeLevel level);
|
||||
|
||||
@@ -816,6 +816,7 @@ void AskForInput(ScreenManager *screenManager, RequesterToken token, UI::View *s
|
||||
|
||||
PopupTextInputChoice::PopupTextInputChoice(RequesterToken token, std::string *value, std::string_view title, std::string_view placeholder, int maxLen, ScreenManager *screenManager, LayoutParams *layoutParams)
|
||||
: AbstractChoiceWithValueDisplay(title, layoutParams), screenManager_(screenManager), value_(value), placeHolder_(placeholder), maxLen_(maxLen), token_(token), restriction_(StringRestriction::None) {
|
||||
_dbg_assert_(value);
|
||||
OnClick.Handle(this, &PopupTextInputChoice::HandleClick);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user