mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
src/theme/xbm/parse.c: generate cairo_surface
This commit is contained in:
parent
f86394a997
commit
40e862f3ac
3 changed files with 60 additions and 6 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef XBM_H
|
||||
#define XBM_H
|
||||
|
||||
#include <cairo.h>
|
||||
|
||||
enum token_type {
|
||||
TOKEN_NONE = 0,
|
||||
TOKEN_IDENT,
|
||||
|
|
@ -20,7 +22,7 @@ struct token {
|
|||
* xbm_create_bitmap - parse xbm tokens and create pixmap
|
||||
* @tokens: token vector
|
||||
*/
|
||||
void xbm_create_bitmap(struct token *tokens);
|
||||
cairo_surface_t *xbm_create_bitmap(struct token *tokens);
|
||||
|
||||
/**
|
||||
* tokenize - tokenize xbm file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue