diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-04-26 11:22:35 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-04-26 11:22:35 +0000 |
commit | e4c171740956998fdac81c071aafefcb9dba817e (patch) | |
tree | 14a3cc89e1161a87e32154a4f81be85b502a01ed /src/gui/scrollarea.h | |
parent | c1d360e6f0ae1ff3c15a52fab8a6115841d058bb (diff) | |
download | mana-e4c171740956998fdac81c071aafefcb9dba817e.tar.gz mana-e4c171740956998fdac81c071aafefcb9dba817e.tar.bz2 mana-e4c171740956998fdac81c071aafefcb9dba817e.tar.xz mana-e4c171740956998fdac81c071aafefcb9dba817e.zip |
Corrections to scrolling chat modifications by Usiu.
Diffstat (limited to 'src/gui/scrollarea.h')
-rw-r--r-- | src/gui/scrollarea.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gui/scrollarea.h b/src/gui/scrollarea.h index 26c87e0e..ce745ba8 100644 --- a/src/gui/scrollarea.h +++ b/src/gui/scrollarea.h @@ -55,6 +55,16 @@ class ScrollArea : public gcn::ScrollArea { */ void drawBorder(gcn::Graphics *graphics); + /** + * Sets whether the widget should draw its background or not. + */ + void setOpaque(bool opaque); + + /** + * Returns whether the widget draws its background or not. + */ + bool isOpaque(); + protected: /** * Initializes the scroll area. @@ -77,6 +87,7 @@ class ScrollArea : public gcn::ScrollArea { Image *hscroll_left_pressed, *hscroll_right_pressed, *vscroll_down_pressed, *vscroll_up_pressed; float guiAlpha; + bool opaque; }; #endif |