mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +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
|
|
@ -123,21 +123,21 @@ public:
|
|||
|
||||
// Sizing
|
||||
void updateSize();
|
||||
virtual void parentResized(const RectI& oldParentRect, const RectI& newParentRect);
|
||||
virtual bool onWake();
|
||||
void parentResized(const RectI& oldParentRect, const RectI& newParentRect) override;
|
||||
bool onWake() override;
|
||||
|
||||
// Rendering
|
||||
virtual void onRender( Point2I offset, const RectI &updateRect );
|
||||
void onRender( Point2I offset, const RectI &updateRect ) override;
|
||||
virtual void onRenderItem(const RectI& itemRect, LBItem *item);
|
||||
void drawBox( const Point2I &box, S32 size, ColorI &outlineColor, ColorI &boxColor );
|
||||
bool renderTooltip( const Point2I &hoverPos, const Point2I& cursorPos, const char* tipText );
|
||||
void addFilteredItem( String item );
|
||||
void removeFilteredItem( String item );
|
||||
// Mouse/Key Events
|
||||
virtual void onMouseDown( const GuiEvent &event );
|
||||
virtual void onMouseDragged(const GuiEvent &event);
|
||||
virtual void onMouseUp( const GuiEvent& event );
|
||||
virtual bool onKeyDown( const GuiEvent &event );
|
||||
void onMouseDown( const GuiEvent &event ) override;
|
||||
void onMouseDragged(const GuiEvent &event) override;
|
||||
void onMouseUp( const GuiEvent& event ) override;
|
||||
bool onKeyDown( const GuiEvent &event ) override;
|
||||
|
||||
// String Utility
|
||||
static U32 getStringElementCount( const char *string );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue