From e4c171740956998fdac81c071aafefcb9dba817e Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Tue, 26 Apr 2005 11:22:35 +0000 Subject: Corrections to scrolling chat modifications by Usiu. --- src/gui/scrollarea.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/gui/scrollarea.h') 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 -- cgit v1.2.3-70-g09d2