static void _blur_changed_cb (OlConfigProxy *config, const char *key, OlOsdModule *osd) { ol_osd_window_set_blur_radius (osd->window, ol_config_proxy_get_double (config, key)); }
static void _opacity_changed_cb (OlConfigProxy *config, const char *key, OlScrollModule *module) { double opacity = ol_config_proxy_get_double (config, key); ol_scroll_window_set_bg_opacity (module->scroll, opacity); }
static void _lrc_align_changed_cb (OlConfigProxy *config, const char *key, OlOsdModule *osd) { int line = 0; if (key[strlen (key) - 1] == '1') line = 1; ol_osd_window_set_line_alignment (osd->window, line, ol_config_proxy_get_double (config, key)); }