Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
Public Member Functions | List of all members
cqsp::engine::Window Class Referenceabstract

The window handles the initialization of the callbacks, and all the input and output. It also manages all the pointers for the windows. More...

#include <window.h>

Inheritance diagram for cqsp::engine::Window:
cqsp::engine::GLWindow

Public Member Functions

virtual bool ButtonIsHeld (int btn) const =0
 
virtual bool ButtonIsReleased (int btn) const =0
 
virtual bool ButtonIsPressed (int btn) const =0
 
virtual double GetMouseX () const =0
 
virtual double GetMouseY () const =0
 
virtual bool MouseButtonIsHeld (int btn) const =0
 
virtual bool MouseButtonIsReleased (int btn) const =0
 
virtual bool MouseButtonIsPressed (int btn) const =0
 
virtual bool MouseDragged () const =0
 
virtual double MouseButtonLastReleased (int btn) const =0
 
virtual bool MouseButtonDoubleClicked (int btn) const =0
 
virtual int GetScrollAmount () const =0
 
virtual void SetWindowSize (int width, int height)=0
 
virtual int GetWindowHeight () const =0
 
virtual int GetWindowWidth () const =0
 
virtual void SetCallbacks ()=0
 
virtual void Destroy ()=0
 
virtual void OnFrame ()=0
 Any cleanups or clearing the window has to do each frame More...
 
virtual void InitWindow (int width, int height)=0
 
virtual bool WindowSizeChanged () const =0
 
virtual float GetTime () const =0
 
virtual void SetFullScreen (bool fullscreen) const =0
 
virtual bool ShouldExit () const =0
 
virtual bool ExitApplication ()=0
 
virtual void SetIcon (std::string_view path)=0
 

Detailed Description

The window handles the initialization of the callbacks, and all the input and output. It also manages all the pointers for the windows.

Member Function Documentation

◆ ButtonIsHeld()

virtual bool cqsp::engine::Window::ButtonIsHeld ( int  btn) const
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ ButtonIsPressed()

virtual bool cqsp::engine::Window::ButtonIsPressed ( int  btn) const
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ ButtonIsReleased()

virtual bool cqsp::engine::Window::ButtonIsReleased ( int  btn) const
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ Destroy()

virtual void cqsp::engine::Window::Destroy ( )
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ ExitApplication()

virtual bool cqsp::engine::Window::ExitApplication ( )
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ GetMouseX()

virtual double cqsp::engine::Window::GetMouseX ( ) const
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ GetMouseY()

virtual double cqsp::engine::Window::GetMouseY ( ) const
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ GetScrollAmount()

virtual int cqsp::engine::Window::GetScrollAmount ( ) const
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ GetTime()

virtual float cqsp::engine::Window::GetTime ( ) const
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ GetWindowHeight()

virtual int cqsp::engine::Window::GetWindowHeight ( ) const
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ GetWindowWidth()

virtual int cqsp::engine::Window::GetWindowWidth ( ) const
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ InitWindow()

virtual void cqsp::engine::Window::InitWindow ( int  width,
int  height 
)
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ MouseButtonDoubleClicked()

virtual bool cqsp::engine::Window::MouseButtonDoubleClicked ( int  btn) const
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ MouseButtonIsHeld()

virtual bool cqsp::engine::Window::MouseButtonIsHeld ( int  btn) const
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ MouseButtonIsPressed()

virtual bool cqsp::engine::Window::MouseButtonIsPressed ( int  btn) const
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ MouseButtonIsReleased()

virtual bool cqsp::engine::Window::MouseButtonIsReleased ( int  btn) const
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ MouseButtonLastReleased()

virtual double cqsp::engine::Window::MouseButtonLastReleased ( int  btn) const
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ MouseDragged()

virtual bool cqsp::engine::Window::MouseDragged ( ) const
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ OnFrame()

virtual void cqsp::engine::Window::OnFrame ( )
pure virtual

Any cleanups or clearing the window has to do each frame

Implemented in cqsp::engine::GLWindow.

◆ SetCallbacks()

virtual void cqsp::engine::Window::SetCallbacks ( )
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ SetFullScreen()

virtual void cqsp::engine::Window::SetFullScreen ( bool  fullscreen) const
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ SetIcon()

virtual void cqsp::engine::Window::SetIcon ( std::string_view  path)
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ SetWindowSize()

virtual void cqsp::engine::Window::SetWindowSize ( int  width,
int  height 
)
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ ShouldExit()

virtual bool cqsp::engine::Window::ShouldExit ( ) const
pure virtual

Implemented in cqsp::engine::GLWindow.

◆ WindowSizeChanged()

virtual bool cqsp::engine::Window::WindowSizeChanged ( ) const
pure virtual

Implemented in cqsp::engine::GLWindow.


The documentation for this class was generated from the following file: