Safe Haskell | Safe-Infered |
---|
- setFullscreen :: HG3DClass -> Bool -> Int -> Int -> IO ()
- destroy :: HG3DClass -> IO ()
- resize :: HG3DClass -> Int -> Int -> IO ()
- windowMovedOrResized :: HG3DClass -> IO ()
- reposition :: HG3DClass -> Int -> Int -> IO ()
- isVisible :: HG3DClass -> IO Bool
- setVisible :: HG3DClass -> Bool -> IO ()
- isActive :: HG3DClass -> IO Bool
- isClosed :: HG3DClass -> IO Bool
- isPrimary :: HG3DClass -> IO Bool
- isFullScreen :: HG3DClass -> IO Bool
- getMetrics :: HG3DClass -> IO (Int, Int, Int, Int, Int)
- isDeactivatedOnFocusChange :: HG3DClass -> IO Bool
- setDeactivateOnFocusChange :: HG3DClass -> Bool -> IO ()
- setFullscreen'_ :: HG3DClassPtr -> CInt -> CUInt -> CUInt -> IO ()
- destroy'_ :: HG3DClassPtr -> IO ()
- resize'_ :: HG3DClassPtr -> CUInt -> CUInt -> IO ()
- windowMovedOrResized'_ :: HG3DClassPtr -> IO ()
- reposition'_ :: HG3DClassPtr -> CInt -> CInt -> IO ()
- isVisible'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- setVisible'_ :: HG3DClassPtr -> CInt -> IO ()
- isActive'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- isClosed'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- isPrimary'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- isFullScreen'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- getMetrics'_ :: HG3DClassPtr -> Ptr CUInt -> Ptr CUInt -> Ptr CUInt -> Ptr CInt -> Ptr CInt -> IO ()
- isDeactivatedOnFocusChange'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- setDeactivateOnFocusChange'_ :: HG3DClassPtr -> CInt -> IO ()
Documentation
:: 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.
Alter the size of the window.
Destroys the window.
:: 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.
Reposition the window.
:: 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)
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | visible |
-> IO () |
Overridden from RenderTarget
Set the visibility state
Indicates whether the window has been closed by the user.
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.
Returns true if window is running in fullscreen mode.
:: 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
Returns true if the window will automatically de-activate itself when it loses focus.
setDeactivateOnFocusChangeSource
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | deactivate - a value of |
-> IO () |
Indicates whether the window will automatically deactivate itself when it loses focus. true
is the default behavior.
setFullscreen'_ :: HG3DClassPtr -> CInt -> CUInt -> CUInt -> IO ()Source
destroy'_ :: HG3DClassPtr -> IO ()Source
reposition'_ :: HG3DClassPtr -> CInt -> CInt -> IO ()Source
isVisible'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
setVisible'_ :: HG3DClassPtr -> CInt -> IO ()Source
isActive'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
isClosed'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
isPrimary'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
isFullScreen'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source