|
| Common::String | splitLines (const Common::String &str, Common::StringArray &lines, int maxWidth, uint maxLines) |
| |
| void | restrictToScreen () |
| |
| void | makeInfoArea (Surface &s) |
| |
| void | makeInfoArea () |
| |
| void | drawDialogRect (const Common::Rect &r, bool raised=true) |
| |
| virtual Common::Rect | getScrollBarBounds () const |
| |
| void | drawScrollBar (int index, int pageSize, int count) |
| |
| void | handleScrollbarEvents (int index, int pageSize, int count) |
| |
| void | handleScrolling (int &scrollIndex, int pageSize, int max) |
| |
| void | close () |
| |
| virtual void | drawBackground () |
| |
◆ splitLines()
Used by descendent classes to split up long text for display across multiple lines
◆ restrictToScreen()
| void Sherlock::Tattoo::WidgetBase::restrictToScreen |
( |
| ) |
|
|
protected |
Ensure that menu is drawn entirely on-screen
◆ makeInfoArea() [1/2]
| void Sherlock::Tattoo::WidgetBase::makeInfoArea |
( |
Surface & |
s | ) |
|
|
protected |
Draw a window frame around the dges of the passed surface
◆ makeInfoArea() [2/2]
| void Sherlock::Tattoo::WidgetBase::makeInfoArea |
( |
| ) |
|
|
protected |
Draw a window frame around the widget's surface
◆ drawDialogRect()
| void Sherlock::Tattoo::WidgetBase::drawDialogRect |
( |
const Common::Rect & |
r, |
|
|
bool |
raised = true |
|
) |
| |
|
protected |
◆ getScrollBarBounds()
| virtual Common::Rect Sherlock::Tattoo::WidgetBase::getScrollBarBounds |
( |
| ) |
const |
|
protectedvirtual |
Return the area of a widget that the scrollbar will be drawn in
◆ drawScrollBar()
| void Sherlock::Tattoo::WidgetBase::drawScrollBar |
( |
int |
index, |
|
|
int |
pageSize, |
|
|
int |
count |
|
) |
| |
|
protected |
Draw the scrollbar for the dialog
◆ handleScrollbarEvents()
| void Sherlock::Tattoo::WidgetBase::handleScrollbarEvents |
( |
int |
index, |
|
|
int |
pageSize, |
|
|
int |
count |
|
) |
| |
|
protected |
Handles any events when the mouse is on the scrollbar
◆ handleScrolling()
| void Sherlock::Tattoo::WidgetBase::handleScrolling |
( |
int & |
scrollIndex, |
|
|
int |
pageSize, |
|
|
int |
max |
|
) |
| |
|
protected |
Handle adjusting a passed scrolling index as necessary
◆ close()
| void Sherlock::Tattoo::WidgetBase::close |
( |
| ) |
|
|
protected |
◆ drawBackground()
| virtual void Sherlock::Tattoo::WidgetBase::drawBackground |
( |
| ) |
|
|
protectedvirtual |
◆ active()
| bool Sherlock::Tattoo::WidgetBase::active |
( |
| ) |
const |
Returns true if the given widget is active in the user interface's widget list
◆ erase()
| virtual void Sherlock::Tattoo::WidgetBase::erase |
( |
| ) |
|
|
virtual |
◆ draw()
| virtual void Sherlock::Tattoo::WidgetBase::draw |
( |
| ) |
|
|
virtual |
◆ checkTabbingKeys()
| void Sherlock::Tattoo::WidgetBase::checkTabbingKeys |
( |
int |
numOptions | ) |
|
Used by some descendents to check for keys to mouse the mouse within the dialog
◆ summonWindow()
| virtual void Sherlock::Tattoo::WidgetBase::summonWindow |
( |
| ) |
|
|
virtual |
◆ banishWindow()
| virtual void Sherlock::Tattoo::WidgetBase::banishWindow |
( |
| ) |
|
|
virtual |
◆ handleEvents()
| virtual void Sherlock::Tattoo::WidgetBase::handleEvents |
( |
| ) |
|
|
inlinevirtual |
Handle event processing
Reimplemented in Sherlock::Tattoo::WidgetInventory, Sherlock::Tattoo::WidgetTalk, Sherlock::Tattoo::WidgetInventoryVerbs, Sherlock::Tattoo::WidgetFiles, Sherlock::Tattoo::WidgetSceneTooltip, Sherlock::Tattoo::WidgetFoolscap, Sherlock::Tattoo::WidgetMessage, Sherlock::Tattoo::WidgetOptions, Sherlock::Tattoo::WidgetTooltip, Sherlock::Tattoo::WidgetVerbs, Sherlock::Tattoo::WidgetPassword, Sherlock::Tattoo::WidgetInventoryTooltip, Sherlock::Tattoo::WidgetLab, and Sherlock::Tattoo::WidgetQuit.
The documentation for this class was generated from the following file: