HGamer3D-Ogre-Binding-0.1.8: Library to enable 3D game development for Haskell - Ogre Bindings

Safe HaskellSafe-Infered

HGamer3D.Bindings.Ogre.ClassRenderWindow

Synopsis

Documentation

setFullscreenSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> Bool

fullScreen - Whether to use fullscreen mode or not.

-> Int

width - The new width to use

-> Int

height - The new height to use

-> IO () 

Alter fullscreen mode options. Nothing will happen unless the settings here are different from the current settings.

destroySource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO () 

Alter the size of the window.

Destroys the window.

resizeSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> Int

width

-> Int

height

-> IO () 

Notify that the window has been resized You don't need to call this unless you created the window externally.

windowMovedOrResizedSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO () 

Reposition the window.

repositionSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> Int

left

-> Int

top

-> IO () 

Indicates whether the window is visible (not minimized or obscured)

isVisibleSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO Bool 

setVisibleSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> Bool

visible

-> IO () 

Overridden from RenderTarget

Set the visibility state

isActiveSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO Bool 

isClosedSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO Bool 

Indicates whether the window has been closed by the user.

isPrimarySource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO Bool 

Indicates whether the window is the primary window. The primary window is special in that it is destroyed when ogre is shut down, and cannot be destroyed directly. This is the case because it holds the context for vertex, index buffers and textures.

isFullScreenSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO Bool 

Returns true if window is running in fullscreen mode.

getMetricsSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO (Int, Int, Int, Int, Int)

width

Overloaded version of getMetrics from RenderTarget

isDeactivatedOnFocusChangeSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> IO Bool 

Returns true if the window will automatically de-activate itself when it loses focus.

setDeactivateOnFocusChangeSource

Arguments

:: HG3DClass

classpointer - pointer of Class instance from which this methods is called.

-> Bool

deactivate - a value of true will cause the window to deactivate itself when it loses focus. false will allow it to continue to render even when window focus is lost.

-> IO () 

Indicates whether the window will automatically deactivate itself when it loses focus. true is the default behavior.