Font: move Glyph to it's own header.
This commit is contained in:
parent
5c4eea4ae1
commit
2dd1187ff2
7 changed files with 31 additions and 19 deletions
|
|
@ -42,7 +42,7 @@ bool Font::loadFromMemory(const void *data)
|
|||
return false;
|
||||
}
|
||||
|
||||
Font::Glyph Font::getGlyph(unsigned int code) const
|
||||
Glyph Font::getGlyph(unsigned int code) const
|
||||
{
|
||||
if (m_charset.find(code) == m_charset.end()) {
|
||||
|
||||
|
|
@ -54,7 +54,7 @@ Font::Glyph Font::getGlyph(unsigned int code) const
|
|||
void Font::loadChar(unsigned char code) const
|
||||
{
|
||||
Image img;
|
||||
Font::Glyph glyph;
|
||||
Glyph glyph;
|
||||
|
||||
if (!m_engine) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue