mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
menu: render submenu arrows
This commit is contained in:
parent
6a750d465e
commit
429df42a8f
6 changed files with 70 additions and 34 deletions
|
|
@ -16,6 +16,7 @@ struct scaled_font_buffer {
|
|||
char *text;
|
||||
int max_width;
|
||||
float color[4];
|
||||
char *arrow;
|
||||
struct font font;
|
||||
struct scaled_scene_buffer *scaled_buffer;
|
||||
};
|
||||
|
|
@ -44,6 +45,6 @@ struct scaled_font_buffer *scaled_font_buffer_create(struct wlr_scene_tree *pare
|
|||
* - font and color the same
|
||||
*/
|
||||
void scaled_font_buffer_update(struct scaled_font_buffer *self, const char *text,
|
||||
int max_width, struct font *font, float *color);
|
||||
int max_width, struct font *font, float *color, const char *arrow);
|
||||
|
||||
#endif /* __LAB_COMMON_SCALED_FONT_BUFFER_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue