Home
last modified time | relevance | path

Searched refs:trough_length (Results 1 – 9 of 9) sorted by relevance

/dports/multimedia/celluloid/celluloid-0.23/src/
H A Dcelluloid-seek-bar.c245 const gint trough_length = range_rect.width - 2 * margin; in motion_handler() local
247 x = CLAMP(x, trough_start, trough_start + trough_length); in motion_handler()
277 ((gint)x - trough_start) / (gdouble)trough_length; in motion_handler()
/dports/audio/gqradio/gqradio-1.9.2/src/
H A Dui2_slider.c790 gint trough_length; in slider_parse() local
809 if (!key_list_read_int(list, "trough_length", &trough_length)) trough_length = length; in slider_parse()
817 slider_set_attributes(slider, sizeable, trough_length, border_1, border_2, stretch); in slider_parse()
/dports/audio/gqradio/gqradio-1.9.2/src/default_skin/
H A Dskindata_presets271 trough_length = 94
H A Dskindata_presets_advanced263 trough_length = 94
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/
H A Dgtkrange.c1760 int trough_length; in coord_to_value() local
1769 trough_length = gtk_widget_get_width (priv->trough_widget); in coord_to_value()
1774 trough_length = gtk_widget_get_height (priv->trough_widget); in coord_to_value()
1778 if (trough_length == slider_length) in coord_to_value()
1785 frac = CLAMP (coord / (double) trough_length, 0, 1); in coord_to_value()
1787 frac = CLAMP (coord / (double) (trough_length - slider_length), 0, 1); in coord_to_value()
/dports/audio/gqradio/gqradio-1.9.2/skins/skyblue/
H A Dskindata_presets117 trough_length = 133
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gtk/
H A Dgtkrange.c2243 gint trough_length; in coord_to_value() local
2251 trough_length = range->layout->trough.height; in coord_to_value()
2257 trough_length = range->layout->trough.width; in coord_to_value()
2268 trough_length -= 2 * trough_border; in coord_to_value()
2271 if (trough_length == slider_length) in coord_to_value()
2275 (gdouble) (trough_length - slider_length)); in coord_to_value()
/dports/audio/gqradio/gqradio-1.9.2/
H A DSKIN-SPECS609 trough_length = 20 (uses length)
633 sizeable: When true, trough_length will be dynamically adjusted to match
635 trough_length: If defined, this is the size to use as the length of the
640 border_2: The border sizes of the trough image when trough_length does
/dports/x11-toolkits/gtk30/gtk+-3.24.31/gtk/
H A Dgtkrange.c2563 gint trough_length; in coord_to_value() local
2573 trough_length = trough_alloc.height; in coord_to_value()
2579 trough_length = trough_alloc.width; in coord_to_value()
2584 if (trough_length == slider_length) in coord_to_value()
2588 (gdouble) (trough_length - slider_length)); in coord_to_value()