aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2009-10-04 15:44:32 +0000
committerWillem Jan Palenstijn2009-10-04 15:44:32 +0000
commit62c951c03101fea8d6358831574e6abe1664cb61 (patch)
treed196f300feea0437ec3f987bafedc4f2a1565d69
parent76854f0b861c7d5cc2e21b260bc0dac79509472a (diff)
downloadscummvm-rg350-62c951c03101fea8d6358831574e6abe1664cb61.tar.gz
scummvm-rg350-62c951c03101fea8d6358831574e6abe1664cb61.tar.bz2
scummvm-rg350-62c951c03101fea8d6358831574e6abe1664cb61.zip
SCI/newgui: turn sciWnd into subclass of sciPort
svn-id: r44613
-rw-r--r--engines/sci/gui/gui_helpers.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/engines/sci/gui/gui_helpers.h b/engines/sci/gui/gui_helpers.h
index 7a0399454d..816a387cb7 100644
--- a/engines/sci/gui/gui_helpers.h
+++ b/engines/sci/gui/gui_helpers.h
@@ -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;