rofi  1.5.1
rofi-types.h
Go to the documentation of this file.
1 #ifndef INCLUDE_ROFI_TYPES_H
2 #define INCLUDE_ROFI_TYPES_H
3 
4 #include <glib.h>
5 G_BEGIN_DECLS
6 
10 typedef enum
11 {
38 } PropertyType;
39 
44 extern const char * const PropertyTypeName[P_NUM_TYPES];
45 
47 typedef enum
48 {
64 
66 typedef enum
67 {
73 
77 typedef enum
78 {
88 
92 typedef struct
93 {
95  double distance;
100 } RofiDistance;
101 
105 typedef enum
106 {
110 
114 typedef struct
115 {
117  double red;
119  double green;
121  double blue;
123  double alpha;
124 } ThemeColor;
125 
129 typedef struct
130 {
135 } RofiPadding;
136 
140 typedef struct
141 {
147 
157 typedef enum
158 {
162  WL_NORTH = 1,
164  WL_EAST = 2,
166  WL_SOUTH = 4,
168  WL_WEST = 8,
178 
179 typedef union
180 {
182  int i;
184  double f;
186  char *s;
188  gboolean b;
194  struct
195  {
197  char *name;
199  struct Property *ref;
200  } link;
204  GList *list;
205 } PropertyValue;
206 
210 typedef struct Property
211 {
213  char *name;
218 } Property;
219 
223 typedef struct rofi_range_pair
224 {
225  unsigned int start;
226  unsigned int stop;
228 
232 typedef struct rofi_int_matcher_t
233 {
234  GRegex *regex;
235  gboolean invert;
237 
238 G_END_DECLS
239 #endif // INCLUDE_ROFI_TYPES_H
double distance
Definition: rofi-types.h:95
RofiLineStyle
Definition: rofi-types.h:66
RofiDistance bottom
Definition: rofi-types.h:133
double blue
Definition: rofi-types.h:121
RofiPadding padding
Definition: rofi-types.h:192
ThemeColor color
Definition: rofi-types.h:190
double green
Definition: rofi-types.h:119
RofiHighlightStyle style
Definition: rofi-types.h:143
double red
Definition: rofi-types.h:117
struct rofi_range_pair rofi_range_pair
RofiHighlightStyle
Definition: rofi-types.h:47
PropertyValue value
Definition: rofi-types.h:217
struct Property * ref
Definition: rofi-types.h:199
PropertyType type
Definition: rofi-types.h:215
struct Property Property
gboolean b
Definition: rofi-types.h:188
RofiDistance right
Definition: rofi-types.h:132
char * name
Definition: rofi-types.h:213
const char *const PropertyTypeName[P_NUM_TYPES]
Definition: rofi-types.c:6
RofiLineStyle style
Definition: rofi-types.h:99
RofiOrientation
Definition: rofi-types.h:105
unsigned int stop
Definition: rofi-types.h:226
double alpha
Definition: rofi-types.h:123
WindowLocation
Definition: rofi-types.h:157
struct rofi_int_matcher_t rofi_int_matcher
GList * list
Definition: rofi-types.h:204
unsigned int start
Definition: rofi-types.h:225
RofiHighlightColorStyle highlight
Definition: rofi-types.h:202
PropertyType
Definition: rofi-types.h:10
RofiPixelUnit
Definition: rofi-types.h:77
RofiPixelUnit type
Definition: rofi-types.h:97
RofiDistance left
Definition: rofi-types.h:134
RofiDistance top
Definition: rofi-types.h:131