mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-25 06:15: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
|
|
@ -61,12 +61,12 @@ public:
|
|||
GuiPopupMenuTextListCtrl();
|
||||
|
||||
// GuiControl overloads:
|
||||
bool onKeyDown(const GuiEvent &event);
|
||||
void onMouseDown(const GuiEvent &event);
|
||||
void onMouseUp(const GuiEvent &event);
|
||||
void onRenderCell(Point2I offset, Point2I cell, bool selected, bool mouseOver);
|
||||
bool onKeyDown(const GuiEvent &event) override;
|
||||
void onMouseDown(const GuiEvent &event) override;
|
||||
void onMouseUp(const GuiEvent &event) override;
|
||||
void onRenderCell(Point2I offset, Point2I cell, bool selected, bool mouseOver) override;
|
||||
|
||||
virtual void onCellHighlighted(Point2I cell); // Added
|
||||
void onCellHighlighted(Point2I cell) override; // Added
|
||||
};
|
||||
|
||||
class GuiPopupMenuBackgroundCtrl : public GuiControl
|
||||
|
|
@ -75,10 +75,10 @@ class GuiPopupMenuBackgroundCtrl : public GuiControl
|
|||
|
||||
public:
|
||||
GuiPopupMenuBackgroundCtrl();
|
||||
void onMouseDown(const GuiEvent &event);
|
||||
void onMouseUp(const GuiEvent &event);
|
||||
void onMouseMove(const GuiEvent &event);
|
||||
void onMouseDragged(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 close();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue