Commit 273db3a2 authored by Luis de Bethencourt's avatar Luis de Bethencourt

ui: adjust rounded edges

parent 6f18ea07
......@@ -91,7 +91,7 @@ draw_background (ClutterCanvas * canvas, cairo_t * cr, int surface_width,
width = surface_width - 2.0;
height = surface_height - 2.0;
aspect = 1.0; // aspect ratio
corner_radius = height / 10.0; // and corner curvature radius
corner_radius = height / 15.0; // and corner curvature radius
radius = corner_radius / aspect;
degrees = M_PI / 180.0;
......@@ -149,7 +149,7 @@ draw_progressbar (ClutterCanvas * canvas, cairo_t * cr, int surface_width,
width = surface_width - 2.0;
height = surface_height - 2.0;
aspect = 1.0; // aspect ratio
corner_radius = height / 5.0; // and corner curvature radius
corner_radius = height / 4.0; // and corner curvature radius
radius = corner_radius / aspect;
degrees = M_PI / 180.0;
......
......@@ -55,7 +55,7 @@
#define POS_RATIO 0.1f
#define VOLUME_ICON_RATIO 0.2f
#define VOLUME_WIDTH_RATIO 0.65f
#define VOLUME_HEIGHT_RATIO 0.05f
#define VOLUME_HEIGHT_RATIO 0.08f
#define TITLE_LENGTH 40
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment