mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
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:
parent
efbe5e90f5
commit
2b295fb7f0
454 changed files with 4162 additions and 4156 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue