summaryrefslogtreecommitdiff
path: root/include/JSystem/JUtility/JUTFont.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/JSystem/JUtility/JUTFont.h')
-rw-r--r--include/JSystem/JUtility/JUTFont.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/JSystem/JUtility/JUTFont.h b/include/JSystem/JUtility/JUTFont.h
index b9e2b4f2..edd981a1 100644
--- a/include/JSystem/JUtility/JUTFont.h
+++ b/include/JSystem/JUtility/JUTFont.h
@@ -62,16 +62,16 @@ public:
};
/* 0x0C */ virtual void setGX() = 0;
- /* 0x10 */ virtual void setGX(JUtility::TColor col1, JUtility::TColor col2);
+ /* 0x10 */ virtual void setGX(JUtility::TColor col1, JUtility::TColor col2) { setGX(); }
/* 0x14 */ virtual f32 drawChar_scale(f32 a1, f32 a2, f32 a3, f32 a4, int a5, bool a6) = 0;
/* 0x18 */ virtual int getLeading() const = 0;
- /* 0x1C */ virtual s32 getAscent() const = 0;
- /* 0x20 */ virtual s32 getDescent() const = 0;
- /* 0x24 */ virtual s32 getHeight() const = 0;
- /* 0x28 */ virtual s32 getWidth() const = 0;
+ /* 0x1C */ virtual int getAscent() const = 0;
+ /* 0x20 */ virtual int getDescent() const = 0;
+ /* 0x24 */ virtual int getHeight() const = 0;
+ /* 0x28 */ virtual int getWidth() const = 0;
/* 0x2C */ virtual void getWidthEntry(int i_no, TWidth* width) const = 0;
- /* 0x30 */ virtual int getCellWidth() const;
- /* 0x34 */ virtual s32 getCellHeight() const;
+ /* 0x30 */ virtual int getCellWidth() const { return getWidth(); }
+ /* 0x34 */ virtual int getCellHeight() const { return getHeight(); }
/* 0x38 */ virtual int getFontType() const = 0;
/* 0x3C */ virtual const ResFONT* getResFont() const = 0;
/* 0x40 */ virtual bool isLeadByte(int a1) const = 0;