diff options
Diffstat (limited to 'src/guichan/include/guichan/widgets/scrollarea.hpp')
-rw-r--r-- | src/guichan/include/guichan/widgets/scrollarea.hpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/guichan/include/guichan/widgets/scrollarea.hpp b/src/guichan/include/guichan/widgets/scrollarea.hpp index 32a3f8f5b..50549e370 100644 --- a/src/guichan/include/guichan/widgets/scrollarea.hpp +++ b/src/guichan/include/guichan/widgets/scrollarea.hpp @@ -63,7 +63,6 @@ namespace gcn public MouseListener { public: - /** * Scrollpolicies for the horizontal and vertical scrollbar. * The policies are: @@ -90,7 +89,7 @@ namespace gcn * * @param content The content of the scroll area. */ - ScrollArea(Widget *const content); + explicit ScrollArea(Widget *const content); /** * Constructor. @@ -101,8 +100,8 @@ namespace gcn * @param vPolicy The policy for the vertical scrollbar. See enum with * policies. */ - ScrollArea(Widget *content, - ScrollPolicy hPolicy, + ScrollArea(Widget *content, + ScrollPolicy hPolicy, ScrollPolicy vPolicy); A_DELETE_COPY(ScrollArea) @@ -325,8 +324,7 @@ namespace gcn * @return True if the scroll area is opaque, false otherwise. */ bool isOpaque() const; - - + // Inherited from BasicContainer virtual void showWidgetPart(Widget* widget, Rectangle area); @@ -528,6 +526,6 @@ namespace gcn */ bool mOpaque; }; -} +} // namespace gcn -#endif // end GCN_SCROLLAREA_HPP +#endif // end GCN_SCROLLAREA_HPP |