mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33: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
|
|
@ -2834,7 +2834,7 @@ class GuiEditorRuler : public GuiControl
|
|||
return ORIENTATION_Vertical;
|
||||
}
|
||||
|
||||
bool onWake()
|
||||
bool onWake() override
|
||||
{
|
||||
if( !Parent::onWake() )
|
||||
return false;
|
||||
|
|
@ -2848,12 +2848,12 @@ class GuiEditorRuler : public GuiControl
|
|||
return true;
|
||||
}
|
||||
|
||||
void onPreRender()
|
||||
void onPreRender() override
|
||||
{
|
||||
setUpdate();
|
||||
}
|
||||
|
||||
void onMouseDown( const GuiEvent& event )
|
||||
void onMouseDown( const GuiEvent& event ) override
|
||||
{
|
||||
if( !mEditCtrl )
|
||||
return;
|
||||
|
|
@ -2872,7 +2872,7 @@ class GuiEditorRuler : public GuiControl
|
|||
mEditCtrl->startMouseGuideDrag( axis, guideIndex );
|
||||
}
|
||||
|
||||
void onRender(Point2I offset, const RectI &updateRect)
|
||||
void onRender(Point2I offset, const RectI &updateRect) override
|
||||
{
|
||||
GFX->getDrawUtil()->drawRectFill(updateRect, ColorI::DARK);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue