summaryrefslogtreecommitdiff
path: root/src/gui/widgets/skilllistbox.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-18 13:20:34 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-18 13:20:34 +0300
commit0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7 (patch)
treeaebc2d6eae2325c1c077849cc43f8ac07d6a76f6 /src/gui/widgets/skilllistbox.h
parent4b754c29f7fe0c7531fa6ce68a70a913e7172337 (diff)
downloadManaVerse-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.gz
ManaVerse-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.bz2
ManaVerse-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.xz
ManaVerse-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.zip
Add missing override keywords.
Diffstat (limited to 'src/gui/widgets/skilllistbox.h')
-rw-r--r--src/gui/widgets/skilllistbox.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/widgets/skilllistbox.h b/src/gui/widgets/skilllistbox.h
index 982a779e4..387bde055 100644
--- a/src/gui/widgets/skilllistbox.h
+++ b/src/gui/widgets/skilllistbox.h
@@ -91,7 +91,7 @@ class SkillListBox final : public ListBox
return static_cast<SkillModel*>(mListModel)->getSkillAt(selected);
}
- void draw(Graphics *graphics) override
+ void draw(Graphics *graphics) override final
{
if (!mListModel)
return;
@@ -164,7 +164,7 @@ class SkillListBox final : public ListBox
}
}
- unsigned int getRowHeight() const override
+ unsigned int getRowHeight() const override final
{ return mRowHeight; }
const SkillInfo *getSkillByEvent(const MouseEvent &event) const
@@ -178,7 +178,7 @@ class SkillListBox final : public ListBox
return skill;
}
- void mouseMoved(MouseEvent &event) override
+ void mouseMoved(MouseEvent &event) override final
{
ListBox::mouseMoved(event);
if (!viewport || !dragDrop.isEmpty())
@@ -189,7 +189,7 @@ class SkillListBox final : public ListBox
mPopup->position(viewport->mMouseX, viewport->mMouseY);
}
- void mouseDragged(MouseEvent &event)
+ void mouseDragged(MouseEvent &event) override final
{
if (event.getButton() == MouseButton::LEFT)
{
@@ -213,7 +213,7 @@ class SkillListBox final : public ListBox
}
}
- void mousePressed(MouseEvent &event)
+ void mousePressed(MouseEvent &event) override final
{
ListBox::mousePressed(event);
if (event.getButton() == MouseButton::LEFT)
@@ -226,12 +226,12 @@ class SkillListBox final : public ListBox
}
}
- void mouseReleased(MouseEvent &event)
+ void mouseReleased(MouseEvent &event) override final
{
ListBox::mouseReleased(event);
}
- void mouseExited(MouseEvent &event A_UNUSED) override
+ void mouseExited(MouseEvent &event A_UNUSED) override final
{
mPopup->hide();
}