Lines Matching full:panel
4 Subject: [PATCH 68/92] desktop-shell: Support setting panel scale in
9 panel-scale=2
20 @@ -110,6 +110,7 @@ struct panel {
32 + double scale = launcher->panel->scale;
35 cr = widget_cairo_create(launcher->panel->widget);
71 + double scale = clock->panel->scale;
79 cr = widget_cairo_create(clock->panel->widget);
93 …int horizontal = panel->panel_position == WESTON_DESKTOP_SHELL_PANEL_POSITION_TOP || panel->panel_…
96 + double scale = panel->scale;
101 wl_list_for_each(launcher, &panel->launcher_list, link) {
106 if (panel->clock_format == CLOCK_FORMAT_SECONDS)
119 if (panel->clock)
120 widget_set_allocation(panel->clock->widget,
126 + height = 32 * panel->scale;
133 + width = 32 * panel->scale;
139 + width = 150 * panel->scale;
143 + width = 170 * panel->scale;
149 weston_config_section_get_color(s, "panel-color",
150 &panel->color, 0xaa000000);
151 + weston_config_section_get_double(s, "panel-scale",
152 + &panel->scale, 1.0f);
153 + if (!panel->scale)
154 + panel->scale = 1.0f;
156 panel_add_launchers(panel, desktop);