DGLE2   Young, strong and crazy!
Public Member Functions | List of all members
IEvGoFullScreen Class Referenceabstract

Event occurs when engine is going fullscreen or go back to windowed mode from fullscreen mode. More...

#include <DGLE.h>

Inheritance diagram for IEvGoFullScreen:
IBaseEvent IDGLE_Base

Public Member Functions

virtual DGLE_RESULT DGLE_API GetResolution (uint &uiScreenWidth, uint &uiScreenHeight, bool &bGoFullScreen)=0
 Get display resolution or window size (when switching from fullscreen mode) to be set by engine.
 
virtual DGLE_RESULT DGLE_API SetResolution (uint uiScreenWidth, uint uiScreenHeight)=0
 Adjust display resolution or window size (when switching from fullscreen mode).
 
- Public Member Functions inherited from IBaseEvent
virtual DGLE_RESULT DGLE_API GetEventType (E_EVENT_TYPE &eEvType)=0
 Returns type of event.
 
virtual DGLE_RESULT DGLE_API GetUnknownEventType (uint &uiUnknEvType)=0
 In case event type is ET_UNKNOWN, you can use this function to get specific event type id.
 
- Public Member Functions inherited from IDGLE_Base
virtual DGLE_RESULT DGLE_API GetGUID (GUID &guid)=0
 Returns unique identifier of the last interface in the inheritance chain.
 
virtual DGLE_RESULT DGLE_API ExecuteCommand (uint uiCmd, TVariant &stVar)=0
 Executes some command using its index or bitmask.
 
virtual DGLE_RESULT DGLE_API ExecuteTextCommand (const char *pcCommand, TVariant &stVar)=0
 Executes some text command and returns result as variant.
 
virtual DGLE_RESULT DGLE_API ExecuteTextCommandEx (const char *pcCommand, char *pcResult, uint &uiCharsCount)=0
 Executes some text command and returns result as string.
 

Detailed Description

Event occurs when engine is going fullscreen or go back to windowed mode from fullscreen mode.

On this event you can adjust display resolution.

Note
If you want to prevent engine from going fullscreen mode on hotkey combination see EWF_RESTRICT_FULLSCREEN_HOTKEY flag.
See Also
ET_ON_FULLSCREEN, IBaseEvent, EWF_RESTRICT_FULLSCREEN_HOTKEY

Member Function Documentation

virtual DGLE_RESULT DGLE_API GetResolution ( uint uiScreenWidth,
uint uiScreenHeight,
bool &  bGoFullScreen 
)
pure virtual

Get display resolution or window size (when switching from fullscreen mode) to be set by engine.

Parameters
[out]uiScreenWidthDisplay resolution width or window width in pixels.
[out]uiScreenHeightDisplay resolution height or window height in pixels.
[out]bGoFullScreenIf true engine is switching to fullscreen mode or to windowed mode in other case.
virtual DGLE_RESULT DGLE_API SetResolution ( uint  uiScreenWidth,
uint  uiScreenHeight 
)
pure virtual

Adjust display resolution or window size (when switching from fullscreen mode).

Parameters
[in]uiScreenWidthNew display resolution width or window width in pixels.
[in]uiScreenHeightNew display resolution height or window height in pixels.

Sun Nov 16 2014 09:47:29   Generated by   doxygen   Content copyrighted to DGLE Team