mirror of
https://github.com/labwc/labwc.git
synced 2026-02-12 04:27:57 -05:00
common/graphic-helpers: adopt lookup_named_color from xpm parser
This commit is contained in:
parent
30248e1ba3
commit
c4bae87c04
6 changed files with 33 additions and 29 deletions
|
|
@ -15,6 +15,7 @@ void set_cairo_color(cairo_t *cairo, const float *color);
|
|||
/* Draws a border with a specified line width */
|
||||
void draw_cairo_border(cairo_t *cairo, struct wlr_fbox fbox, double line_width);
|
||||
|
||||
struct lab_data_buffer;
|
||||
/* Converts X11 color name to ARGB32 (with alpha = 255) */
|
||||
bool lookup_named_color(const char *name, uint32_t *argb);
|
||||
|
||||
#endif /* LABWC_GRAPHIC_HELPERS_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue