mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-06 00:31:43 +00:00
GUI: Initialized more variables
This commit is contained in:
parent
ad50a1471a
commit
eda31b9498
@ -456,6 +456,15 @@ bool EEHandler::handleKeyDown(Common::KeyState &state) {
|
|||||||
|
|
||||||
EE::EE() {
|
EE::EE() {
|
||||||
init();
|
init();
|
||||||
|
|
||||||
|
_scale = 1.0;
|
||||||
|
_windowW = 320;
|
||||||
|
_windowH = 200;
|
||||||
|
_windowX = _windowY = 0;
|
||||||
|
|
||||||
|
_format = g_system->getOverlayFormat();
|
||||||
|
|
||||||
|
_colorBlack = _colorBlue = _colorOrange = _colorKey = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
EE::~EE() {
|
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) {
|
: EditableWidget(boss, x, y, w, h, tooltip), _cmd(cmd) {
|
||||||
|
|
||||||
_entriesPerPage = 0;
|
_entriesPerPage = 0;
|
||||||
|
_scrollBarWidth = 0;
|
||||||
|
|
||||||
_scrollBar = new ScrollBarWidget(this, _w - _scrollBarWidth, 0, _scrollBarWidth, _h);
|
_scrollBar = new ScrollBarWidget(this, _w - _scrollBarWidth, 0, _scrollBarWidth, _h);
|
||||||
_scrollBar->setTarget(this);
|
_scrollBar->setTarget(this);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user