|
| MacTextWindow (MacWindowManager *wm, const MacFont *font, int fgcolor, int bgcolor, int maxWidth, TextAlign textAlignment, MacMenu *menu, bool cursorHandler=true) |
|
| MacTextWindow (MacWindowManager *wm, const Font *font, int fgcolor, int bgcolor, int maxWidth, TextAlign textAlignment, MacMenu *menu, bool cursorHandler=true) |
|
virtual void | resize (int w, int h) override |
|
void | setDimensions (const Common::Rect &r) override |
|
virtual bool | processEvent (Common::Event &event) override |
|
virtual bool | draw (ManagedSurface *g, bool forceRedraw=false) override |
|
virtual bool | draw (bool forceRedraw=false) override |
|
virtual void | blit (ManagedSurface *g, Common::Rect &dest) override |
|
void | setTextWindowFont (const MacFont *macFont) |
|
const MacFont * | getTextWindowFont () |
|
void | appendText (const Common::U32String &str, const MacFont *macFont=nullptr, bool skipAdd=false) |
|
void | appendText (const Common::String &str, const MacFont *macFont=nullptr, bool skipAdd=false) |
|
void | clearText () |
|
void | setMarkdownText (const Common::U32String &str) |
|
void | setEditable (bool editable) |
|
void | setSelectable (bool selectable) |
|
void | undrawCursor () |
|
const Common::U32String & | getInput () |
|
void | clearInput () |
|
void | appendInput (const Common::U32String &str) |
|
void | appendInput (const Common::String &str) |
|
Common::U32String | getSelection (bool formatted=false, bool newlines=true) |
|
void | clearSelection () |
|
Common::U32String | cutSelection () |
|
const SelectedText * | getSelectedText () |
|
int | getTextHeight () |
|
int | getMouseLine (int x, int y) |
|
void | setTextColorRGB (uint32 rgb) |
|
| MacWindow (int id, bool scrollable, bool resizable, bool editable, MacWindowManager *wm) |
|
void | move (int x, int y) |
|
virtual void | resizeInner (int w, int h) |
|
void | setDimensions (const Common::Rect &r) override |
|
void | setInnerDimensions (const Common::Rect &r) |
|
void | setBackgroundPattern (int pattern) |
|
bool | draw (ManagedSurface *g, bool forceRedraw=false) override |
|
bool | draw (bool forceRedraw=false) override |
|
void | blit (ManagedSurface *g, Common::Rect &dest) override |
|
const Common::Rect & | getInnerDimensions () override |
|
ManagedSurface * | getBorderSurface () override |
|
void | center (bool toCenter=true) |
|
void | setActive (bool active) override |
|
bool | isActive () const |
|
void | setTitle (const Common::String &title) |
|
virtual void | setTitleVisible (bool visible) |
|
bool | isTitleVisible () |
|
const Common::String & | getTitle () const |
|
void | setHighlight (WindowClick highlightedPart) |
|
void | setScroll (float scrollPos, float scrollSize) |
|
bool | processEvent (Common::Event &event) override |
|
bool | hasAllFocus () override |
|
void | loadBorder (Common::SeekableReadStream &file, uint32 flags, int lo=-1, int ro=-1, int to=-1, int bo=-1) |
|
void | loadBorder (Common::SeekableReadStream &file, uint32 flags, BorderOffsets offsets) |
|
void | setBorder (Graphics::ManagedSurface *surface, uint32 flags, BorderOffsets offsets) |
|
void | disableBorder () |
|
void | loadInternalBorder (uint32 flags) |
|
void | enableScrollbar (bool active) |
|
void | setCloseable (bool closeable) |
|
void | setBorderType (int borderType) |
|
int | getBorderType () const |
|
uint32 | getBorderFlags () const |
|
void | addDirtyRect (const Common::Rect &r) |
|
void | markAllDirty () |
|
void | mergeDirtyRects () |
|
bool | isDirty () override |
|
void | setBorderDirty (bool dirty) |
|
void | resizeBorderSurface () |
|
void | setMode (uint32 mode) |
|
void | setBorderOffsets (BorderOffsets &offsets) |
|
void | updateInnerDims () |
|
| BaseMacWindow (int id, bool editable, MacWindowManager *wm) |
|
int | getId () |
|
WindowType | getType () |
|
bool | isEditable () |
|
virtual void | setVisible (bool visible, bool silent=false) |
|
bool | isVisible () |
|
ManagedSurface * | getWindowSurface () |
|
void | setCallback (bool(*callback)(WindowClick, Common::Event &, void *), void *data) |
|
| MacWidget (MacWidget *parent, int x, int y, int w, int h, MacWindowManager *wm, bool focusable, uint16 border=0, uint16 gutter=0, uint16 shadow=0, uint32 fgcolor=0, uint32 bgcolor=0xff) |
|
const Common::Rect & | getDimensions () |
|
void | setDirty (bool dirty) |
|
virtual bool | needsRedraw () |
|
virtual void | setColors (uint32 fg, uint32 bg) |
|
Common::Point | getAbsolutePos () |
|
MacWidget * | findEventHandler (Common::Event &event, int dx, int dy) |
|
void | removeWidget (MacWidget *child, bool del=true) |
|
Graphics::ManagedSurface * | getSurface () |
|