ALL: Remove use of "" in Common::U32String constructors
This commit is contained in:
parent
bc52f01a9a
commit
c877097b49
57 changed files with 284 additions and 284 deletions
|
@ -550,7 +550,7 @@ void DropdownButtonWidget::drawWidget() {
|
|||
#pragma mark -
|
||||
|
||||
PicButtonWidget::PicButtonWidget(GuiObject *boss, int x, int y, int w, int h, const Common::U32String &tooltip, uint32 cmd, uint8 hotkey)
|
||||
: ButtonWidget(boss, x, y, w, h, Common::U32String(""), tooltip, cmd, hotkey),
|
||||
: ButtonWidget(boss, x, y, w, h, Common::U32String(), tooltip, cmd, hotkey),
|
||||
_alpha(255), _transparency(false), _showButton(true) {
|
||||
|
||||
setFlags(WIDGET_ENABLED/* | WIDGET_BORDER*/ | WIDGET_CLEARBG);
|
||||
|
@ -558,7 +558,7 @@ PicButtonWidget::PicButtonWidget(GuiObject *boss, int x, int y, int w, int h, co
|
|||
}
|
||||
|
||||
PicButtonWidget::PicButtonWidget(GuiObject *boss, const Common::String &name, const Common::U32String &tooltip, uint32 cmd, uint8 hotkey)
|
||||
: ButtonWidget(boss, name, Common::U32String(""), tooltip, cmd, hotkey),
|
||||
: ButtonWidget(boss, name, Common::U32String(), tooltip, cmd, hotkey),
|
||||
_alpha(255), _transparency(false), _showButton(true) {
|
||||
setFlags(WIDGET_ENABLED/* | WIDGET_BORDER*/ | WIDGET_CLEARBG);
|
||||
_type = kButtonWidget;
|
||||
|
@ -598,7 +598,7 @@ void PicButtonWidget::setGfx(int w, int h, int r, int g, int b, int statenum) {
|
|||
|
||||
void PicButtonWidget::drawWidget() {
|
||||
if (_showButton)
|
||||
g_gui.theme()->drawButton(Common::Rect(_x, _y, _x + _w, _y + _h), Common::U32String(""), _state, getFlags());
|
||||
g_gui.theme()->drawButton(Common::Rect(_x, _y, _x + _w, _y + _h), Common::U32String(), _state, getFlags());
|
||||
|
||||
Graphics::Surface *gfx;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue