summaryrefslogtreecommitdiffstats
path: root/src/filters
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-09-06 15:25:51 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-09-06 15:25:51 +0000
commit990c48b80c39b942dac8bb87f16189f52ffb0d8e (patch)
tree8281fbe19ea8b1c6cf71c75dc08b338a230d29e3 /src/filters
parentlpe interpolate points: small code style fix-up. should be done for all LPEs (diff)
downloadinkscape-990c48b80c39b942dac8bb87f16189f52ffb0d8e.tar.gz
inkscape-990c48b80c39b942dac8bb87f16189f52ffb0d8e.zip
More header cleanup
(bzr r13341.1.198)
Diffstat (limited to 'src/filters')
-rw-r--r--src/filters/distantlight.h12
-rw-r--r--src/filters/pointlight.h16
-rw-r--r--src/filters/spotlight.h36
3 files changed, 32 insertions, 32 deletions
diff --git a/src/filters/distantlight.h b/src/filters/distantlight.h
index 0eebf768f..6490d987c 100644
--- a/src/filters/distantlight.h
+++ b/src/filters/distantlight.h
@@ -27,21 +27,21 @@ public:
virtual ~SPFeDistantLight();
/** azimuth attribute */
- gfloat azimuth;
- guint azimuth_set : 1;
+ float azimuth;
+ unsigned int azimuth_set : 1;
/** elevation attribute */
- gfloat elevation;
- guint elevation_set : 1;
+ float elevation;
+ unsigned int elevation_set : 1;
protected:
virtual void build(SPDocument* doc, Inkscape::XML::Node* repr);
virtual void release();
- virtual void set(unsigned int key, const gchar* value);
+ virtual void set(unsigned int key, char const* value);
virtual void update(SPCtx* ctx, unsigned int flags);
- virtual Inkscape::XML::Node* write(Inkscape::XML::Document* doc, Inkscape::XML::Node* repr, guint flags);
+ virtual Inkscape::XML::Node* write(Inkscape::XML::Document* doc, Inkscape::XML::Node* repr, unsigned int flags);
};
#endif /* !SP_FEDISTANTLIGHT_H_SEEN */
diff --git a/src/filters/pointlight.h b/src/filters/pointlight.h
index 3819d8ff5..1e26d45e7 100644
--- a/src/filters/pointlight.h
+++ b/src/filters/pointlight.h
@@ -26,24 +26,24 @@ public:
virtual ~SPFePointLight();
/** x coordinate of the light source */
- gfloat x;
- guint x_set : 1;
+ float x;
+ unsigned int x_set : 1;
/** y coordinate of the light source */
- gfloat y;
- guint y_set : 1;
+ float y;
+ unsigned int y_set : 1;
/** z coordinate of the light source */
- gfloat z;
- guint z_set : 1;
+ float z;
+ unsigned int z_set : 1;
protected:
virtual void build(SPDocument* doc, Inkscape::XML::Node* repr);
virtual void release();
- virtual void set(unsigned int key, const gchar* value);
+ virtual void set(unsigned int key, char const* value);
virtual void update(SPCtx* ctx, unsigned int flags);
- virtual Inkscape::XML::Node* write(Inkscape::XML::Document* doc, Inkscape::XML::Node* repr, guint flags);
+ virtual Inkscape::XML::Node* write(Inkscape::XML::Document* doc, Inkscape::XML::Node* repr, unsigned int flags);
};
#endif /* !SP_FEPOINTLIGHT_H_SEEN */
diff --git a/src/filters/spotlight.h b/src/filters/spotlight.h
index 8caf12858..7d5f6dd30 100644
--- a/src/filters/spotlight.h
+++ b/src/filters/spotlight.h
@@ -26,40 +26,40 @@ public:
virtual ~SPFeSpotLight();
/** x coordinate of the light source */
- gfloat x;
- guint x_set : 1;
+ float x;
+ unsigned int x_set : 1;
/** y coordinate of the light source */
- gfloat y;
- guint y_set : 1;
+ float y;
+ unsigned int y_set : 1;
/** z coordinate of the light source */
- gfloat z;
- guint z_set : 1;
+ float z;
+ unsigned int z_set : 1;
/** x coordinate of the point the source is pointing at */
- gfloat pointsAtX;
- guint pointsAtX_set : 1;
+ float pointsAtX;
+ unsigned int pointsAtX_set : 1;
/** y coordinate of the point the source is pointing at */
- gfloat pointsAtY;
- guint pointsAtY_set : 1;
+ float pointsAtY;
+ unsigned int pointsAtY_set : 1;
/** z coordinate of the point the source is pointing at */
- gfloat pointsAtZ;
- guint pointsAtZ_set : 1;
+ float pointsAtZ;
+ unsigned int pointsAtZ_set : 1;
/** specular exponent (focus of the light) */
- gfloat specularExponent;
- guint specularExponent_set : 1;
+ float specularExponent;
+ unsigned int specularExponent_set : 1;
/** limiting cone angle */
- gfloat limitingConeAngle;
- guint limitingConeAngle_set : 1;
+ float limitingConeAngle;
+ unsigned int limitingConeAngle_set : 1;
//other fields
protected:
virtual void build(SPDocument* doc, Inkscape::XML::Node* repr);
virtual void release();
- virtual void set(unsigned int key, const gchar* value);
+ virtual void set(unsigned int key, char const* value);
virtual void update(SPCtx* ctx, unsigned int flags);
- virtual Inkscape::XML::Node* write(Inkscape::XML::Document* doc, Inkscape::XML::Node* repr, guint flags);
+ virtual Inkscape::XML::Node* write(Inkscape::XML::Document* doc, Inkscape::XML::Node* repr, unsigned int flags);
};
#endif /* !SP_FESPOTLIGHT_H_SEEN */