Hets - the Heterogeneous Tool Set

Copyright(c) Jorina Freya Gerken, Till Mossakowski, Uni Bremen 2002-2006
LicenseGPLv2 or higher, see LICENSE.txt
Maintainertill@informatik.uni-bremen.de
Stabilityprovisional
Portabilitynon-portable (imports Logic)
Safe HaskellNone

GUI.GraphTypes

Description

 

Synopsis

Documentation

data GInfo

Global datatype for all GUI functions

updateWindowCount :: GInfo -> (Int -> Int) -> IO ()

exitGInfo :: GInfo -> IO ()

Returns the exit-function

type ConvFunc = GInfo -> String -> LibFunc -> IO ()

Type of the convertGraph function. Used as type of a parameter of some functions in GraphMenu and GraphLogic.

type LibFunc = GInfo -> IO ()

data Colors

Colors to use.

Constructors

Black 
Blue 
Coral 
Green 
Yellow 
Purple 

Instances

data Flags

Constructors

Flags 

getColor

Arguments

:: HetcatsOpts 
-> Colors

Colorname

-> Bool

Colorvariant

-> Bool

Lightvariant

-> String 

Converts colors to grayscale if needed

emptyGInfo :: IO GInfo

Creates an empty GInfo

copyGInfo :: GInfo -> LibName -> IO GInfo

Creates an empty GInfo

lockGlobal :: GInfo -> IO ()

Acquire the global lock. If already locked it waits till it is unlocked again.

unlockGlobal :: GInfo -> IO ()

Releases the global lock.