GUI: Initialized more variables
This commit is contained in:
parent
ad50a1471a
commit
eda31b9498
2 changed files with 10 additions and 0 deletions
|
@ -456,6 +456,15 @@ bool EEHandler::handleKeyDown(Common::KeyState &state) {
|
|||
|
||||
EE::EE() {
|
||||
init();
|
||||
|
||||
_scale = 1.0;
|
||||
_windowW = 320;
|
||||
_windowH = 200;
|
||||
_windowX = _windowY = 0;
|
||||
|
||||
_format = g_system->getOverlayFormat();
|
||||
|
||||
_colorBlack = _colorBlue = _colorOrange = _colorKey = 0;
|
||||
}
|
||||
|
||||
EE::~EE() {
|
||||
|
|
|
@ -73,6 +73,7 @@ ListWidget::ListWidget(Dialog *boss, int x, int y, int w, int h, const U32String
|
|||
: EditableWidget(boss, x, y, w, h, tooltip), _cmd(cmd) {
|
||||
|
||||
_entriesPerPage = 0;
|
||||
_scrollBarWidth = 0;
|
||||
|
||||
_scrollBar = new ScrollBarWidget(this, _w - _scrollBarWidth, 0, _scrollBarWidth, _h);
|
||||
_scrollBar->setTarget(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue