mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 08:55:45 +00:00
WAGE: Initialize class variables
This commit is contained in:
parent
84d2cf6cbf
commit
7ffa209a79
@ -104,6 +104,9 @@ Menu::Menu(int id, const Common::Rect &bounds, MacWindowManager *wm)
|
||||
_activeItem = -1;
|
||||
_activeSubItem = -1;
|
||||
|
||||
_ccallback = NULL;
|
||||
_cdata = NULL;
|
||||
|
||||
_tempSurface.create(_screen.w, _font->getFontHeight(), Graphics::PixelFormat::createFormatCLUT8());
|
||||
}
|
||||
|
||||
|
@ -76,6 +76,8 @@ MacWindow::MacWindow(int id, bool scrollable, bool resizable, bool editable, Mac
|
||||
_beingDragged = false;
|
||||
_beingResized = false;
|
||||
|
||||
_draggedX = _draggedY = 0;
|
||||
|
||||
_type = kWindowWindow;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user