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.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/ui/modelview.h b/src/ui/modelview.h
index c235e99..f63dfa8 100755
--- a/src/ui/modelview.h
+++ b/src/ui/modelview.h
@@ -23,10 +23,6 @@ public:
return modelview_modelname;
}
- inline math::Color const &color() const {
- return modelview_color;
- }
-
inline float zoom() const {
return modelview_zoom;
}
@@ -41,7 +37,7 @@ public:
set_modelname(modelname.c_str());
}
- void set_color(const math::Color &color);
+ void set_colors(const math::Color & color_primary, const math::Color & color_secondary);
/// print modelview description
virtual void print(const size_t indent) const;
@@ -81,7 +77,8 @@ protected:
private:
std::string modelview_modelname;
- math::Color modelview_color;
+ math::Color modelview_color_primary;
+ math::Color modelview_color_secondary;
float modelview_zoom;
float modelview_radius;