Utility/RichTextDrawer: Update header
This commit is contained in:
parent
8013bd5d3b
commit
5504dd59fb
|
|
@ -42,11 +42,13 @@ namespace Nz
|
||||||
const FontRef& GetDefaultFont() const;
|
const FontRef& GetDefaultFont() const;
|
||||||
UInt32 GetDefaultStyle() const;
|
UInt32 GetDefaultStyle() const;
|
||||||
|
|
||||||
const Rectui& GetBounds() const override;
|
const Recti& GetBounds() const override;
|
||||||
Font* GetFont(unsigned int index) const override;
|
Font* GetFont(std::size_t index) const override;
|
||||||
unsigned int GetFontCount() const override;
|
std::size_t GetFontCount() const override;
|
||||||
const Glyph& GetGlyph(unsigned int index) const override;
|
const Glyph& GetGlyph(std::size_t index) const override;
|
||||||
unsigned int GetGlyphCount() const override;
|
std::size_t GetGlyphCount() const override;
|
||||||
|
const Line& GetLine(std::size_t index) const override;
|
||||||
|
std::size_t GetLineCount() const override;
|
||||||
|
|
||||||
void MergeBlocks();
|
void MergeBlocks();
|
||||||
|
|
||||||
|
|
@ -98,6 +100,7 @@ namespace Nz
|
||||||
UInt32 m_defaultStyle;
|
UInt32 m_defaultStyle;
|
||||||
unsigned int m_defaultCharacterSize;
|
unsigned int m_defaultCharacterSize;
|
||||||
std::unordered_map<FontRef, unsigned int> m_fonts;
|
std::unordered_map<FontRef, unsigned int> m_fonts;
|
||||||
|
std::vector<Block> m_blocks;
|
||||||
mutable std::vector<Glyph> m_glyphs;
|
mutable std::vector<Glyph> m_glyphs;
|
||||||
mutable Rectf m_workingBounds;
|
mutable Rectf m_workingBounds;
|
||||||
mutable Rectui m_bounds;
|
mutable Rectui m_bounds;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue