mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
Render window close button
This commit is contained in:
parent
40e862f3ac
commit
baca410560
17 changed files with 177 additions and 50 deletions
25
include/theme/xbm/parse.h
Normal file
25
include/theme/xbm/parse.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* Parse xbm token to create pixmap
|
||||
*
|
||||
* Copyright Johan Malm 2020
|
||||
*/
|
||||
|
||||
#ifndef PARSE_H
|
||||
#define PARSE_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "theme/xbm/tokenize.h"
|
||||
|
||||
struct pixmap {
|
||||
uint32_t *data;
|
||||
int width;
|
||||
int height;
|
||||
};
|
||||
|
||||
/**
|
||||
* xbm_create_pixmap - parse xbm tokens and create pixmap
|
||||
* @tokens: token vector
|
||||
*/
|
||||
struct pixmap xbm_create_pixmap(struct token *tokens);
|
||||
|
||||
#endif /* PARSE_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue