change hidden to enabled

refs #83
This commit is contained in:
Konstantin Käfer
2014-03-25 13:23:51 +01:00
parent 48e8ca0e43
commit 166305fb14
4 changed files with 23 additions and 23 deletions

View File

@@ -64,7 +64,7 @@ struct FunctionProperty {
};
struct PointClass {
FunctionProperty<bool> hidden;
FunctionProperty<bool> enabled = true;
FunctionProperty<float> size;
Color color = {{ 0, 0, 0, 1 }};
FunctionProperty<float> opacity = 1;
@@ -72,7 +72,7 @@ struct PointClass {
};
struct PointProperties {
bool hidden = false;
bool enabled = true;
float size = 0;
Color color = {{ 0, 0, 0, 1 }};
float opacity = 1.0;
@@ -80,7 +80,7 @@ struct PointProperties {
};
struct LineClass {
FunctionProperty<bool> hidden;
FunctionProperty<bool> enabled = true;
FunctionProperty<float> width;
FunctionProperty<float> offset;
Color color = {{ 0, 0, 0, 1 }};
@@ -88,7 +88,7 @@ struct LineClass {
};
struct LineProperties {
bool hidden = false;
bool enabled = true;
float width = 0;
float offset = 0;
Color color = {{ 0, 0, 0, 1 }};
@@ -96,7 +96,7 @@ struct LineProperties {
};
struct FillClass {
FunctionProperty<bool> hidden;
FunctionProperty<bool> enabled = true;
Winding winding = Winding::NonZero;
FunctionProperty<bool> antialias = true;
Color fill_color = {{ 0, 0, 0, 1 }};
@@ -106,7 +106,7 @@ struct FillClass {
};
struct FillProperties {
bool hidden = false;
bool enabled = true;
Winding winding = Winding::NonZero;
bool antialias = true;
Color fill_color = {{ 0, 0, 0, 1 }};
@@ -116,7 +116,7 @@ struct FillProperties {
};
struct TextClass {
FunctionProperty<bool> hidden;
FunctionProperty<bool> enabled = true;
Color color = {{ 0, 0, 0, 1 }};
Color halo = {{ 1, 1, 1, 0.75 }};
FunctionProperty<float> haloRadius = 0.25f;
@@ -126,7 +126,7 @@ struct TextClass {
};
struct TextProperties {
bool hidden = false;
bool enabled = true;
Color color = {{ 0, 0, 0, 1 }};
Color halo = {{ 1, 1, 1, 0.75 }};
float haloRadius = 0.25f;