csound-expression-typed-0.2.7.1: typed core for the library csound-expression
Safe HaskellSafe-Inferred
LanguageHaskell2010

Csound.Typed.Gui.Types

Synopsis

Documentation

data Props Source #

Instances

Instances details
Monoid Props Source # 
Instance details

Defined in Csound.Typed.Gui.Types

Methods

mempty :: Props #

mappend :: Props -> Props -> Props #

mconcat :: [Props] -> Props #

Semigroup Props Source # 
Instance details

Defined in Csound.Typed.Gui.Types

Methods

(<>) :: Props -> Props -> Props #

sconcat :: NonEmpty Props -> Props #

stimes :: Integral b => b -> Props -> Props #

Default Props Source # 
Instance details

Defined in Csound.Typed.Gui.Types

Methods

def :: Props #

type Color = Colour Double Source #

The Csound colours.

data Rect Source #

A rectangle.

Constructors

Rect 

Fields

Instances

Instances details
Show Rect Source # 
Instance details

Defined in Csound.Typed.Gui.BoxModel

Methods

showsPrec :: Int -> Rect -> ShowS #

show :: Rect -> String #

showList :: [Rect] -> ShowS #

data FontType Source #

Instances

Instances details
Default FontType Source # 
Instance details

Defined in Csound.Typed.Gui.Types

Methods

def :: FontType #

data Emphasis Source #

Constructors

NoEmphasis 
Italic 
Bold 
BoldItalic 

Instances

Instances details
Default Emphasis Source # 
Instance details

Defined in Csound.Typed.Gui.Types

Methods

def :: Emphasis #

data Material Source #

The type of the material of the element. It affects sliders and buttons.

Constructors

NoPlastic 
Plastic 

Instances

Instances details
Default Material Source # 
Instance details

Defined in Csound.Typed.Gui.Types

Methods

def :: Material #

data Orient Source #

The orientation of the widget (slider, roller). This property is never needs to be set in practice. If this property is not set then default orientation is calculated from the bounding box of the widget. If the width is greater than the height then we need to use a horizontal widget otherwise it should be a vertical one.

Constructors

Hor 
Ver 

data LabelType Source #

Some values are not implemented on the Csound level.

Instances

Instances details
Default LabelType Source # 
Instance details

Defined in Csound.Typed.Gui.Types

Methods

def :: LabelType #

data ValDiap Source #

The diapason of the continuous value.

Constructors

ValDiap 

data ValSpan Source #

A value span is a diapason of the value and a type of the scale (can be linear or exponential).

Constructors

ValSpan 

linSpan :: Double -> Double -> ValSpan Source #

Makes a linear ValSpan with specified boundaries.

linSpan minVal maxVal

expSpan :: Double -> Double -> ValSpan Source #

Makes an exponential ValSpan with specified boundaries.

expSpan minVal maxVal

uspan :: ValSpan Source #

Unit span. A special case:

uspan = linSpan 0 1

bspan :: ValSpan Source #

Bipolar unit span. A special case:

uspan = linSpan (-1) 1

uspanExp :: ValSpan Source #

An exponential unit span. A special case:

uspan = expSpan 0 1

data KnobType Source #

Constructors

ThreeD (Maybe Int) 
Pie 
Clock 
Flat 

Instances

Instances details
Default KnobType Source # 
Instance details

Defined in Csound.Typed.Gui.Types

Methods

def :: KnobType #

data SliderType Source #

Constructors

Fill 
Engraved 
Nice 

Instances

Instances details
Default SliderType Source # 
Instance details

Defined in Csound.Typed.Gui.Types

Methods

def :: SliderType #

data TextType Source #

Constructors

NormalText 
NoDrag 
NoEdit 

Instances

Instances details
Default TextType Source # 
Instance details

Defined in Csound.Typed.Gui.Types

Methods

def :: TextType #

data ButtonType Source #

The type of the button. It affects toggle buttons and button banks.

In Csound buttons and toggle buttons are constructed with the same function (but with different button types). But in this library they are contructed by different functions (button and toggle). Normal button is a plain old button, but other values specify toggle buttons. So this property doesn't affect the buttons (since they could be only normal buttons).

Instances

Instances details
Default ButtonType Source # 
Instance details

Defined in Csound.Typed.Gui.Types

Methods

def :: ButtonType #