summaryrefslogtreecommitdiff
path: root/items.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2008-12-26 22:58:15 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2008-12-26 22:58:15 +0100
commitc261763c76fb15c1509ee6b88035b604222edc21 (patch)
tree036bccebd81d7a17f99d1a554eec6f11ed8e0ff7 /items.h
parent82435e6c67c4837b4d5256d8f606b495fffbcc4b (diff)
downloadcataract-c261763c76fb15c1509ee6b88035b604222edc21.tar.xz
Add support for album and index separators
Diffstat (limited to 'items.h')
-rw-r--r--items.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/items.h b/items.h
index b3ebf39..1c8e989 100644
--- a/items.h
+++ b/items.h
@@ -27,6 +27,11 @@ typedef enum {
GALLERY_TYPE_ALBUM = 1 << 1
} TGalleryType;
+typedef enum {
+ INDEX_ITEM_TYPE_PICTURE = 1 << 0,
+ INDEX_ITEM_TYPE_SEPARATOR = 1 << 1
+} TIndexItemType;
+
typedef struct {
TGalleryType type;
char *ID;
@@ -55,6 +60,7 @@ typedef struct {
unsigned long height;
gboolean nofullsize;
char *border_style;
+ TIndexItemType type;
} TIndexItem;