GUI: Make GuiObject::_name const, init all members in constructor
svn-id: r48275
This commit is contained in:
parent
80a8111193
commit
a17bbf3c2e
2 changed files with 3 additions and 3 deletions
|
@ -30,8 +30,8 @@
|
|||
|
||||
namespace GUI {
|
||||
|
||||
GuiObject::GuiObject(const Common::String &name) : _firstWidget(0) {
|
||||
_name = name;
|
||||
GuiObject::GuiObject(const Common::String &name)
|
||||
: _x(-1000), _y(-1000), _w(0), _h(0), _name(name), _firstWidget(0) {
|
||||
reflowLayout();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue