GUI: U32: Shift most widgets to draw with u32
- ButtonWidgets (Button, Radio, Checkbox, dropdown) - StaticTextWidgets - PopUpWidgets - Tabs - Add a temporary overloaded drawDDText function to make other widgets draw normally
This commit is contained in:
parent
2745d51fe7
commit
aafade4507
25 changed files with 486 additions and 445 deletions
|
@ -42,7 +42,7 @@ enum {
|
|||
ThemeBrowser::ThemeBrowser() : Dialog("Browser") {
|
||||
_fileList = nullptr;
|
||||
|
||||
new StaticTextWidget(this, "Browser.Headline", _("Select a Theme"));
|
||||
new StaticTextWidget(this, "Browser.Headline", Common::convertToU32String(_("Select a Theme")));
|
||||
|
||||
// Add file list
|
||||
_fileList = new ListWidget(this, "Browser.List");
|
||||
|
@ -52,8 +52,8 @@ ThemeBrowser::ThemeBrowser() : Dialog("Browser") {
|
|||
_backgroundType = GUI::ThemeEngine::kDialogBackgroundPlain;
|
||||
|
||||
// Buttons
|
||||
new ButtonWidget(this, "Browser.Cancel", _("Cancel"), nullptr, kCloseCmd);
|
||||
new ButtonWidget(this, "Browser.Choose", _("Choose"), nullptr, kChooseCmd);
|
||||
new ButtonWidget(this, "Browser.Cancel", Common::convertToU32String(_("Cancel")), nullptr, kCloseCmd);
|
||||
new ButtonWidget(this, "Browser.Choose", Common::convertToU32String(_("Choose")), nullptr, kChooseCmd);
|
||||
}
|
||||
|
||||
void ThemeBrowser::open() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue