summaryrefslogtreecommitdiffstats
path: root/src/itdb.h
diff options
context:
space:
mode:
authorjcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2006-06-02 18:08:14 +0000
committerjcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2006-06-02 18:08:14 +0000
commit86faaa2088244b44f54b463e4eccd84154afb219 (patch)
treed3eba7dc22f321067eef764227db700c484b914c /src/itdb.h
parent6736a0a24633dc51a18f8096471e68276dfaff2f (diff)
downloadlibgpod-86faaa2088244b44f54b463e4eccd84154afb219.tar.gz
libgpod-86faaa2088244b44f54b463e4eccd84154afb219.tar.xz
libgpod-86faaa2088244b44f54b463e4eccd84154afb219.zip
* src/db-artwork-writer.c
src/db-image-parser.c src/itdb.h src/ithumb-writer.c: Hopefully do padding right: - read padding fields from mhni header and store them with each thumbnail - calculate padding for PhotoDB only (padding for iTunesDB Artwork does not seem to be necessary) - include the padding into the total width/height It seems to work well on my iPod Nano -- feedback appreciated. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1298 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/itdb.h')
-rw-r--r--src/itdb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/itdb.h b/src/itdb.h
index c7ec9c6..8c30d33 100644
--- a/src/itdb.h
+++ b/src/itdb.h
@@ -1,4 +1,4 @@
-/* Time-stamp: <2006-06-01 23:07:57 jcs>
+/* Time-stamp: <2006-06-03 02:25:03 jcs>
|
| Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
| Part of the gtkpod project.
@@ -110,6 +110,8 @@ struct _Itdb_Thumb {
guint32 size;
gint16 width;
gint16 height;
+ gint16 horizontal_padding;
+ gint16 vertical_padding;
};
typedef enum {