mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-29 05:17:58 +03:00
Fix coverity uninitialized variables
This commit is contained in:
parent
4fbbb67e98
commit
eceed558be
7 changed files with 24 additions and 9 deletions
|
@ -19,6 +19,7 @@ namespace LuaUi
|
|||
class WidgetExtension
|
||||
{
|
||||
public:
|
||||
WidgetExtension();
|
||||
// must be called after creating the underlying MyGUI::Widget
|
||||
void create(lua_State* lua, MyGUI::Widget* self);
|
||||
// must be called after before destroying the underlying MyGUI::Widget
|
||||
|
@ -42,7 +43,6 @@ namespace LuaUi
|
|||
void updateCoord();
|
||||
|
||||
protected:
|
||||
~WidgetExtension() {}
|
||||
sol::table makeTable() const;
|
||||
sol::object keyEvent(MyGUI::KeyCode) const;
|
||||
sol::object mouseEvent(int left, int top, MyGUI::MouseButton button) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue