sway-patched-tray-menu-github/include/swaynag/types.h

26 lines
559 B
C
Raw Normal View History

#ifndef _SWAYNAG_TYPES_H
#define _SWAYNAG_TYPES_H
2018-07-28 15:34:25 +02:00
struct swaynag_type {
2018-07-28 15:34:25 +02:00
char *name;
uint32_t button_background;
uint32_t background;
uint32_t text;
uint32_t border;
uint32_t border_bottom;
};
void swaynag_types_add_default(list_t *types);
2018-07-28 15:34:25 +02:00
struct swaynag_type *swaynag_type_get(list_t *types, char *name);
2018-07-28 15:34:25 +02:00
struct swaynag_type *swaynag_type_clone(struct swaynag_type *type);
2018-07-28 15:34:25 +02:00
void swaynag_type_free(struct swaynag_type *type);
2018-07-28 15:34:25 +02:00
void swaynag_types_free(list_t *types);
2018-07-28 15:34:25 +02:00
int swaynag_parse_type(int argc, char **argv, struct swaynag_type *type);
2018-07-28 15:34:25 +02:00
#endif