diff options
-rw-r--r-- | src/gui/popup.h | 8 |
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 |