summaryrefslogtreecommitdiff
path: root/scene/gui/gradient_edit.h
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-08-10 07:41:46 +0200
committerGitHub <noreply@github.com>2021-08-10 07:41:46 +0200
commit536950f9f35f48633c6c2c57ae2473bb906221d2 (patch)
tree659cb6a83ab8f4d76ae3b11486987c51825a849e /scene/gui/gradient_edit.h
parentf3ddc14d3829ed09d6eab81811bcfb1314626ddf (diff)
parent430ad75963a0e6837ef460e78fb99565714b4418 (diff)
Merge pull request #21922 from aaronfranke/double
Some work on double-precision support
Diffstat (limited to 'scene/gui/gradient_edit.h')
-rw-r--r--scene/gui/gradient_edit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/gradient_edit.h b/scene/gui/gradient_edit.h
index 3d83a02429..b0ee2c4abb 100644
--- a/scene/gui/gradient_edit.h
+++ b/scene/gui/gradient_edit.h
@@ -57,8 +57,8 @@ protected:
static void _bind_methods();
public:
- void set_ramp(const Vector<float> &p_offsets, const Vector<Color> &p_colors);
- Vector<float> get_offsets() const;
+ void set_ramp(const Vector<real_t> &p_offsets, const Vector<Color> &p_colors);
+ Vector<real_t> get_offsets() const;
Vector<Color> get_colors() const;
void set_points(Vector<Gradient::Point> &p_points);
Vector<Gradient::Point> &get_points();