diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-16 22:35:06 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-16 22:35:06 +0000 |
commit | 12356c8b5b7002cdffaa6a737f54806f52241bfb (patch) | |
tree | 8c2f46d37296420839b5cb3b9a231b5af94b31e5 /src/gui/scrollarea.h | |
parent | c6ee43355e49e4099fdb2e1b26bf29eddcee130a (diff) | |
download | mana-12356c8b5b7002cdffaa6a737f54806f52241bfb.tar.gz mana-12356c8b5b7002cdffaa6a737f54806f52241bfb.tar.bz2 mana-12356c8b5b7002cdffaa6a737f54806f52241bfb.tar.xz mana-12356c8b5b7002cdffaa6a737f54806f52241bfb.zip |
Removed datafile and configfile and any leftover old GUI drawing code.
Diffstat (limited to 'src/gui/scrollarea.h')
-rw-r--r-- | src/gui/scrollarea.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gui/scrollarea.h b/src/gui/scrollarea.h index c5b8c94d..c77cf4b1 100644 --- a/src/gui/scrollarea.h +++ b/src/gui/scrollarea.h @@ -24,8 +24,8 @@ #ifndef __TMW_SCROLLAREA_H__ #define __TMW_SCROLLAREA_H__ -#include <allegro.h> #include <guichan.hpp> +#include "../graphic/graphic.h" /** * A scroll area. @@ -55,6 +55,11 @@ class ScrollArea : public gcn::ScrollArea { void drawBorder(gcn::Graphics *graphics); protected: + /** + * Initializes the scroll area. + */ + void init(); + void drawUpButton(gcn::Graphics *graphics); void drawDownButton(gcn::Graphics *graphics); void drawLeftButton(gcn::Graphics *graphics); @@ -63,6 +68,9 @@ class ScrollArea : public gcn::ScrollArea { void drawHBar(gcn::Graphics *graphics); void drawVMarker(gcn::Graphics *graphics); void drawHMarker(gcn::Graphics *graphics); + + ImageRect background; + ImageRect vMarker; }; #endif |