| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Graphics.UI.FLTK.LowLevel.Base.Counter
Synopsis
- counterNew :: Rectangle -> Maybe Text -> IO (Ref Counter)
- counterCustom :: Rectangle -> Maybe Text -> Maybe (Ref Counter -> IO ()) -> Maybe (CustomWidgetFuncs Counter) -> IO (Ref Counter)
- data CounterType
- drawCounterBase :: Ref CounterBase -> IO ()
- handleCounterBase :: Ref CounterBase -> Event -> IO (Either UnknownEvent ())
- resizeCounterBase :: Ref CounterBase -> Rectangle -> IO ()
- hideCounterBase :: Ref CounterBase -> IO ()
- showWidgetCounterBase :: Ref CounterBase -> IO ()
Constructor
data CounterType Source #
Constructors
| NormalCounterType | |
| SimpleCounterType |
Instances
| Enum CounterType Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Base.Counter Methods succ :: CounterType -> CounterType # pred :: CounterType -> CounterType # toEnum :: Int -> CounterType # fromEnum :: CounterType -> Int # enumFrom :: CounterType -> [CounterType] # enumFromThen :: CounterType -> CounterType -> [CounterType] # enumFromTo :: CounterType -> CounterType -> [CounterType] # enumFromThenTo :: CounterType -> CounterType -> CounterType -> [CounterType] # | |
| Eq CounterType Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Base.Counter | |
| Show CounterType Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Base.Counter Methods showsPrec :: Int -> CounterType -> ShowS # show :: CounterType -> String # showList :: [CounterType] -> ShowS # | |
drawCounterBase :: Ref CounterBase -> IO () Source #
handleCounterBase :: Ref CounterBase -> Event -> IO (Either UnknownEvent ()) Source #
resizeCounterBase :: Ref CounterBase -> Rectangle -> IO () Source #
hideCounterBase :: Ref CounterBase -> IO () Source #
showWidgetCounterBase :: Ref CounterBase -> IO () Source #
Hierarchy
Graphics.UI.FLTK.LowLevel.Base.Widget | v Graphics.UI.FLTK.LowLevel.Base.Valuator | v Graphics.UI.FLTK.LowLevel.Base.Counter
Functions
destroy ::RefCounterBase->IO() draw ::RefCounterBase->IO() getTextcolor ::RefCounterBase->IO(Color) getTextfont ::RefCounterBase->IO(Font) getTextsize ::RefCounterBase->IO(FontSize) getType_ ::RefCounterBase->IO(CounterType) handle ::RefCounterBase->Event->IO(EitherUnknownEvent()) hide ::RefCounterBase->IO() resize ::RefCounterBase->Rectangle->IO() setLstep ::RefCounterBase->Double->IO() setTextcolor ::RefCounterBase->Color->IO() setTextfont ::RefCounterBase->Font->IO() setTextsize ::RefCounterBase->FontSize->IO() setType ::RefCounterBase->CounterType->IO() showWidget ::RefCounterBase->IO()
Orphan instances
| impl ~ (Double -> IO ()) => Op (SetLstep ()) CounterBase orig impl Source # | |
| impl ~ (Color -> IO ()) => Op (SetTextcolor ()) CounterBase orig impl Source # | |
Methods runOp :: SetTextcolor () -> orig -> Ref CounterBase -> impl Source # | |
| impl ~ IO Color => Op (GetTextcolor ()) CounterBase orig impl Source # | |
Methods runOp :: GetTextcolor () -> orig -> Ref CounterBase -> impl Source # | |
| impl ~ (FontSize -> IO ()) => Op (SetTextsize ()) CounterBase orig impl Source # | |
Methods runOp :: SetTextsize () -> orig -> Ref CounterBase -> impl Source # | |
| impl ~ IO FontSize => Op (GetTextsize ()) CounterBase orig impl Source # | |
Methods runOp :: GetTextsize () -> orig -> Ref CounterBase -> impl Source # | |
| impl ~ (Font -> IO ()) => Op (SetTextfont ()) CounterBase orig impl Source # | |
Methods runOp :: SetTextfont () -> orig -> Ref CounterBase -> impl Source # | |
| impl ~ IO Font => Op (GetTextfont ()) CounterBase orig impl Source # | |
Methods runOp :: GetTextfont () -> orig -> Ref CounterBase -> impl Source # | |
| impl ~ IO () => Op (Draw ()) CounterBase orig impl Source # | |
| impl ~ (Rectangle -> IO ()) => Op (Resize ()) CounterBase orig impl Source # | |
| impl ~ IO () => Op (Hide ()) CounterBase orig impl Source # | |
| impl ~ IO () => Op (ShowWidget ()) CounterBase orig impl Source # | |
Methods runOp :: ShowWidget () -> orig -> Ref CounterBase -> impl Source # | |
| impl ~ (CounterType -> IO ()) => Op (SetType ()) CounterBase orig impl Source # | |
| impl ~ IO CounterType => Op (GetType_ ()) CounterBase orig impl Source # | |
| impl ~ (Event -> IO (Either UnknownEvent ())) => Op (Handle ()) CounterBase orig impl Source # | |
| impl ~ IO () => Op (Destroy ()) CounterBase orig impl Source # | |