mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +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
|
|
@ -54,7 +54,7 @@ class GuiBubbleTextCtrl : public GuiTextCtrl
|
|||
|
||||
GuiBubbleTextCtrl() :mInAction(false), mDlg(NULL), mPopup(NULL), mMLText(NULL) {}
|
||||
|
||||
virtual void onMouseDown(const GuiEvent &event);
|
||||
void onMouseDown(const GuiEvent &event) override;
|
||||
};
|
||||
|
||||
#endif /* _GUI_BUBBLE_TEXT_CONTROL_H_ */
|
||||
|
|
|
|||
|
|
@ -48,10 +48,10 @@ public:
|
|||
GuiInputCtrl();
|
||||
|
||||
// GuiControl.
|
||||
virtual bool onWake();
|
||||
virtual void onSleep();
|
||||
bool onWake() override;
|
||||
void onSleep() override;
|
||||
|
||||
virtual bool onInputEvent( const InputEventInfo &event );
|
||||
bool onInputEvent( const InputEventInfo &event ) override;
|
||||
|
||||
static void initPersistFields();
|
||||
|
||||
|
|
|
|||
|
|
@ -52,15 +52,15 @@ class GuiMouseEventCtrl : public GuiControl
|
|||
DECLARE_CALLBACK( void, onRightMouseDragged, ( S32 modifier, Point2I mousePoint, S32 mouseClickCount ));
|
||||
|
||||
// GuiControl
|
||||
void onMouseDown(const GuiEvent & event);
|
||||
void onMouseUp(const GuiEvent & event);
|
||||
void onMouseMove(const GuiEvent & event);
|
||||
void onMouseDragged(const GuiEvent & event);
|
||||
void onMouseEnter(const GuiEvent & event);
|
||||
void onMouseLeave(const GuiEvent & event);
|
||||
void onRightMouseDown(const GuiEvent & event);
|
||||
void onRightMouseUp(const GuiEvent & event);
|
||||
void onRightMouseDragged(const GuiEvent & event);
|
||||
void onMouseDown(const GuiEvent & event) override;
|
||||
void onMouseUp(const GuiEvent & event) override;
|
||||
void onMouseMove(const GuiEvent & event) override;
|
||||
void onMouseDragged(const GuiEvent & event) override;
|
||||
void onMouseEnter(const GuiEvent & event) override;
|
||||
void onMouseLeave(const GuiEvent & event) override;
|
||||
void onRightMouseDown(const GuiEvent & event) override;
|
||||
void onRightMouseUp(const GuiEvent & event) override;
|
||||
void onRightMouseDragged(const GuiEvent & event) override;
|
||||
|
||||
static void initPersistFields();
|
||||
|
||||
|
|
|
|||
|
|
@ -49,8 +49,8 @@ class GuiRenderTargetVizCtrl : public GuiControl
|
|||
public:
|
||||
DECLARE_CONOBJECT(GuiRenderTargetVizCtrl);
|
||||
GuiRenderTargetVizCtrl();
|
||||
bool onWake();
|
||||
void onRender(Point2I offset, const RectI &updateRect);
|
||||
bool onWake() override;
|
||||
void onRender(Point2I offset, const RectI &updateRect) override;
|
||||
|
||||
static void initPersistFields();
|
||||
};
|
||||
|
|
|
|||
|
|
@ -91,8 +91,8 @@ class MessageVector : public SimObject
|
|||
|
||||
//-------------------------------------- Internal interface
|
||||
protected:
|
||||
bool onAdd();
|
||||
void onRemove();
|
||||
bool onAdd() override;
|
||||
void onRemove() override;
|
||||
|
||||
private:
|
||||
struct SpectatorRef {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue