From f2370a0560fdae4e748f7fbc1c7da6cd2b44a255 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 13 Apr 2006 22:20:50 +0000 Subject: Deletes color cache and custom dialog shading. svn-id: r21850 --- gui/theme.h | 31 +++---------------------------- 1 file changed, 3 insertions(+), 28 deletions(-) (limited to 'gui/theme.h') 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; -- cgit v1.2.3