Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- sliderNew :: (?assets :: Assets) => Rectangle -> Maybe Text -> IO (Ref Slider)
- fillSliderNew :: (?assets :: Assets) => Rectangle -> Maybe Text -> IO (Ref FillSlider)
- valueSliderNew :: (?assets :: Assets) => Rectangle -> Maybe Text -> IO (Ref ValueSlider)
- gaugeSliderNew :: (?assets :: Assets) => Rectangle -> Maybe Text -> IO (Ref Slider)
- horFillSliderNew :: (?assets :: Assets) => Rectangle -> Maybe Text -> IO (Ref HorFillSlider)
- horNiceSliderNew :: (?assets :: Assets) => Rectangle -> Maybe Text -> IO (Ref HorNiceSlider)
- horSliderNew :: (?assets :: Assets) => Rectangle -> Maybe Text -> IO (Ref HorSlider)
- horValueSliderNew :: (?assets :: Assets) => Rectangle -> Maybe Text -> IO (Ref HorValueSlider)
- data GaugeSliderSpec = GaugeSliderSpec {}
- defaultGaugeHeight :: Int
- drawSlider :: Ref Slider -> Maybe GaugeSliderSpec -> Rectangle -> IO ()
- drawValueSlider :: Ref ValueSlider -> IO ()
- gaugeBoxBounds :: Bool -> GaugeSliderSpec -> Rectangle -> Rectangle
- sliderIsHorizontal :: SliderType -> Bool
- mkGaugeSliderSpec :: GaugeSliderSpec
- sliderKnobColor :: IO Color
- sliderSetup :: (?assets :: Assets) => Ref Slider -> IO ()
Documentation
fillSliderNew :: (?assets :: Assets) => Rectangle -> Maybe Text -> IO (Ref FillSlider) Source #
Deprecated: Fill sliders are not supported in the Light theme. fillSliderNew
is the same as sliderNew
.
valueSliderNew :: (?assets :: Assets) => Rectangle -> Maybe Text -> IO (Ref ValueSlider) Source #
horFillSliderNew :: (?assets :: Assets) => Rectangle -> Maybe Text -> IO (Ref HorFillSlider) Source #
Deprecated: Fill sliders are not supported in the Light theme. horFillSliderNew
is the same as sliderNew
.
horNiceSliderNew :: (?assets :: Assets) => Rectangle -> Maybe Text -> IO (Ref HorNiceSlider) Source #
Deprecated: Nicesliders are not supported in the Light theme. horNiceSliderNew
is the same as sliderNew
.
horValueSliderNew :: (?assets :: Assets) => Rectangle -> Maybe Text -> IO (Ref HorValueSlider) Source #
Slider drawing helpers
data GaugeSliderSpec Source #
drawSlider :: Ref Slider -> Maybe GaugeSliderSpec -> Rectangle -> IO () Source #
drawValueSlider :: Ref ValueSlider -> IO () Source #
gaugeBoxBounds :: Bool -> GaugeSliderSpec -> Rectangle -> Rectangle Source #
sliderIsHorizontal :: SliderType -> Bool Source #