packages feed

gtk-helpers 0.0.7 → 0.0.9.1

raw patch · 2 files changed

+15/−8 lines, 2 filesnew-uploaderPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Game.Board.BasicTurnGame: boardPieces' :: GameState index tile player piece -> [(index, index, player, piece)]
- Game.Board.BasicTurnGame: boardPos :: GameState index tile player piece -> [(index, index, tile)]
- Game.Board.BasicTurnGame: curPlayer' :: GameState index tile player piece -> player
- Graphics.UI.Gtk.Board.BoardLink: bg :: VisualGameAspects index tile player piece -> Maybe (Pixbuf, SizeAdjustment)
- Graphics.UI.Gtk.Board.BoardLink: bgColor :: VisualGameAspects index tile player piece -> (Int, Int, Int)
- Graphics.UI.Gtk.Board.BoardLink: gameS :: Game pg index tile player piece -> pg
- Graphics.UI.Gtk.Board.BoardLink: pieceF :: VisualGameAspects index tile player piece -> PixmapsFor (player, piece)
- Graphics.UI.Gtk.Board.BoardLink: tileF :: VisualGameAspects index tile player piece -> PixmapsFor tile
- Graphics.UI.Gtk.Board.BoardLink: visual :: Game pg index tile player piece -> VisualGameAspects index tile player piece
- Graphics.UI.Gtk.Board.TiledBoard: background :: Board index tile piece -> IORef (Maybe (Pixbuf, SizeAdjustment))
- Graphics.UI.Gtk.Board.TiledBoard: boardDrawingArea :: Board index tile piece -> DrawingArea
- Graphics.UI.Gtk.Board.TiledBoard: boardPieces :: Board index tile piece -> GameBoard index piece
- Graphics.UI.Gtk.Board.TiledBoard: boardTiles :: Board index tile piece -> GameBoard index tile
- Graphics.UI.Gtk.Board.TiledBoard: dragEnabled :: Board index tile piece -> IORef Bool
- Graphics.UI.Gtk.Board.TiledBoard: draggingFrom :: Board index tile piece -> IORef (Maybe (index, index))
- Graphics.UI.Gtk.Board.TiledBoard: draggingMouseOrig :: Board index tile piece -> IORef (Maybe (Int, Int))
- Graphics.UI.Gtk.Board.TiledBoard: draggingMousePos :: Board index tile piece -> IORef (Maybe (Int, Int))
- Graphics.UI.Gtk.Board.TiledBoard: draggingTo :: Board index tile piece -> IORef (Maybe (index, index))
- Graphics.UI.Gtk.Board.TiledBoard: instance GObjectClass (Board index tile piece)
- Graphics.UI.Gtk.Board.TiledBoard: instance ObjectClass (Board index tile piece)
- Graphics.UI.Gtk.Board.TiledBoard: instance WidgetClass (Board index tile piece)
- Graphics.UI.Gtk.Board.TiledBoard: movingFrom :: MovingStatus index -> (index, index)
- Graphics.UI.Gtk.Board.TiledBoard: movingStatus :: Board index tile piece -> IORef (Maybe (MovingStatus index))
- Graphics.UI.Gtk.Board.TiledBoard: movingStep :: MovingStatus index -> Double
- Graphics.UI.Gtk.Board.TiledBoard: movingTo :: MovingStatus index -> (index, index)
- Graphics.UI.Gtk.Board.TiledBoard: overlay :: Board index tile piece -> IORef (Maybe (Pixbuf, SizeAdjustment))
- Graphics.UI.Gtk.Board.TiledBoard: piecePixmaps :: Board index tile piece -> PixmapsFor piece
- Graphics.UI.Gtk.Board.TiledBoard: stepsPerUnit :: MovingStatus index -> Double
- Graphics.UI.Gtk.Board.TiledBoard: tilePixmaps :: Board index tile piece -> PixmapsFor tile
- Graphics.UI.Gtk.Board.TiledBoard: tileSize :: Board index tile piece -> (Int, Int)
- Graphics.UI.Gtk.Board.TiledBoard: timePerUnit :: MovingStatus index -> Double
- Graphics.UI.Gtk.Entry.FormatEntry: instance EditableClass FormatEntry
- Graphics.UI.Gtk.Entry.FormatEntry: instance EntryClass FormatEntry
- Graphics.UI.Gtk.Entry.FormatEntry: instance GObjectClass FormatEntry
- Graphics.UI.Gtk.Entry.FormatEntry: instance ObjectClass FormatEntry
- Graphics.UI.Gtk.Entry.FormatEntry: instance WidgetClass FormatEntry
- Graphics.UI.Gtk.Entry.HighlightedEntry: instance EntryClass HighlightedEntry
- Graphics.UI.Gtk.Entry.HighlightedEntry: instance GObjectClass HighlightedEntry
- Graphics.UI.Gtk.Entry.HighlightedEntry: instance ObjectClass HighlightedEntry
- Graphics.UI.Gtk.Entry.HighlightedEntry: instance WidgetClass HighlightedEntry
- Graphics.UI.Gtk.Helpers.ModelViewPath: instance ViewWithPathSelection IconView CellRenderer
- Graphics.UI.Gtk.Helpers.ModelViewPath: instance ViewWithPathSelection TreeView TreeViewColumn
- Graphics.UI.Gtk.Layout.BackgroundContainer: instance BinClass BackgroundContainer
- Graphics.UI.Gtk.Layout.BackgroundContainer: instance ContainerClass BackgroundContainer
- Graphics.UI.Gtk.Layout.BackgroundContainer: instance EventBoxClass BackgroundContainer
- Graphics.UI.Gtk.Layout.BackgroundContainer: instance GObjectClass BackgroundContainer
- Graphics.UI.Gtk.Layout.BackgroundContainer: instance ObjectClass BackgroundContainer
- Graphics.UI.Gtk.Layout.BackgroundContainer: instance WidgetClass BackgroundContainer
- Graphics.UI.Gtk.Layout.DummyBin: instance ContainerClass DummyBin
- Graphics.UI.Gtk.Layout.DummyBin: instance GObjectClass DummyBin
- Graphics.UI.Gtk.Layout.DummyBin: instance ObjectClass DummyBin
- Graphics.UI.Gtk.Layout.DummyBin: instance WidgetClass DummyBin
- Graphics.UI.Gtk.Layout.EitherWidget: instance GObjectClass (EitherWidget a b)
- Graphics.UI.Gtk.Layout.EitherWidget: instance ObjectClass (EitherWidget a b)
- Graphics.UI.Gtk.Layout.EitherWidget: instance WidgetClass (EitherWidget a b)
- Graphics.UI.Gtk.Layout.MaybeWidget: instance GObjectClass (MaybeWidget a)
- Graphics.UI.Gtk.Layout.MaybeWidget: instance ObjectClass (MaybeWidget a)
- Graphics.UI.Gtk.Layout.MaybeWidget: instance WidgetClass (MaybeWidget a)
+ Game.Board.BasicTurnGame: [boardPieces'] :: GameState index tile player piece -> [(index, index, player, piece)]
+ Game.Board.BasicTurnGame: [boardPos] :: GameState index tile player piece -> [(index, index, tile)]
+ Game.Board.BasicTurnGame: [curPlayer'] :: GameState index tile player piece -> player
+ Graphics.UI.Gtk.Board.BoardLink: [bgColor] :: VisualGameAspects index tile player piece -> (Int, Int, Int)
+ Graphics.UI.Gtk.Board.BoardLink: [bg] :: VisualGameAspects index tile player piece -> Maybe (Pixbuf, SizeAdjustment)
+ Graphics.UI.Gtk.Board.BoardLink: [gameS] :: Game pg index tile player piece -> pg
+ Graphics.UI.Gtk.Board.BoardLink: [pieceF] :: VisualGameAspects index tile player piece -> PixmapsFor (player, piece)
+ Graphics.UI.Gtk.Board.BoardLink: [tileF] :: VisualGameAspects index tile player piece -> PixmapsFor tile
+ Graphics.UI.Gtk.Board.BoardLink: [visual] :: Game pg index tile player piece -> VisualGameAspects index tile player piece
+ Graphics.UI.Gtk.Board.TiledBoard: [background] :: Board index tile piece -> IORef (Maybe (Pixbuf, SizeAdjustment))
+ Graphics.UI.Gtk.Board.TiledBoard: [boardDrawingArea] :: Board index tile piece -> DrawingArea
+ Graphics.UI.Gtk.Board.TiledBoard: [boardPieces] :: Board index tile piece -> GameBoard index piece
+ Graphics.UI.Gtk.Board.TiledBoard: [boardTiles] :: Board index tile piece -> GameBoard index tile
+ Graphics.UI.Gtk.Board.TiledBoard: [dragEnabled] :: Board index tile piece -> IORef Bool
+ Graphics.UI.Gtk.Board.TiledBoard: [draggingFrom] :: Board index tile piece -> IORef (Maybe (index, index))
+ Graphics.UI.Gtk.Board.TiledBoard: [draggingMouseOrig] :: Board index tile piece -> IORef (Maybe (Int, Int))
+ Graphics.UI.Gtk.Board.TiledBoard: [draggingMousePos] :: Board index tile piece -> IORef (Maybe (Int, Int))
+ Graphics.UI.Gtk.Board.TiledBoard: [draggingTo] :: Board index tile piece -> IORef (Maybe (index, index))
+ Graphics.UI.Gtk.Board.TiledBoard: [movingFrom] :: MovingStatus index -> (index, index)
+ Graphics.UI.Gtk.Board.TiledBoard: [movingStatus] :: Board index tile piece -> IORef (Maybe (MovingStatus index))
+ Graphics.UI.Gtk.Board.TiledBoard: [movingStep] :: MovingStatus index -> Double
+ Graphics.UI.Gtk.Board.TiledBoard: [movingTo] :: MovingStatus index -> (index, index)
+ Graphics.UI.Gtk.Board.TiledBoard: [overlay] :: Board index tile piece -> IORef (Maybe (Pixbuf, SizeAdjustment))
+ Graphics.UI.Gtk.Board.TiledBoard: [piecePixmaps] :: Board index tile piece -> PixmapsFor piece
+ Graphics.UI.Gtk.Board.TiledBoard: [stepsPerUnit] :: MovingStatus index -> Double
+ Graphics.UI.Gtk.Board.TiledBoard: [tilePixmaps] :: Board index tile piece -> PixmapsFor tile
+ Graphics.UI.Gtk.Board.TiledBoard: [tileSize] :: Board index tile piece -> (Int, Int)
+ Graphics.UI.Gtk.Board.TiledBoard: [timePerUnit] :: MovingStatus index -> Double
+ Graphics.UI.Gtk.Board.TiledBoard: instance Graphics.UI.Gtk.Types.ObjectClass (Graphics.UI.Gtk.Board.TiledBoard.Board index tile piece)
+ Graphics.UI.Gtk.Board.TiledBoard: instance Graphics.UI.Gtk.Types.WidgetClass (Graphics.UI.Gtk.Board.TiledBoard.Board index tile piece)
+ Graphics.UI.Gtk.Board.TiledBoard: instance System.Glib.Types.GObjectClass (Graphics.UI.Gtk.Board.TiledBoard.Board index tile piece)
+ Graphics.UI.Gtk.Entry.FormatEntry: instance Graphics.UI.Gtk.Types.EditableClass Graphics.UI.Gtk.Entry.FormatEntry.FormatEntry
+ Graphics.UI.Gtk.Entry.FormatEntry: instance Graphics.UI.Gtk.Types.EntryClass Graphics.UI.Gtk.Entry.FormatEntry.FormatEntry
+ Graphics.UI.Gtk.Entry.FormatEntry: instance Graphics.UI.Gtk.Types.ObjectClass Graphics.UI.Gtk.Entry.FormatEntry.FormatEntry
+ Graphics.UI.Gtk.Entry.FormatEntry: instance Graphics.UI.Gtk.Types.WidgetClass Graphics.UI.Gtk.Entry.FormatEntry.FormatEntry
+ Graphics.UI.Gtk.Entry.FormatEntry: instance System.Glib.Types.GObjectClass Graphics.UI.Gtk.Entry.FormatEntry.FormatEntry
+ Graphics.UI.Gtk.Entry.HighlightedEntry: instance Graphics.UI.Gtk.Types.EntryClass Graphics.UI.Gtk.Entry.HighlightedEntry.HighlightedEntry
+ Graphics.UI.Gtk.Entry.HighlightedEntry: instance Graphics.UI.Gtk.Types.ObjectClass Graphics.UI.Gtk.Entry.HighlightedEntry.HighlightedEntry
+ Graphics.UI.Gtk.Entry.HighlightedEntry: instance Graphics.UI.Gtk.Types.WidgetClass Graphics.UI.Gtk.Entry.HighlightedEntry.HighlightedEntry
+ Graphics.UI.Gtk.Entry.HighlightedEntry: instance System.Glib.Types.GObjectClass Graphics.UI.Gtk.Entry.HighlightedEntry.HighlightedEntry
+ Graphics.UI.Gtk.Helpers.ModelViewPath: instance Graphics.UI.Gtk.Helpers.ModelViewPath.ViewWithPathSelection Graphics.UI.Gtk.Types.IconView Graphics.UI.Gtk.Types.CellRenderer
+ Graphics.UI.Gtk.Helpers.ModelViewPath: instance Graphics.UI.Gtk.Helpers.ModelViewPath.ViewWithPathSelection Graphics.UI.Gtk.Types.TreeView Graphics.UI.Gtk.Types.TreeViewColumn
+ Graphics.UI.Gtk.Layout.BackgroundContainer: instance Graphics.UI.Gtk.Types.BinClass Graphics.UI.Gtk.Layout.BackgroundContainer.BackgroundContainer
+ Graphics.UI.Gtk.Layout.BackgroundContainer: instance Graphics.UI.Gtk.Types.ContainerClass Graphics.UI.Gtk.Layout.BackgroundContainer.BackgroundContainer
+ Graphics.UI.Gtk.Layout.BackgroundContainer: instance Graphics.UI.Gtk.Types.EventBoxClass Graphics.UI.Gtk.Layout.BackgroundContainer.BackgroundContainer
+ Graphics.UI.Gtk.Layout.BackgroundContainer: instance Graphics.UI.Gtk.Types.ObjectClass Graphics.UI.Gtk.Layout.BackgroundContainer.BackgroundContainer
+ Graphics.UI.Gtk.Layout.BackgroundContainer: instance Graphics.UI.Gtk.Types.WidgetClass Graphics.UI.Gtk.Layout.BackgroundContainer.BackgroundContainer
+ Graphics.UI.Gtk.Layout.BackgroundContainer: instance System.Glib.Types.GObjectClass Graphics.UI.Gtk.Layout.BackgroundContainer.BackgroundContainer
+ Graphics.UI.Gtk.Layout.DummyBin: instance Graphics.UI.Gtk.Types.ContainerClass Graphics.UI.Gtk.Layout.DummyBin.DummyBin
+ Graphics.UI.Gtk.Layout.DummyBin: instance Graphics.UI.Gtk.Types.ObjectClass Graphics.UI.Gtk.Layout.DummyBin.DummyBin
+ Graphics.UI.Gtk.Layout.DummyBin: instance Graphics.UI.Gtk.Types.WidgetClass Graphics.UI.Gtk.Layout.DummyBin.DummyBin
+ Graphics.UI.Gtk.Layout.DummyBin: instance System.Glib.Types.GObjectClass Graphics.UI.Gtk.Layout.DummyBin.DummyBin
+ Graphics.UI.Gtk.Layout.EitherWidget: instance Graphics.UI.Gtk.Types.ObjectClass (Graphics.UI.Gtk.Layout.EitherWidget.EitherWidget a b)
+ Graphics.UI.Gtk.Layout.EitherWidget: instance Graphics.UI.Gtk.Types.WidgetClass (Graphics.UI.Gtk.Layout.EitherWidget.EitherWidget a b)
+ Graphics.UI.Gtk.Layout.EitherWidget: instance System.Glib.Types.GObjectClass (Graphics.UI.Gtk.Layout.EitherWidget.EitherWidget a b)
+ Graphics.UI.Gtk.Layout.MaybeWidget: instance Graphics.UI.Gtk.Types.ObjectClass (Graphics.UI.Gtk.Layout.MaybeWidget.MaybeWidget a)
+ Graphics.UI.Gtk.Layout.MaybeWidget: instance Graphics.UI.Gtk.Types.WidgetClass (Graphics.UI.Gtk.Layout.MaybeWidget.MaybeWidget a)
+ Graphics.UI.Gtk.Layout.MaybeWidget: instance System.Glib.Types.GObjectClass (Graphics.UI.Gtk.Layout.MaybeWidget.MaybeWidget a)
- Data.Board.GameBoardIO: arrayMapM_ :: Ix index => IOArray index a -> (index -> a -> IO ()) -> IO ()
+ Data.Board.GameBoardIO: arrayMapM_ :: (Ix index) => IOArray index a -> (index -> a -> IO ()) -> IO ()
- Data.Board.GameBoardIO: gameBoardClear :: Ix index => GameBoard index a -> IO ()
+ Data.Board.GameBoardIO: gameBoardClear :: (Ix index) => GameBoard index a -> IO ()
- Data.Board.GameBoardIO: gameBoardClone :: Ix index => GameBoard index a -> IO (GameBoard index a)
+ Data.Board.GameBoardIO: gameBoardClone :: (Ix index) => GameBoard index a -> IO (GameBoard index a)
- Data.Board.GameBoardIO: gameBoardFoldM :: Ix index => GameBoard index a -> (b -> ((index, index), a) -> IO b) -> b -> IO b
+ Data.Board.GameBoardIO: gameBoardFoldM :: (Ix index) => GameBoard index a -> (b -> ((index, index), a) -> IO b) -> b -> IO b
- Data.Board.GameBoardIO: gameBoardGetBoundaries :: Ix index => GameBoard index a -> IO ((index, index), (index, index))
+ Data.Board.GameBoardIO: gameBoardGetBoundaries :: (Ix index) => GameBoard index a -> IO ((index, index), (index, index))
- Data.Board.GameBoardIO: gameBoardMapM_ :: Ix index => GameBoard index a -> ((index, index) -> a -> IO ()) -> IO ()
+ Data.Board.GameBoardIO: gameBoardMapM_ :: (Ix index) => GameBoard index a -> ((index, index) -> a -> IO ()) -> IO ()
- Data.Board.GameBoardIO: gameBoardNew :: Ix index => [(index, index, e)] -> IO (GameBoard index e)
+ Data.Board.GameBoardIO: gameBoardNew :: (Ix index) => [(index, index, e)] -> IO (GameBoard index e)
- Data.Board.GameBoardIO: gameBoardNewWithBoundaries :: Ix index => ((index, index), (index, index)) -> [(index, index, e)] -> IO (GameBoard index e)
+ Data.Board.GameBoardIO: gameBoardNewWithBoundaries :: (Ix index) => ((index, index), (index, index)) -> [(index, index, e)] -> IO (GameBoard index e)
- Graphics.UI.Gtk.Board.TiledBoard: boardFoldM :: Ix index => Board index tile piece -> (b -> ((index, index), piece) -> IO b) -> b -> IO b
+ Graphics.UI.Gtk.Board.TiledBoard: boardFoldM :: (Ix index) => Board index tile piece -> (b -> ((index, index), piece) -> IO b) -> b -> IO b
- Graphics.UI.Gtk.Extra.Builder: fromBuilder :: GObjectClass cls => (GObject -> cls) -> String -> Builder -> IO cls
+ Graphics.UI.Gtk.Extra.Builder: fromBuilder :: (GObjectClass cls) => (GObject -> cls) -> String -> Builder -> IO cls
- Graphics.UI.Gtk.Extra.BuilderTH: fromBuilder :: GObjectClass cls => (GObject -> cls) -> String -> Builder -> IO cls
+ Graphics.UI.Gtk.Extra.BuilderTH: fromBuilder :: (GObjectClass cls) => (GObject -> cls) -> String -> Builder -> IO cls
- Graphics.UI.Gtk.Helpers.Combo: typedComboBoxSetSelected :: Eq a => TypedComboBox a -> a -> IO ()
+ Graphics.UI.Gtk.Helpers.Combo: typedComboBoxSetSelected :: (Eq a) => TypedComboBox a -> a -> IO ()
- Graphics.UI.Gtk.Layout.MaybeWidget: maybeWidgetNewWithLabel :: WidgetClass a => a -> Maybe String -> IO (MaybeWidget a)
+ Graphics.UI.Gtk.Layout.MaybeWidget: maybeWidgetNewWithLabel :: (WidgetClass a) => a -> Maybe String -> IO (MaybeWidget a)

Files

+ README view
@@ -0,0 +1,3 @@+This package contains GTK-related functions that I use often in my programs.++It contains helper functions and custom widgets.
gtk-helpers.cabal view
@@ -1,18 +1,18 @@ Name:                gtk-helpers-Version:             0.0.7-Synopsis:            A collection of auxiliary operations and widgets related to Gtk--- Description:         +Version:             0.0.9.1+Synopsis:            A collection of auxiliary operations and widgets related to Gtk++Description:         A collection of auxiliary operations and widgets related to Gtk+. Homepage:            http://keera.es/blog/community License:             BSD3 License-file:        LICENSE Author:              Ivan Perez Maintainer:          ivan.perez@keera.es--- Copyright:           +-- Copyright: Stability:           Experimental Category:            Graphics Build-type:          Simple--- Extra-source-files:  -Cabal-version:       >=1.2+Extra-source-files:  README+Cabal-version:       >=1.6  Library   Build-depends:       base >= 4 && < 5,@@ -20,10 +20,10 @@    hs-source-dirs:      src/ -  -- Build-tools:         +  -- Build-tools:   ghc-options: -Wall -  -- Exposed-modules:     +  -- Exposed-modules:   exposed-modules: Data.Board.GameBoardIO                  , Game.Board.BasicTurnGame                  , Graphics.UI.Gtk.Board.TiledBoard@@ -46,3 +46,7 @@                  , Graphics.UI.Gtk.Layout.EitherWidget                  , Graphics.UI.Gtk.Layout.MaybeWidget                  , System.Application++Source-Repository head+  Type:                 git+  Location:             git@github.com:keera-studios/gtk-helpers.git