diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-10-30 14:23:38 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-10-30 14:23:38 +0000 |
commit | 835d033e7b0c37883c05ab0c66086d089ababd26 (patch) | |
tree | 8a305d608aec7b06768ef46b9116c111ae38ae1d /render | |
parent | 22c31c63492ed051faf7b313158b8466d4812ce1 (diff) | |
download | netsurf-835d033e7b0c37883c05ab0c66086d089ababd26.tar.gz netsurf-835d033e7b0c37883c05ab0c66086d089ababd26.tar.bz2 |
Amiga icon loader. Treeviews will now use the user's icons for content types.
svn path=/trunk/netsurf/; revision=10925
Diffstat (limited to 'render')
-rw-r--r-- | render/box.c | 3 | ||||
-rw-r--r-- | render/box_construct.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/render/box.c b/render/box.c index 635bcbb3b..e4292d20b 100644 --- a/render/box.c +++ b/render/box.c @@ -1163,6 +1163,9 @@ bool box_duplicate_main_tree(struct box *box, struct content *c, int *count) #ifdef WITH_WEBP content_get_type(box->object) == CONTENT_WEBP || #endif +#ifdef WITH_AMIGA_ICON + content_get_type(box->object) == CONTENT_AMIGA_ICON || +#endif #if defined(WITH_SPRITE) || defined(WITH_NSSPRITE) content_get_type(box->object) == CONTENT_SPRITE || #endif diff --git a/render/box_construct.c b/render/box_construct.c index a241dde43..b115dc026 100644 --- a/render/box_construct.c +++ b/render/box_construct.c @@ -84,6 +84,9 @@ static const content_type image_types[] = { #ifdef WITH_WEBP CONTENT_WEBP, #endif +#ifdef WITH_AMIGA_ICON + CONTENT_AMIGA_ICON, +#endif CONTENT_UNKNOWN }; /* the strings are not important, since we just compare the pointers */ |