|
|
|
|
|
| Description |
|
|
| Synopsis |
|
| Orientation (Horizontal, Vertical) | | | # | | | feed :: a -> (a -> b) -> b | | | feed2 :: a -> b -> (a -> b -> c) -> c | | | Object | | | objectNull | | | objectIsNull | | | objectCast | | | objectIsManaged | | | objectDelete | | | Id | | | idAny | | | idCreate | | | Var | | | varCreate | | | varGet | | | varSet | | | varUpdate | | | varSwap | | | class Eq b => BitMask b where | | | | mask :: BitMask b => [b] -> Int | | | .+. | | | .-. | | | bits | | | bitsSet | | | boolFromInt | | | intFromBool | | | Style | | | EventId | | | TreeItem | | | Color | | | rgb | | | colorRGB | | | colorRed | | | colorGreen | | | colorBlue | | | black | | | darkgrey | | | dimgrey | | | mediumgrey | | | grey | | | lightgrey | | | white | | | red | | | green | | | blue | | | cyan | | | magenta | | | yellow | | | SystemColor (ColorScrollBar, ColorBackground, ColorActiveCaption, ColorInactiveCaption, ColorMenu, ColorWindow, ColorWindowFrame, ColorMenuText, ColorWindowText, ColorCaptionText, ColorActiveBorder, ColorInactiveBorder, ColorAppWorkspace, ColorHighlight, ColorHighlightText, ColorBtnFace, ColorBtnShadow, ColorGrayText, ColorBtnText, ColorInactiveCaptionText, ColorBtnHighlight, Color3DDkShadow, Color3DLight, ColorInfoText, ColorInfoBk, ColorDesktop, Color3DFace, Color3DShadow, Color3DHighlight, Color3DHilight, ColorBtnHilight) | | | colorSystem | | | FontStyle (FontStyle, _fontSize, _fontFamily, _fontShape, _fontWeight, _fontUnderline, _fontFace, _fontEncoding) | | | FontFamily (FontDefault, FontDecorative, FontRoman, FontScript, FontSwiss, FontModern) | | | FontShape (ShapeNormal, ShapeItalic, ShapeSlant) | | | FontWeight (WeightNormal, WeightBold, WeightLight) | | | fontDefault | | | fontSwiss | | | fontSmall | | | fontItalic | | | fontFixed | | | BrushStyle (BrushStyle, _brushKind, _brushColor) | | | BrushKind (BrushTransparent, BrushSolid, BrushHatch, _brushHatch, BrushStipple, _brushBitmap) | | | HatchStyle (HatchBDiagonal, HatchCrossDiag, HatchFDiagonal, HatchCross, HatchHorizontal, HatchVertical) | | | brushDefault | | | brushTransparent | | | PenStyle (PenStyle, _penKind, _penColor, _penWidth, _penCap, _penJoin) | | | PenKind (PenTransparent, PenSolid, PenDash, _penDash, PenHatch, _penHatch, PenStipple, _penBitmap) | | | CapStyle (CapRound, CapProjecting, CapButt) | | | JoinStyle (JoinRound, JoinBevel, JoinMiter) | | | DashStyle (DashDot, DashLong, DashShort, DashDotShort) | | | penDefault | | | penColored | | | penTransparent | | | Point (Point, pointX, pointY) | | | point | | | pt | | | pointFromVec | | | pointFromSize | | | pointZero | | | pointNull | | | pointMove | | | pointMoveBySize | | | pointAdd | | | pointSub | | | pointScale | | | Size (Size, sizeW, sizeH) | | | sz | | | sizeFromPoint | | | sizeFromVec | | | sizeZero | | | sizeNull | | | sizeEncloses | | | sizeMin | | | sizeMax | | | Vector (Vector, vecX, vecY) | | | vector | | | vec | | | vecFromPoint | | | vecFromSize | | | vecZero | | | vecNull | | | vecNegate | | | vecOrtogonal | | | vecAdd | | | vecSub | | | vecScale | | | vecBetween | | | vecLength | | | Rect (Rect, rectLeft, rectTop, rectWidth, rectHeight) | | | rectTopLeft | | | rectTopRight | | | rectBottomLeft | | | rectBottomRight | | | rectBottom | | | rectRight | | | rect | | | rectBetween | | | rectFromSize | | | rectZero | | | rectNull | | | rectSize | | | rectIsEmpty | | | rectContains | | | rectMoveTo | | | rectFromPoint | | | rectCentralPoint | | | rectCentralRect | | | rectStretchTo | | | rectMove | | | rectOverlaps | | | rectsDiff | | | rectUnion | | | rectOverlap | | | rectUnions | | | unitIO | | | bracket | | | bracket_ | | | finally | | | finalize | | | when |
|
|
|
| Basic Types
|
|
| Orientation (Horizontal, Vertical) |
|
| Objects
|
|
| # |
|
| feed :: a -> (a -> b) -> b |
| Inverse application, i.e. feed x f = f x.
|
|
| feed2 :: a -> b -> (a -> b -> c) -> c |
| Composed Inverse application, i.e. feed2 x y f = f x y.
|
|
| Object |
|
| objectNull |
|
| objectIsNull |
|
| objectCast |
|
| objectIsManaged |
|
| objectDelete |
|
| Identifiers
|
|
| Id |
|
| idAny |
|
| idCreate |
|
| Mutable variables
|
|
| Var |
|
| varCreate |
|
| varGet |
|
| varSet |
|
| varUpdate |
|
| varSwap |
|
| Bits
|
|
| class Eq b => BitMask b where |
| Data types that can be represented through a bit mask. Only the assocBitMask method
is required for a new instance.
| | | Methods | | assocBitMask :: [(b, Int)] | | Give the association between the constructors and the bits. If a constructor
corresponds to no bits set, it should come as the last element.
| | | toBitMask :: b -> Int | | Convert to a bitmask
| | | fromBitMask :: Int -> b | | Convert from a bitmask
| | | setBitMask :: b -> Int -> Int | | Set the correct bits corresponding to a constructor in a mask.
|
| | Instances | |
|
|
| mask :: BitMask b => [b] -> Int |
| Create a bitmask from a list of types.
|
|
| .+. |
|
| .-. |
|
| bits |
|
| bitsSet |
|
| Booleans
|
|
| boolFromInt |
|
| intFromBool |
|
| Misc.
|
|
| Style |
|
| EventId |
|
| TreeItem |
|
| Graphical types
|
|
| Colors
|
|
| Color |
|
| rgb |
|
| colorRGB |
|
| colorRed |
|
| colorGreen |
|
| colorBlue |
|
| black |
|
| darkgrey |
|
| dimgrey |
|
| mediumgrey |
|
| grey |
|
| lightgrey |
|
| white |
|
| red |
|
| green |
|
| blue |
|
| cyan |
|
| magenta |
|
| yellow |
|
| System colors
|
|
| SystemColor (ColorScrollBar, ColorBackground, ColorActiveCaption, ColorInactiveCaption, ColorMenu, ColorWindow, ColorWindowFrame, ColorMenuText, ColorWindowText, ColorCaptionText, ColorActiveBorder, ColorInactiveBorder, ColorAppWorkspace, ColorHighlight, ColorHighlightText, ColorBtnFace, ColorBtnShadow, ColorGrayText, ColorBtnText, ColorInactiveCaptionText, ColorBtnHighlight, Color3DDkShadow, Color3DLight, ColorInfoText, ColorInfoBk, ColorDesktop, Color3DFace, Color3DShadow, Color3DHighlight, Color3DHilight, ColorBtnHilight) |
|
| colorSystem |
|
| Font
|
|
| FontStyle (FontStyle, _fontSize, _fontFamily, _fontShape, _fontWeight, _fontUnderline, _fontFace, _fontEncoding) |
|
| FontFamily (FontDefault, FontDecorative, FontRoman, FontScript, FontSwiss, FontModern) |
|
| FontShape (ShapeNormal, ShapeItalic, ShapeSlant) |
|
| FontWeight (WeightNormal, WeightBold, WeightLight) |
|
| fontDefault |
|
| fontSwiss |
|
| fontSmall |
|
| fontItalic |
|
| fontFixed |
|
| Brush
|
|
| BrushStyle (BrushStyle, _brushKind, _brushColor) |
|
| BrushKind (BrushTransparent, BrushSolid, BrushHatch, _brushHatch, BrushStipple, _brushBitmap) |
|
| HatchStyle (HatchBDiagonal, HatchCrossDiag, HatchFDiagonal, HatchCross, HatchHorizontal, HatchVertical) |
|
| brushDefault |
|
| brushTransparent |
|
| Pen
|
|
| PenStyle (PenStyle, _penKind, _penColor, _penWidth, _penCap, _penJoin) |
|
| PenKind (PenTransparent, PenSolid, PenDash, _penDash, PenHatch, _penHatch, PenStipple, _penBitmap) |
|
| CapStyle (CapRound, CapProjecting, CapButt) |
|
| JoinStyle (JoinRound, JoinBevel, JoinMiter) |
|
| DashStyle (DashDot, DashLong, DashShort, DashDotShort) |
|
| penDefault |
|
| penColored |
|
| penTransparent |
|
| Geometrical types
|
|
| Points
|
|
| Point (Point, pointX, pointY) |
|
| point |
|
| pt |
|
| pointFromVec |
|
| pointFromSize |
|
| pointZero |
|
| pointNull |
|
| pointMove |
|
| pointMoveBySize |
|
| pointAdd |
|
| pointSub |
|
| pointScale |
|
| Sizes
|
|
| Size (Size, sizeW, sizeH) |
|
| sz |
|
| sizeFromPoint |
|
| sizeFromVec |
|
| sizeZero |
|
| sizeNull |
|
| sizeEncloses |
|
| sizeMin |
|
| sizeMax |
|
| Vectors
|
|
| Vector (Vector, vecX, vecY) |
|
| vector |
|
| vec |
|
| vecFromPoint |
|
| vecFromSize |
|
| vecZero |
|
| vecNull |
|
| vecNegate |
|
| vecOrtogonal |
|
| vecAdd |
|
| vecSub |
|
| vecScale |
|
| vecBetween |
|
| vecLength |
|
| Rectangles
|
|
| Rect (Rect, rectLeft, rectTop, rectWidth, rectHeight) |
|
| rectTopLeft |
|
| rectTopRight |
|
| rectBottomLeft |
|
| rectBottomRight |
|
| rectBottom |
|
| rectRight |
|
| rect |
|
| rectBetween |
|
| rectFromSize |
|
| rectZero |
|
| rectNull |
|
| rectSize |
|
| rectIsEmpty |
|
| rectContains |
|
| rectMoveTo |
|
| rectFromPoint |
|
| rectCentralPoint |
|
| rectCentralRect |
|
| rectStretchTo |
|
| rectMove |
|
| rectOverlaps |
|
| rectsDiff |
|
| rectUnion |
|
| rectOverlap |
|
| rectUnions |
|
| IO Control
|
|
| unitIO |
|
| bracket |
|
| bracket_ |
|
| finally |
|
| finalize |
|
| when |
|
| Produced by Haddock version 0.9 |