Separator: simplify

This commit is contained in:
o9000
2016-10-02 13:51:10 +02:00
parent 62e0ee6a3a
commit d49ecee3a7
6 changed files with 618 additions and 601 deletions

View File

@@ -7,13 +7,18 @@
#include "common.h"
#include "area.h"
typedef enum SeparatorStyle {
SEPARATOR_EMPTY = 0,
SEPARATOR_LINE,
SEPARATOR_DOTS
} SeparatorStyle;
typedef struct Separator {
Area area;
int style;
SeparatorStyle style;
Color color;
double empty_thickness;
double thickness;
double len;
int thickness;
int length;
} Separator;
Separator *create_separator();