diff options
author | Ira Rice <irarice@gmail.com> | 2009-02-07 21:51:35 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-02-07 21:51:35 -0700 |
commit | 450edb5900a46ada0cc6292f0079a31ea5d04573 (patch) | |
tree | a8b110ef8c1057da3c7d8fb9f1fbcdf88327db88 /src/graphics.h | |
parent | 303609031d8b70f0b20002b28e2de450e0ad7fb7 (diff) | |
download | mana-450edb5900a46ada0cc6292f0079a31ea5d04573.tar.gz mana-450edb5900a46ada0cc6292f0079a31ea5d04573.tar.bz2 mana-450edb5900a46ada0cc6292f0079a31ea5d04573.tar.xz mana-450edb5900a46ada0cc6292f0079a31ea5d04573.zip |
Some more include cleanups.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/graphics.h')
-rw-r--r-- | src/graphics.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/graphics.h b/src/graphics.h index 8009ceda..172032dc 100644 --- a/src/graphics.h +++ b/src/graphics.h @@ -46,14 +46,16 @@ struct SDL_Surface; * Sections 0, 2, 6 and 8 will remain as is. 1, 3, 4, 5 and 7 will be * repeated to fit the size of the widget. */ -struct ImageRect { +struct ImageRect +{ Image *grid[9]; }; /** * A central point of control for graphics. */ -class Graphics : public gcn::SDLGraphics { +class Graphics : public gcn::SDLGraphics +{ public: /** * Constructor. @@ -151,4 +153,6 @@ class Graphics : public gcn::SDLGraphics { bool mFullscreen, mHWAccel; }; +extern Graphics *graphics; + #endif |