summaryrefslogtreecommitdiff
path: root/pencil_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'pencil_internal.h')
-rw-r--r--pencil_internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pencil_internal.h b/pencil_internal.h
index 0081ccc..21579a6 100644
--- a/pencil_internal.h
+++ b/pencil_internal.h
@@ -24,6 +24,7 @@ typedef enum {
pencil_GROUP,
pencil_TEXT,
pencil_PATH,
+ pencil_SPRITE,
} pencil_item_type;
struct pencil_item {
@@ -35,6 +36,7 @@ struct pencil_item {
char *group_name;
int x, y;
+
const char *font_family;
rufl_style font_style;
unsigned int font_size;
@@ -51,6 +53,9 @@ struct pencil_item {
bool even_odd;
pencil_pattern pattern;
+ int width, height;
+ const char *sprite;
+
struct pencil_item *parent;
struct pencil_item *next;
struct pencil_item *children;