aboutsummaryrefslogtreecommitdiff
path: root/gui/theme.h
diff options
context:
space:
mode:
authorJohannes Schickel2006-04-13 22:20:50 +0000
committerJohannes Schickel2006-04-13 22:20:50 +0000
commitf2370a0560fdae4e748f7fbc1c7da6cd2b44a255 (patch)
tree1b94fc09fc2e0c98ff716b9adb6ca840307a842e /gui/theme.h
parentfb985a26f82ce07e13549091a7655abf50ff357a (diff)
downloadscummvm-rg350-f2370a0560fdae4e748f7fbc1c7da6cd2b44a255.tar.gz
scummvm-rg350-f2370a0560fdae4e748f7fbc1c7da6cd2b44a255.tar.bz2
scummvm-rg350-f2370a0560fdae4e748f7fbc1c7da6cd2b44a255.zip
Deletes color cache and custom dialog shading.
svn-id: r21850
Diffstat (limited to 'gui/theme.h')
-rw-r--r--gui/theme.h31
1 files changed, 3 insertions, 28 deletions
diff --git a/gui/theme.h b/gui/theme.h
index f6fd4238bc..ab90835c35 100644
--- a/gui/theme.h
+++ b/gui/theme.h
@@ -413,38 +413,13 @@ public:
};
private:
- // inactive dialog effects
- enum kShadingEffects {
- kShadingEffectNothing = 0,
- kShadingEffectLuminance = 1,
- kShadingEffectDim = 2,
- kShadingEffectCustom = 3
- };
-
- // used for the (yet) unimplemented cache file
- int _shadingEffect;
-
int _dimPercentValue;
- Common::String _shadingEpxressionR, _shadingEpxressionG, _shadingEpxressionB;
-
- uint _numCacheColors;
- bool _usingColorCache;
- OverlayColor *_colorCacheTable;
- void setupColorCache();
- void clearColorCache();
-
- Common::String cacheFileName();
- bool loadCacheFile();
- bool createCacheFile();
-
- typedef OverlayColor (ThemeNew::*InactiveDialogCallback)(OverlayColor col, bool cache);
-
+ typedef OverlayColor (ThemeNew::*InactiveDialogCallback)(OverlayColor col);
InactiveDialogCallback _dialogShadingCallback;
// cache means input is 16 bpp mode
- OverlayColor calcLuminance(OverlayColor col, bool cache);
- OverlayColor calcDimColor(OverlayColor col, bool cache);
- OverlayColor calcCustomColor(OverlayColor col, bool cache);
+ OverlayColor calcLuminance(OverlayColor col);
+ OverlayColor calcDimColor(OverlayColor col);
private:
const String *_imageHandles;