packages feed

Chart-gtk 1.1 → 1.2

raw patch · 2 files changed

+3/−36 lines, 2 filesdep ~Chartdep ~Chart-cairo

Dependency ranges changed: Chart, Chart-cairo

Files

Chart-gtk.cabal view
@@ -1,5 +1,5 @@ Name: Chart-gtk-Version: 1.1+Version: 1.2 License: BSD3 License-file: LICENSE Copyright: Tim Docker, 2006-2010@@ -20,12 +20,11 @@                , colour >= 2.2.1 && < 2.4                , colour >= 2.2.1                , gtk >= 0.9.11-               , Chart >= 1.1 && < 1.2-               , Chart-cairo >= 1.1 && < 1.2+               , Chart >= 1.2 && < 1.3+               , Chart-cairo >= 1.2 && < 1.3    Exposed-modules:         Graphics.Rendering.Chart.Gtk-        Graphics.Rendering.Chart.Gtk.Simple  source-repository head   type:     git
− Graphics/Rendering/Chart/Gtk/Simple.hs
@@ -1,32 +0,0 @@--------------------------------------------------------------------------------- |--- Module      :  Graphics.Rendering.Chart.Gtk.Simple--- Copyright   :  (c) David Roundy 2007, Tim Docker 2012--- License     :  BSD-style (see chart/COPYRIGHT)------ Additional gtk specific functions to support the "simple" chart--- framework. See Graphics.Rendering.Chart.Simple for details.--------------------------------------------------------------------------------module Graphics.Rendering.Chart.Gtk.Simple(-   plotWindow-   ) where--import Graphics.Rendering.Chart-import Graphics.Rendering.Chart.Gtk-import Graphics.Rendering.Chart.Simple.Internal---- | Display a plot on the screen.--plotWindow :: PlotWindowType a => a-plotWindow = plw []-class PlotWindowType t where-    plw     :: [UPlot] -> t-instance (PlotArg a, PlotWindowType r) => PlotWindowType (a -> r) where-    plw args = \ a -> plw (toUPlot a ++ args)-instance PlotWindowType (IO a) where-    plw args = do-        renderableToWindow (layoutDddToRenderable $ uplot (reverse args)) 640 480-        return undefined--