mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04: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
|
|
@ -38,23 +38,23 @@ public:
|
|||
virtual ~WinFont();
|
||||
|
||||
// PlatformFont virtual methods
|
||||
virtual bool isValidChar(const UTF16 ch) const;
|
||||
virtual bool isValidChar(const UTF8 *str) const;
|
||||
bool isValidChar(const UTF16 ch) const override;
|
||||
bool isValidChar(const UTF8 *str) const override;
|
||||
|
||||
inline virtual U32 getFontHeight() const
|
||||
inline U32 getFontHeight() const override
|
||||
{
|
||||
return mTextMetric.tmHeight;
|
||||
}
|
||||
|
||||
inline virtual U32 getFontBaseLine() const
|
||||
inline U32 getFontBaseLine() const override
|
||||
{
|
||||
return mTextMetric.tmAscent;
|
||||
}
|
||||
|
||||
virtual PlatformFont::CharInfo &getCharInfo(const UTF16 ch) const;
|
||||
virtual PlatformFont::CharInfo &getCharInfo(const UTF8 *str) const;
|
||||
PlatformFont::CharInfo &getCharInfo(const UTF16 ch) const override;
|
||||
PlatformFont::CharInfo &getCharInfo(const UTF8 *str) const override;
|
||||
|
||||
virtual bool create(const char *name, dsize_t size, U32 charset = TGE_ANSI_CHARSET);
|
||||
bool create(const char *name, dsize_t size, U32 charset = TGE_ANSI_CHARSET) override;
|
||||
};
|
||||
|
||||
#endif // _WINFONT_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue