summaryrefslogtreecommitdiff
path: root/src/gui/scrollarea.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-04-26 11:22:35 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-04-26 11:22:35 +0000
commite4c171740956998fdac81c071aafefcb9dba817e (patch)
tree14a3cc89e1161a87e32154a4f81be85b502a01ed /src/gui/scrollarea.h
parentc1d360e6f0ae1ff3c15a52fab8a6115841d058bb (diff)
downloadmana-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.h11
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