diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2012-03-22 09:34:34 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2012-03-22 09:34:34 +0000 |
commit | 1490b52a6b96b6a69a0c4fe9e0515dc717425128 (patch) | |
tree | 8caba44a9da98e6cebf4f188e3232534b1596a4d /amiga/bitmap.c | |
parent | 0797bf5a5731b2c8d55105b453530584ea4e1f5b (diff) | |
download | netsurf-1490b52a6b96b6a69a0c4fe9e0515dc717425128.tar.gz netsurf-1490b52a6b96b6a69a0c4fe9e0515dc717425128.tar.bz2 |
NetSurf options rework (a=vince r=daniels,jmb)
svn path=/trunk/netsurf/; revision=13548
Diffstat (limited to 'amiga/bitmap.c')
-rw-r--r-- | amiga/bitmap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/amiga/bitmap.c b/amiga/bitmap.c index 173f66349..4e1057eb6 100644 --- a/amiga/bitmap.c +++ b/amiga/bitmap.c @@ -28,7 +28,7 @@ #include <graphics/composite.h> #endif #include <graphics/gfxbase.h> -#include "amiga/options.h" +#include "desktop/options.h" #include <proto/datatypes.h> #include <datatypes/pictureclass.h> #include <proto/dos.h> @@ -378,7 +378,7 @@ struct BitMap *ami_getcachenativebm(struct bitmap *bitmap,int width,int height,s bitmap->width, bitmap->height); } - if(option_cache_bitmaps == 2) + if(nsoption_int(cache_bitmaps) == 2) { bitmap->nativebm = tbm; bitmap->nativebmwidth = bitmap->width; @@ -400,7 +400,7 @@ struct BitMap *ami_getcachenativebm(struct bitmap *bitmap,int width,int height,s uint32 flags = 0; if(bitmap->opaque) flags |= COMPFLAG_IgnoreDestAlpha; - if(option_scale_quality) flags |= COMPFLAG_SrcFilter; + if(nsoption_bool(scale_quality)) flags |= COMPFLAG_SrcFilter; CompositeTags(comptype,tbm,scaledbm, COMPTAG_ScaleX,COMP_FLOAT_TO_FIX(width/bitmap->width), @@ -442,7 +442,7 @@ struct BitMap *ami_getcachenativebm(struct bitmap *bitmap,int width,int height,s tbm = scaledbm; bitmap->nativebm = NULL; - if(option_cache_bitmaps >= 1) + if(nsoption_int(cache_bitmaps) >= 1) { bitmap->nativebm = tbm; bitmap->nativebmwidth = width; |