Base class that represents a window to the Fling Engine.
More...
#include <FlingWindow.h>
Inherits Fling::NonCopyable.
Inherited by Fling::DesktopWindow.
Base class that represents a window to the Fling Engine.
◆ ~FlingWindow()
| virtual Fling::FlingWindow::~FlingWindow |
( |
| ) |
|
|
virtualdefault |
◆ Create()
Create a window with the given data.
Implemented per platform
◆ CreateSurface()
| virtual void Fling::FlingWindow::CreateSurface |
( |
void * |
t_GraphicsInstance, |
|
|
void * |
t_SurfData |
|
) |
| |
|
pure virtual |
◆ GetAspectRatio()
| virtual float Fling::FlingWindow::GetAspectRatio |
( |
| ) |
const |
|
pure virtual |
◆ GetHeight()
| virtual UINT32 Fling::FlingWindow::GetHeight |
( |
| ) |
const |
|
pure virtual |
◆ GetMouseVisible()
| virtual bool Fling::FlingWindow::GetMouseVisible |
( |
| ) |
|
|
pure virtual |
◆ GetWidth()
| virtual UINT32 Fling::FlingWindow::GetWidth |
( |
| ) |
const |
|
pure virtual |
◆ GetWindowMode()
| virtual WindowMode Fling::FlingWindow::GetWindowMode |
( |
| ) |
|
|
pure virtual |
◆ IsMinimized()
| virtual bool Fling::FlingWindow::IsMinimized |
( |
| ) |
const |
|
pure virtual |
Check if this window is currently minimized.
- Returns
- True if the window is currently minimized
Implemented in Fling::DesktopWindow.
◆ RecreateSwapChain()
| virtual void Fling::FlingWindow::RecreateSwapChain |
( |
| ) |
|
|
pure virtual |
Any work that this window needs to do for swap chain recreation.
Implemented in Fling::DesktopWindow.
◆ SetMouseVisible()
| virtual void Fling::FlingWindow::SetMouseVisible |
( |
bool |
t_IsVisible | ) |
|
|
pure virtual |
◆ SetWindowIcon()
| virtual void Fling::FlingWindow::SetWindowIcon |
( |
Guid |
t_ID | ) |
|
|
pure virtual |
Set this window's icon.
- Parameters
-
| t_ID | the GUID of the window icon |
Implemented in Fling::DesktopWindow.
◆ SetWindowMode()
| virtual void Fling::FlingWindow::SetWindowMode |
( |
WindowMode |
t_WindowMode | ) |
|
|
pure virtual |
Changes window mode between fullscreen, window, and borderless window.
Implemented in Fling::DesktopWindow.
◆ ShouldClose()
| virtual int Fling::FlingWindow::ShouldClose |
( |
| ) |
|
|
pure virtual |
◆ Update()
| virtual void Fling::FlingWindow::Update |
( |
| ) |
|
|
pure virtual |
◆ m_IsMouseVisible
| bool Fling::FlingWindow::m_IsMouseVisible = true |
|
protected |
Tracks mouse visibility in window.
◆ m_WindowMode
Tracks current window mode.
The documentation for this class was generated from the following files: