diff options
author | Stijn Buys <ingar@osirion.org> | 2009-08-18 09:24:15 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-08-18 09:24:15 +0000 |
commit | f030154fe727e25a2afe1f78b3998c2d2dba95e4 (patch) | |
tree | cd92baf9e4fa8a136523b9eb570e9811846c9250 /src/ui/modelview.h | |
parent | 5636fad174f0bcff857c357c394c4cc8d424b302 (diff) |
astyle cleanup, corrects not loading of material textures
Diffstat (limited to 'src/ui/modelview.h')
-rwxr-xr-x | src/ui/modelview.h | 14 |
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(); |