KDesktopShadowSettings Class Reference

#include <kdesktopshadowsettings.h>

Inheritance diagram for KDesktopShadowSettings:
KShadowSettings

List of all members.

Public Member Functions

 KDesktopShadowSettings (KConfig *cfg=NULL)
void setConfig (KConfig *)
TQColor & textColor ()
TQColor & bgColor ()
bool isEnabled ()
unsigned long UID ()
void setUID (unsigned long val=0L)

Detailed Description

This implementation of FxData will read a the default configuration file. The values used for shadow are frouped under "FX".

The values are: Shadow.Algorithm: the algorithm used for making the sahdow Shadow.Scale the normailsation factor for veraging the sum Shadow.MaxOpacity the maximum allowable opacity (255 = 100opaque) Shadow.OffsetX the X-coordinate offset (0 centered) Shadow.OffsetY the Y-coordinate offset (0 centered) Shadow.Thickness the shadow thickness (usually 3-5 px) Shadow.SelectionType the selection type - inverse video or use the selection colours.

06-Feb-03: Added simple UID algorithm


Constructor & Destructor Documentation

KDesktopShadowSettings::KDesktopShadowSettings ( KConfig *  cfg = NULL  ) 

Constructor

Parameters:
cfg the configuration file

Member Function Documentation

TQColor& KDesktopShadowSettings::bgColor (  )  [inline]

Returns the shadow color as definied in the configuraiton

Returns:
the shadow color as definied in the configuraiton
bool KDesktopShadowSettings::isEnabled (  )  [inline]

Returns true if the shadow engine is enabled.

Returns:
true if the shadow engine is enabled.
void KDesktopShadowSettings::setConfig ( KConfig *  val  ) 

Sets a specific configuration file after the object's creation

Parameters:
config new configuration object

Loads a new configuration

void KDesktopShadowSettings::setUID ( unsigned long  val = 0L  ) 

(Re)sets an UID for shadow rebuilding purposes

Parameters:
the new UID (if 0/default, increments the stored UID)
TQColor& KDesktopShadowSettings::textColor (  )  [inline]

Returns the text color as definied in the configuraiton

Returns:
the text color as definied in the configuraiton
unsigned long KDesktopShadowSettings::UID (  ) 

Returns an UID for shadow rebuilding purposes

Returns:
an UID for shadow rebuilding purposes

The documentation for this class was generated from the following files:

Generated on Sat Oct 2 22:59:25 2010 by  doxygen 1.6.1