SCI/newgui: turn sciWnd into subclass of sciPort

svn-id: r44613
This commit is contained in:
Willem Jan Palenstijn 2009-10-04 15:44:32 +00:00
parent 76854f0b86
commit 62c951c031

View File

@ -54,17 +54,7 @@ struct sciPort {
int16 penMode;
};
struct sciWnd {
// begins like sciPort (needs to be binary identical!!)
sciNode node; // node struct for list operations
int16 top, left;
Common::Rect rect;
int16 curTop, curLeft;
int16 fontHeight;
sciResourceId fontId;
int16 textFace, penClr, backClr;
int16 penMode;
// window specific members
struct sciWnd : public sciPort {
Common::Rect dims; // client area of window
Common::Rect restoreRect; // total area of window including borders
uint16 wndStyle;