mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-08 10:51:11 +00:00
GRAPHICS: MACGUI: Enforce maxWidth for editable text
This commit is contained in:
parent
b91325b8a4
commit
d389b352f9
@ -54,9 +54,9 @@ struct SelectedText {
|
||||
class MacEditableText : public MacText, public MacWidget {
|
||||
public:
|
||||
MacEditableText(MacWidget *parent, int x, int y, int w, int h, MacWindowManager *wm, const Common::U32String &s, const MacFont *font, int fgcolor, int bgcolor,
|
||||
int maxWidth = -1, TextAlign textAlignment = kTextAlignLeft, int interlinear = 0);
|
||||
int maxWidth, TextAlign textAlignment = kTextAlignLeft, int interlinear = 0);
|
||||
MacEditableText(MacWidget *parent, int x, int y, int w, int h, MacWindowManager *wm, const Common::String &s, const MacFont *font, int fgcolor, int bgcolor,
|
||||
int maxWidth = -1, TextAlign textAlignment = kTextAlignLeft, int interlinear = 0);
|
||||
int maxWidth, TextAlign textAlignment = kTextAlignLeft, int interlinear = 0);
|
||||
// 0 pixels between the lines by default
|
||||
virtual ~MacEditableText();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user