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/modelview.h')
-rwxr-xr-xsrc/ui/modelview.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ui/modelview.h b/src/ui/modelview.h
index c9855db..54799f3 100755
--- a/src/ui/modelview.h
+++ b/src/ui/modelview.h
@@ -15,22 +15,22 @@ namespace ui
class ModelView : public Widget
{
public:
- ModelView(Widget *parent, const char *modelname=0);
+ ModelView(Widget *parent, const char *modelname = 0);
~ModelView();
-
+
inline std::string const &modelname() const {
return modelview_modelname;
}
-
+
inline math::Color const &color() const {
return modelview_color;
}
-
+
void set_modelname(const std::string & modelname);
void set_modelname(const char *modelname);
-
+
void set_color(const math::Color &color);
-
+
/// print modelview description
virtual void print(const size_t indent) const;
@@ -41,7 +41,7 @@ public:
* 1.0 is not zoomed out, 10.0 is zoomed out by a factor of 10
*/
void set_zoom(const float zoom);
-
+
protected:
/// draw the widget
virtual void draw();