Render close, iconify and maximize buttons

This commit is contained in:
Johan Malm 2020-07-06 21:58:51 +01:00
parent e1b86555f4
commit f7fa28ab42
10 changed files with 140 additions and 53 deletions

View file

@ -22,4 +22,6 @@ struct pixmap {
*/
struct pixmap xbm_create_pixmap(struct token *tokens);
struct pixmap xbm_create_pixmap_builtin(const char *button);
#endif /* PARSE_H */

View file

@ -18,6 +18,7 @@ enum token_type {
#define MAX_TOKEN_SIZE (256)
struct token {
char name[MAX_TOKEN_SIZE];
int value;
size_t pos;
enum token_type type;
};