rest of virtuals removed

virtuals removed and replaced with override where necessary on the rest of the code base, clang-tidy to the rescue.
This commit is contained in:
marauder2k7 2024-03-18 18:40:22 +00:00
parent efbe5e90f5
commit 2b295fb7f0
454 changed files with 4162 additions and 4156 deletions

View file

@ -53,21 +53,21 @@ public:
doFadeIn = false;
doFadeOut = false;
}
void onPreRender()
void onPreRender() override
{
Parent::onPreRender();
setUpdate();
}
void onMouseDown(const GuiEvent &)
void onMouseDown(const GuiEvent &) override
{
Con::executef(this, "click");
}
bool onKeyDown(const GuiEvent &)
bool onKeyDown(const GuiEvent &) override
{
Con::executef(this, "click");
return true;
}
bool onWake()
bool onWake() override
{
if(!Parent::onWake())
return false;
@ -91,7 +91,7 @@ public:
done = false;
}
void onRender(Point2I offset, const RectI &updateRect)
void onRender(Point2I offset, const RectI &updateRect) override
{
U32 elapsed = Platform::getRealMilliseconds() - wakeTime;