mirror of
https://github.com/labwc/labwc.git
synced 2026-04-17 06:46:28 -04:00
tree-wide: use markup only when an accelerator is defined with _
This commit is contained in:
parent
58fa089749
commit
c6681876b5
8 changed files with 23 additions and 23 deletions
|
|
@ -27,6 +27,7 @@ struct menuitem {
|
|||
struct menu *parent;
|
||||
struct menu *submenu;
|
||||
bool selectable;
|
||||
bool use_markup;
|
||||
enum menuitem_type type;
|
||||
int native_width;
|
||||
struct wlr_scene_tree *tree;
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ struct scaled_font_buffer {
|
|||
|
||||
/* Private */
|
||||
char *text;
|
||||
bool use_markup;
|
||||
int max_width;
|
||||
float color[4];
|
||||
float bg_color[4];
|
||||
|
|
@ -71,6 +72,6 @@ scaled_font_buffer_create_for_titlebar(struct wlr_scene_tree *parent,
|
|||
*/
|
||||
void scaled_font_buffer_update(struct scaled_font_buffer *self, const char *text,
|
||||
int max_width, struct font *font, const float *color,
|
||||
const float *bg_color);
|
||||
const float *bg_color, bool use_markup);
|
||||
|
||||
#endif /* LABWC_SCALED_FONT_BUFFER_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue