mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-09 23:40:42 +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
|
|
@ -49,20 +49,20 @@ class afxStatusBar : public GuiControl, public afxProgressBase
|
|||
public:
|
||||
/*C*/ afxStatusBar();
|
||||
|
||||
virtual void onRender(Point2I, const RectI&);
|
||||
void onRender(Point2I, const RectI&) override;
|
||||
|
||||
void setFraction(F32 frac);
|
||||
F32 getFraction() const { return fraction; }
|
||||
|
||||
virtual void setProgress(F32 value) { setFraction(value); }
|
||||
void setProgress(F32 value) override { setFraction(value); }
|
||||
|
||||
void setShape(ShapeBase* s);
|
||||
void clearShape() { setShape(NULL); }
|
||||
|
||||
virtual bool onWake();
|
||||
virtual void onSleep();
|
||||
virtual void onMouseDown(const GuiEvent &event);
|
||||
virtual void onDeleteNotify(SimObject*);
|
||||
bool onWake() override;
|
||||
void onSleep() override;
|
||||
void onMouseDown(const GuiEvent &event) override;
|
||||
void onDeleteNotify(SimObject*) override;
|
||||
|
||||
static void initPersistFields();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue