summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-09 23:58:34 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-09 23:58:34 +0200
commit9b680f95087290315c24a04535f1626acd8ec9a7 (patch)
treefbfd4e40e8eeaf0c077266a95e701e01688279e2 /src/gui/widgets
parent4893acb9cdbd83349f88668ca932f7fddd3e8288 (diff)
downloadmana-9b680f95087290315c24a04535f1626acd8ec9a7.tar.gz
mana-9b680f95087290315c24a04535f1626acd8ec9a7.tar.bz2
mana-9b680f95087290315c24a04535f1626acd8ec9a7.tar.xz
mana-9b680f95087290315c24a04535f1626acd8ec9a7.zip
Actually use ItemType instead of short
Plus some random cleanups.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/scrollarea.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/widgets/scrollarea.h b/src/gui/widgets/scrollarea.h
index e9aa5ed2..700de32b 100644
--- a/src/gui/widgets/scrollarea.h
+++ b/src/gui/widgets/scrollarea.h
@@ -40,17 +40,20 @@ class ScrollArea : public gcn::ScrollArea
{
public:
/**
- * Constructor.
+ * Constructor that takes no content. Needed for use with the DropDown
+ * class.
*/
ScrollArea();
/**
* Constructor.
+ *
+ * @param content the initial content to show in the scroll area
*/
ScrollArea(gcn::Widget *content);
/**
- * Destructor.
+ * Destructor. Also deletes the content.
*/
~ScrollArea();