From 798e9a37aff31dad38f48ea051322b978fcf849b Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Thu, 26 Mar 2009 19:18:08 -0600 Subject: Fixed popup comment. This got chopped off some time when it was first created. Signed-off-by: Ira Rice --- src/gui/popup.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3-60-g2f50