2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-16 10:57:02 +00:00

Text system updates

This commit is contained in:
Jack Andersen
2015-11-28 16:55:30 -10:00
parent 4ede0d6858
commit b4ffb13903
14 changed files with 272 additions and 17 deletions

View File

@@ -26,6 +26,7 @@ public:
{
friend class ViewSystem;
friend class TextView;
friend class MultiLineTextView;
FontCache* m_fcache = nullptr;
boo::IShaderPipeline* m_regular = nullptr;
boo::IShaderPipeline* m_subpixel = nullptr;
@@ -39,7 +40,8 @@ public:
#endif
};
TextView(ViewSystem& system, FontTag font, size_t capacity=256);
TextView(ViewSystem& system, View& parentView, const FontAtlas& font, size_t capacity=256);
TextView(ViewSystem& system, View& parentView, FontTag font, size_t capacity=256);
struct RenderGlyph
{