Safe Haskell | None |
---|
- 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 ()
- isHidden :: HG3DClass -> IO Bool
- setHidden :: HG3DClass -> Bool -> IO ()
- setVSyncEnabled :: HG3DClass -> Bool -> IO ()
- isVSyncEnabled :: HG3DClass -> IO Bool
- setVSyncInterval :: HG3DClass -> Int -> IO ()
- getVSyncInterval :: HG3DClass -> IO Int
- 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 ()
- isHidden'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- setHidden'_ :: HG3DClassPtr -> CInt -> IO ()
- setVSyncEnabled'_ :: HG3DClassPtr -> CInt -> IO ()
- isVSyncEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- setVSyncInterval'_ :: HG3DClassPtr -> CUInt -> IO ()
- getVSyncInterval'_ :: HG3DClassPtr -> Ptr CUInt -> 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 () |
Destroys the window.
Alter fullscreen mode options. Nothing will happen unless the settings here are different from the current settings.
Alter the size of 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 () |
Indicates whether the window was set to hidden (not displayed)
Set the visibility state
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | hidden |
-> IO () |
Enable or disable vertical sync for the RenderWindow
Hide (or show) the window. If called with hidden=true, this will make the window completely invisible to the user. Setting a window to hidden is useful to create a dummy primary RenderWindow
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | vsync |
-> IO () |
Indicates whether vertical sync is activated for the window.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Int | interval |
-> IO () |
Returns the vertical sync interval.
Set the vertical sync interval. This indicates the number of vertical retraces to wait for before swapping buffers. A value of 1 is the default.
Overridden from RenderTarget
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
windowMovedOrResized'_ :: HG3DClassPtr -> IO ()Source
reposition'_ :: HG3DClassPtr -> CInt -> CInt -> IO ()Source
isVisible'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
setVisible'_ :: HG3DClassPtr -> CInt -> IO ()Source
isHidden'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
setHidden'_ :: HG3DClassPtr -> CInt -> IO ()Source
setVSyncEnabled'_ :: HG3DClassPtr -> CInt -> IO ()Source
isVSyncEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
setVSyncInterval'_ :: HG3DClassPtr -> CUInt -> IO ()Source
getVSyncInterval'_ :: HG3DClassPtr -> Ptr CUInt -> 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
getMetrics'_ :: HG3DClassPtr -> Ptr CUInt -> Ptr CUInt -> Ptr CUInt -> Ptr CInt -> Ptr CInt -> IO ()Source
isDeactivatedOnFocusChange'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
setDeactivateOnFocusChange'_ :: HG3DClassPtr -> CInt -> IO ()Source