mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
Divide with floating point numbers so that the result will be floating
2001-08-17 Anders Carlsson <andersca@gnu.org> * gtk/gtkstyle.c (create_expander_affine): Divide with floating point numbers so that the result will be floating point.
This commit is contained in:
parent
cf79ce5137
commit
857f7b9d64
@ -1,3 +1,8 @@
|
|||||||
|
2001-08-17 Anders Carlsson <andersca@gnu.org>
|
||||||
|
|
||||||
|
* gtk/gtkstyle.c (create_expander_affine): Divide with floating
|
||||||
|
point numbers so that the result will be floating point.
|
||||||
|
|
||||||
2001-08-16 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
2001-08-16 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
||||||
|
|
||||||
* tests/testgtk.c (create_handle_box):
|
* tests/testgtk.c (create_handle_box):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-08-17 Anders Carlsson <andersca@gnu.org>
|
||||||
|
|
||||||
|
* gtk/gtkstyle.c (create_expander_affine): Divide with floating
|
||||||
|
point numbers so that the result will be floating point.
|
||||||
|
|
||||||
2001-08-16 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
2001-08-16 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
||||||
|
|
||||||
* tests/testgtk.c (create_handle_box):
|
* tests/testgtk.c (create_handle_box):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-08-17 Anders Carlsson <andersca@gnu.org>
|
||||||
|
|
||||||
|
* gtk/gtkstyle.c (create_expander_affine): Divide with floating
|
||||||
|
point numbers so that the result will be floating point.
|
||||||
|
|
||||||
2001-08-16 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
2001-08-16 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
||||||
|
|
||||||
* tests/testgtk.c (create_handle_box):
|
* tests/testgtk.c (create_handle_box):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-08-17 Anders Carlsson <andersca@gnu.org>
|
||||||
|
|
||||||
|
* gtk/gtkstyle.c (create_expander_affine): Divide with floating
|
||||||
|
point numbers so that the result will be floating point.
|
||||||
|
|
||||||
2001-08-16 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
2001-08-16 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
||||||
|
|
||||||
* tests/testgtk.c (create_handle_box):
|
* tests/testgtk.c (create_handle_box):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-08-17 Anders Carlsson <andersca@gnu.org>
|
||||||
|
|
||||||
|
* gtk/gtkstyle.c (create_expander_affine): Divide with floating
|
||||||
|
point numbers so that the result will be floating point.
|
||||||
|
|
||||||
2001-08-16 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
2001-08-16 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
||||||
|
|
||||||
* tests/testgtk.c (create_handle_box):
|
* tests/testgtk.c (create_handle_box):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-08-17 Anders Carlsson <andersca@gnu.org>
|
||||||
|
|
||||||
|
* gtk/gtkstyle.c (create_expander_affine): Divide with floating
|
||||||
|
point numbers so that the result will be floating point.
|
||||||
|
|
||||||
2001-08-16 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
2001-08-16 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
||||||
|
|
||||||
* tests/testgtk.c (create_handle_box):
|
* tests/testgtk.c (create_handle_box):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2001-08-17 Anders Carlsson <andersca@gnu.org>
|
||||||
|
|
||||||
|
* gtk/gtkstyle.c (create_expander_affine): Divide with floating
|
||||||
|
point numbers so that the result will be floating point.
|
||||||
|
|
||||||
2001-08-16 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
2001-08-16 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
||||||
|
|
||||||
* tests/testgtk.c (create_handle_box):
|
* tests/testgtk.c (create_handle_box):
|
||||||
|
@ -4003,8 +4003,8 @@ create_expander_affine (gdouble affine[6],
|
|||||||
gdouble width;
|
gdouble width;
|
||||||
gdouble height;
|
gdouble height;
|
||||||
|
|
||||||
width = expander_size / 4;
|
width = expander_size / 4.0;
|
||||||
height = expander_size / 2;
|
height = expander_size / 2.0;
|
||||||
|
|
||||||
s = sin (degrees * G_PI / 180.0);
|
s = sin (degrees * G_PI / 180.0);
|
||||||
c = cos (degrees * G_PI / 180.0);
|
c = cos (degrees * G_PI / 180.0);
|
||||||
|
Loading…
Reference in New Issue
Block a user