summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-03-26 19:18:08 -0600
committerIra Rice <irarice@gmail.com>2009-03-26 19:18:08 -0600
commit798e9a37aff31dad38f48ea051322b978fcf849b (patch)
tree91329d903b61e89f862cecb4685a833729fde78c /src
parent1a9d402bec2fd8166ce50e30a71ba0cf2f27281a (diff)
downloadmana-client-798e9a37aff31dad38f48ea051322b978fcf849b.tar.gz
mana-client-798e9a37aff31dad38f48ea051322b978fcf849b.tar.bz2
mana-client-798e9a37aff31dad38f48ea051322b978fcf849b.tar.xz
mana-client-798e9a37aff31dad38f48ea051322b978fcf849b.zip
Fixed popup comment. This got chopped off some time when it was first
created. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/gui/popup.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/popup.h b/src/gui/popup.h
index 37c99ded..639f2cc9 100644
--- a/src/gui/popup.h
+++ b/src/gui/popup.h
@@ -35,7 +35,11 @@ class WindowContainer;
/**
* A rather reduced down version of the Window class that is particularly suited
- * for
+ * for popup type functionality that doesn't need to be resized or moved around
+ * by the mouse once created, but only needs to display some simple content,
+ * like a static message. Popups, in general, shouldn't also need to update
+ * their content once created, although this is not an explicit requirement to
+ * use the popup class.
*
* \ingroup GUI
*/
@@ -140,7 +144,7 @@ class Popup : public gcn::Container
* @return The padding of the popup.
* @see setPadding
*/
- unsigned int getPadding() const { return mPadding; }
+ int getPadding() const { return mPadding; }
/**
* Sets the padding of the popup. The padding is the distance between the