mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
common/font: Add scale argument
This commit is contained in:
parent
2aaf26e87b
commit
f3a685155d
4 changed files with 10 additions and 10 deletions
|
|
@ -99,9 +99,9 @@ item_create(struct menu *menu, const char *text)
|
|||
|
||||
/* Font buffer */
|
||||
font_buffer_create(&menuitem->normal.buffer, item_max_width,
|
||||
text, &font, theme->menu_items_text_color);
|
||||
text, &font, theme->menu_items_text_color, 1);
|
||||
font_buffer_create(&menuitem->selected.buffer, item_max_width,
|
||||
text, &font, theme->menu_items_active_text_color);
|
||||
text, &font, theme->menu_items_active_text_color, 1);
|
||||
if (!menuitem->normal.buffer || !menuitem->selected.buffer) {
|
||||
wlr_log(WLR_ERROR, "Failed to create menu item '%s'", text);
|
||||
if (menuitem->normal.buffer) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue