mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-10 03:40:25 +00:00
HDB: Add getter-setter for Kerning and Leading
This commit is contained in:
parent
954d1c649c
commit
e7ddd0b527
@ -395,6 +395,16 @@ int DrawMan::animateTile(int tileIndex) {
|
||||
return _tLookupArray[tileIndex].animIndex;
|
||||
}
|
||||
|
||||
void DrawMan::setKernLead(int kern, int lead) {
|
||||
_fontHeader.kerning = kern;
|
||||
_fontHeader.leading = lead;
|
||||
}
|
||||
|
||||
void DrawMan::getKernLead(int *kern, int *lead) {
|
||||
*kern = _fontHeader.kerning;
|
||||
*lead = _fontHeader.leading;
|
||||
}
|
||||
|
||||
void DrawMan::setCursor(int x, int y) {
|
||||
_cursorX = x;
|
||||
_cursorY = y;
|
||||
|
@ -117,6 +117,8 @@ public:
|
||||
|
||||
// Font Functions
|
||||
|
||||
void setKernLead(int kern, int lead);
|
||||
void getKernLead(int *kern, int *lead);
|
||||
void setCursor(int x, int y);
|
||||
void getCursor(int *x, int *y);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user