gloss-1.13.2.1: Painless 2D vector graphics, animations and simulations.
Safe HaskellNone
LanguageHaskell2010

Graphics.Gloss.Data.ViewState

Synopsis

Documentation

data Command #

The commands suported by the view controller.

Instances

Instances details
Eq Command # 
Instance details

Defined in Graphics.Gloss.Data.ViewState

Methods

(==) :: Command -> Command -> Bool #

(/=) :: Command -> Command -> Bool #

Ord Command # 
Instance details

Defined in Graphics.Gloss.Data.ViewState

Show Command # 
Instance details

Defined in Graphics.Gloss.Data.ViewState

defaultCommandConfig :: CommandConfig #

The default commands. Left click pans, wheel zooms, right click rotates, "r" key resets.

data ViewState #

State for controlling the viewport. These are used by the viewport control component.

Constructors

ViewState 

Fields

viewStateInit :: ViewState #

The initial view state.

viewStateInitWithConfig :: CommandConfig -> ViewState #

Initial view state, with user defined config.