summaryrefslogtreecommitdiffstats
path: root/Smoke/glyphs.c
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2007-12-20 11:52:11 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2007-12-20 11:52:11 (GMT)
commit6f19aad735759adc16fe149557d275880250cac1 (patch)
treea3b445665d02cc52770e9c598b917a6ab3878586 /Smoke/glyphs.c
parentb3a5933d58d67788ece2a3a12f6c073fd9c33261 (diff)
download2iv35-6f19aad735759adc16fe149557d275880250cac1.zip
2iv35-6f19aad735759adc16fe149557d275880250cac1.tar.gz
2iv35-6f19aad735759adc16fe149557d275880250cac1.tar.bz2
replaced int type with float
Diffstat (limited to 'Smoke/glyphs.c')
-rw-r--r--Smoke/glyphs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Smoke/glyphs.c b/Smoke/glyphs.c
index 2480a8a..792c776 100644
--- a/Smoke/glyphs.c
+++ b/Smoke/glyphs.c
@@ -18,7 +18,7 @@ static int glyphs_num_colors = PALETTE_MAXCOLORS;
static int glyphs_colormap = PALETTE_BLACKWHITE;
-static int glyphs_alpha = 1.0f;
+static float glyphs_alpha = 1.0f;
static fftw_real *glyphs_frame;
@@ -53,12 +53,12 @@ int glyphs_get_colormap(void)
return glyphs_colormap;
}
-void glyphs_set_alpha(int alpha)
+void glyphs_set_alpha(float alpha)
{
glyphs_alpha = alpha;
}
-int glyphs_get_alpha(void)
+float glyphs_get_alpha(void)
{
return glyphs_alpha;
}