From c261763c76fb15c1509ee6b88035b604222edc21 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Fri, 26 Dec 2008 22:58:15 +0100 Subject: Add support for album and index separators --- items.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'items.h') 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; -- cgit v1.2.3