virtuals removed

virtuals removed and replaced with override where necessary, clang-tidy to the rescue.
This commit is contained in:
marauder2k7 2024-03-18 18:13:00 +00:00
parent 88a43f3137
commit efbe5e90f5
255 changed files with 2164 additions and 2164 deletions

View file

@ -133,21 +133,21 @@ class GuiContainer : public GuiControl
/// @name GuiControl Inherited
/// @{
virtual void onChildAdded(GuiControl* control);
virtual void onChildRemoved(GuiControl* control);
virtual bool resize( const Point2I &newPosition, const Point2I &newExtent );
virtual void childResized(GuiControl *child);
virtual void addObject(SimObject *obj);
virtual void removeObject(SimObject *obj);
virtual bool reOrder(SimObject* obj, SimObject* target);
virtual void onPreRender();
void onChildAdded(GuiControl* control) override;
void onChildRemoved(GuiControl* control) override;
bool resize( const Point2I &newPosition, const Point2I &newExtent ) override;
void childResized(GuiControl *child) override;
void addObject(SimObject *obj) override;
void removeObject(SimObject *obj) override;
bool reOrder(SimObject* obj, SimObject* target) override;
void onPreRender() override;
/// GuiContainer deals with parentResized calls differently than GuiControl. It will
/// update the layout for all of it's non-docked child controls. parentResized calls
/// on the child controls will be handled by their default functions, but for our
/// purposes we want at least our immediate children to use the anchors that they have
/// set on themselves. - JDD [9/20/2006]
virtual void parentResized(const RectI &oldParentRect, const RectI &newParentRect);
void parentResized(const RectI &oldParentRect, const RectI &newParentRect) override;
/// @}
};