From f030154fe727e25a2afe1f78b3998c2d2dba95e4 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 18 Aug 2009 09:24:15 +0000 Subject: astyle cleanup, corrects not loading of material textures --- src/ui/scrollpane.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src/ui/scrollpane.h') diff --git a/src/ui/scrollpane.h b/src/ui/scrollpane.h index f0ffac1..82c74c9 100644 --- a/src/ui/scrollpane.h +++ b/src/ui/scrollpane.h @@ -23,12 +23,16 @@ public: /* -- inspectors ------------------------------------------- */ /// current scroll position - inline int scroll() const { return scrollpane_scroll; } + inline int scroll() const { + return scrollpane_scroll; + } /// text alignment - inline unsigned int alignment() const { return scrollpane_alignment; } - - /// set text alignment + inline unsigned int alignment() const { + return scrollpane_alignment; + } + + /// set text alignment void set_alignment(const unsigned int alignment); /* -- mutators --------------------------------------------- */ @@ -45,7 +49,7 @@ public: protected: /// draw the scroll pane virtual void draw(); - + private: ui::Text &scrollpane_text; int scrollpane_scroll; -- cgit v1.2.3