mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-13 12:09:19 -04:00
d_menu_option OK (#1020)
This commit is contained in:
@@ -37,7 +37,7 @@ public:
|
||||
|
||||
void initiate(const ResFONT*, const char*, J2DTextBoxHBinding, J2DTextBoxVBinding);
|
||||
void setFont(JUTFont*);
|
||||
JUTFont* getFont() { return mpFont; }
|
||||
JUTFont* getFont() const { return mpFont; }
|
||||
void setFontSize(f32 sizeX, f32 sizeY) {
|
||||
mFontSizeX = sizeX > 0.0f ? sizeX : 0.0f;
|
||||
mFontSizeY = sizeY > 0.0f ? sizeY : 0.0f;
|
||||
@@ -49,6 +49,10 @@ public:
|
||||
size.mSizeX = mFontSizeX;
|
||||
size.mSizeY = mFontSizeY;
|
||||
}
|
||||
void shiftSet(f32 x, f32 y) {
|
||||
field_0xd8 = x;
|
||||
field_0xdc = y;
|
||||
}
|
||||
void setCharColor(JUtility::TColor c) { mCharColor.set(c); }
|
||||
void setGradColor(JUtility::TColor c) { mGradColor.set(c); }
|
||||
void setBlack(JUtility::TColor c) { mBlack = c; }
|
||||
@@ -62,6 +66,9 @@ public:
|
||||
char* getStringPtr() const;
|
||||
s32 setString(const char*, ...);
|
||||
|
||||
// TODO
|
||||
void setFontColor(JUtility::TColor, JUtility::TColor) {}
|
||||
|
||||
virtual ~J2DTextBox();
|
||||
virtual bool setConnectParent(bool);
|
||||
virtual void drawSelf(f32, f32);
|
||||
|
||||
Reference in New Issue
Block a user