blucontrol-0.7.1.0: Configurable blue light filter
Safe HaskellSafe-Inferred
LanguageHaskell2010

Blucontrol.Value.Brightness

Synopsis

Documentation

data Brightness Source #

Arbitrary precision brightness between 0 and 1

Instances

Instances details
Bounded Brightness Source # 
Instance details

Defined in Blucontrol.Value.Brightness

Enum Brightness Source # 
Instance details

Defined in Blucontrol.Value.Brightness

Generic Brightness Source # 
Instance details

Defined in Blucontrol.Value.Brightness

Associated Types

type Rep Brightness :: Type -> Type #

Num Brightness Source # 
Instance details

Defined in Blucontrol.Value.Brightness

Read Brightness Source # 
Instance details

Defined in Blucontrol.Value.Brightness

Fractional Brightness Source # 
Instance details

Defined in Blucontrol.Value.Brightness

Real Brightness Source # 
Instance details

Defined in Blucontrol.Value.Brightness

RealFrac Brightness Source # 
Instance details

Defined in Blucontrol.Value.Brightness

Show Brightness Source # 
Instance details

Defined in Blucontrol.Value.Brightness

Default Brightness Source # 
Instance details

Defined in Blucontrol.Value.Brightness

Methods

def :: Brightness #

NFData Brightness Source # 
Instance details

Defined in Blucontrol.Value.Brightness

Methods

rnf :: Brightness -> () #

Eq Brightness Source # 
Instance details

Defined in Blucontrol.Value.Brightness

Ord Brightness Source # 
Instance details

Defined in Blucontrol.Value.Brightness

type Rep Brightness Source # 
Instance details

Defined in Blucontrol.Value.Brightness

type Rep Brightness = D1 ('MetaData "Brightness" "Blucontrol.Value.Brightness" "blucontrol-0.7.1.0-inplace" 'True) (C1 ('MetaCons "Brightness" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational)))

data WithBrightness a Source #

Combination of a color value and a Brightness

Constructors

WithBrightness 

Fields

Instances

Instances details
CompatibleValues a b => CompatibleValues a (WithBrightness b) Source # 
Instance details

Defined in Blucontrol.Value.Brightness

Generic (WithBrightness a) Source # 
Instance details

Defined in Blucontrol.Value.Brightness

Associated Types

type Rep (WithBrightness a) :: Type -> Type #

Read a => Read (WithBrightness a) Source # 
Instance details

Defined in Blucontrol.Value.Brightness

Show a => Show (WithBrightness a) Source # 
Instance details

Defined in Blucontrol.Value.Brightness

Default a => Default (WithBrightness a) Source # 
Instance details

Defined in Blucontrol.Value.Brightness

Methods

def :: WithBrightness a #

NFData a => NFData (WithBrightness a) Source # 
Instance details

Defined in Blucontrol.Value.Brightness

Methods

rnf :: WithBrightness a -> () #

Eq a => Eq (WithBrightness a) Source # 
Instance details

Defined in Blucontrol.Value.Brightness

Ord a => Ord (WithBrightness a) Source # 
Instance details

Defined in Blucontrol.Value.Brightness

(MonadBase IO m, MonadPrepareValue (PrepareValueLinearT c m)) => MonadPrepareValue (PrepareValueLinearT (WithBrightness c) m) Source # 
Instance details

Defined in Blucontrol.Monad.PrepareValue.Linear

type Rep (WithBrightness a) Source # 
Instance details

Defined in Blucontrol.Value.Brightness

type Rep (WithBrightness a) = D1 ('MetaData "WithBrightness" "Blucontrol.Value.Brightness" "blucontrol-0.7.1.0-inplace" 'False) (C1 ('MetaCons "WithBrightness" 'PrefixI 'True) (S1 ('MetaSel ('Just "brightness") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Brightness) :*: S1 ('MetaSel ('Just "color") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))
type PreparedValue (PrepareValueLinearT (WithBrightness c) m) Source # 
Instance details

Defined in Blucontrol.Monad.PrepareValue.Linear