Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-08-18 09:24:15 +0000
committerStijn Buys <ingar@osirion.org>2009-08-18 09:24:15 +0000
commitf030154fe727e25a2afe1f78b3998c2d2dba95e4 (patch)
treecd92baf9e4fa8a136523b9eb570e9811846c9250 /src/ui/scrollpane.h
parent5636fad174f0bcff857c357c394c4cc8d424b302 (diff)
astyle cleanup, corrects not loading of material textures
Diffstat (limited to 'src/ui/scrollpane.h')
-rw-r--r--src/ui/scrollpane.h14
1 files changed, 9 insertions, 5 deletions
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;