Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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;