diff options
author | Max Horn | 2009-04-28 12:32:59 +0000 |
---|---|---|
committer | Max Horn | 2009-04-28 12:32:59 +0000 |
commit | e6a7b8ef343f7e4fd2637500afe800794fe03a78 (patch) | |
tree | dbecdd69cdd7c5a391f9027f83c27bb978f01d44 /engines/sci/gfx/operations.h | |
parent | 9108871833313f88b2f10aa5c5998fa3fb23e008 (diff) | |
download | scummvm-rg350-e6a7b8ef343f7e4fd2637500afe800794fe03a78.tar.gz scummvm-rg350-e6a7b8ef343f7e4fd2637500afe800794fe03a78.tar.bz2 scummvm-rg350-e6a7b8ef343f7e4fd2637500afe800794fe03a78.zip |
SCI: Renamed text_fragment_t -> TextFragment and changed TextHandle to store the text fragments and pixmaps in Common::Arrays
svn-id: r40178
Diffstat (limited to 'engines/sci/gfx/operations.h')
-rw-r--r-- | engines/sci/gfx/operations.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/sci/gfx/operations.h b/engines/sci/gfx/operations.h index 47126324be..e3dae6a317 100644 --- a/engines/sci/gfx/operations.h +++ b/engines/sci/gfx/operations.h @@ -38,7 +38,7 @@ namespace Sci { -struct text_fragment_t; +struct TextFragment; #define GFXOP_NO_POINTER -1 @@ -50,11 +50,10 @@ struct text_fragment_t; struct TextHandle { Common::String _text; /**< Copy of the actual text */ - int lines_nr; int line_height; - text_fragment_t *lines; /**< Text offsets */ + Common::Array<TextFragment> lines; /**< Text offsets */ gfx_bitmap_font_t *font; - gfx_pixmap_t **text_pixmaps; + Common::Array<gfx_pixmap_t *> text_pixmaps; int width, height; |