#include <ports.h>
Public Member Functions | |
GfxPorts (SegManager *segMan, GfxScreen *screen) | |
void | init (bool usesOldGfxFunctions, GfxPaint16 *paint16, GfxText16 *text16) |
void | reset () |
void | kernelSetActive (uint16 portId) |
Common::Rect | kernelGetPicWindow (int16 &picTop, int16 &picLeft) |
void | kernelSetPicWindow (Common::Rect rect, int16 picTop, int16 picLeft, bool initPriorityBandsFlag) |
reg_t | kernelGetActive () |
reg_t | kernelNewWindow (Common::Rect dims, Common::Rect restoreRect, uint16 style, int16 priority, int16 colorPen, int16 colorBack, const char *title) |
void | kernelDisposeWindow (uint16 windowId, bool reanimate) |
int16 | isFrontWindow (Window *wnd) |
void | beginUpdate (Window *wnd) |
void | endUpdate (Window *wnd) |
Window * | addWindow (const Common::Rect &dims, const Common::Rect *restoreRect, const char *title, uint16 style, int16 priority, bool draw) |
void | drawWindow (Window *wnd) |
void | removeWindow (Window *pWnd, bool reanimate) |
void | freeWindow (Window *pWnd) |
void | updateWindow (Window *wnd) |
Port * | getPortById (uint16 id) |
Port * | setPort (Port *newPort) |
Port * | getPort () |
void | setOrigin (int16 left, int16 top) |
void | moveTo (int16 left, int16 top) |
void | move (int16 left, int16 top) |
void | openPort (Port *port) |
void | penColor (int16 color) |
void | backColor (int16 color) |
void | penMode (int16 mode) |
void | textGreyedOutput (bool state) |
int16 | getPointSize () |
void | offsetRect (Common::Rect &r) |
void | offsetLine (Common::Point &start, Common::Point &end) |
void | clipLine (Common::Point &start, Common::Point &end) |
void | priorityBandsInit (int16 bandCount, int16 top, int16 bottom) |
void | priorityBandsInit (const SciSpan< const byte > &data) |
void | priorityBandsInitSci11 (SciSpan< const byte > data) |
void | kernelInitPriorityBands () |
void | kernelGraphAdjustPriority (int top, int bottom) |
byte | kernelCoordinateToPriority (int16 y) |
int16 | kernelPriorityToCoordinate (byte priority) |
void | processEngineHunkList (WorklistManager &wm) |
void | printWindowList (Console *con) |
void | saveLoadWithSerializer (Common::Serializer &ser) override |
Public Attributes | |
Port * | _wmgrPort |
Window * | _picWind |
Port * | _menuPort |
Common::Rect | _menuBarRect |
Common::Rect | _menuRect |
Common::Rect | _menuLine |
Port * | _curPort |
Ports class, includes all port management for SCI0->SCI1.1 games. Ports are some sort of windows in SCI this class also handles adjusting coordinates to a specific port