mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-15 22:57:02 +00:00
Better tooltip rendering; floating-point pixel factor
This commit is contained in:
@@ -74,8 +74,11 @@ public:
|
||||
int nominalWidth() const {return m_width;}
|
||||
int nominalHeight() const {return m_fontAtlas.FT_LineHeight() >> 6;}
|
||||
|
||||
std::pair<int,int> queryGlyphDimensions(size_t pos) const;
|
||||
|
||||
private:
|
||||
std::vector<RenderGlyph> m_glyphs;
|
||||
std::vector<std::pair<int,int>> m_glyphDims;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user