mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-13 19:42:29 +00:00
chore: initial commit
This commit is contained in:
commit
70b00c5c38
965 changed files with 264882 additions and 0 deletions
26
src/ui/CSimpleFontable.hpp
Normal file
26
src/ui/CSimpleFontable.hpp
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#ifndef UI_C_SIMPLE_FONTABLE_HPP
|
||||
#define UI_C_SIMPLE_FONTABLE_HPP
|
||||
|
||||
#include "ui/Types.hpp"
|
||||
#include <storm/List.hpp>
|
||||
|
||||
class CSimpleFont;
|
||||
class CSimpleFontStringAttributes;
|
||||
|
||||
class CSimpleFontable {
|
||||
public:
|
||||
// Member variables
|
||||
CSimpleFont* m_fontObject = nullptr;
|
||||
uint32_t m_fontableFlags = FLAG_COMPLETE_UPDATE;
|
||||
TSLink<CSimpleFontable> m_fontableLink;
|
||||
|
||||
// Virtual member functions
|
||||
virtual ~CSimpleFontable();
|
||||
virtual void FontObjectUpdated(CSimpleFontStringAttributes&) = 0;
|
||||
|
||||
// Member functions
|
||||
CSimpleFont* GetFontObject(void);
|
||||
void SetFontObject(CSimpleFont*);
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue