cae  0.0.0
Cross-API graphics engine
Loading...
Searching...
No Matches
cae::AWindow Class Reference

#include <AWindow.hpp>

+ Inheritance diagram for cae::AWindow:
+ Collaboration diagram for cae::AWindow:

Public Member Functions

 ~AWindow () override=default
 
- Public Member Functions inherited from cae::IWindow
 ~IWindow () override=default
 
virtual bool create (const std::string &name, WindowSize size)=0
 Create a window with the given name and size.
 
virtual void close ()=0
 Close the window.
 
virtual NativeWindowHandle getNativeHandle () const =0
 Get the native window handle.
 
virtual WindowSize getWindowSize () const =0
 Get the current window size.
 
virtual void setIcon (const std::string &path) const =0
 Set the window icon from the given image path.
 
virtual bool shouldClose () const =0
 Check if the window should close.
 
virtual void pollEvents ()=0
 Poll window events.
 
virtual bool pollEvent (WindowEvent &outEvent)=0
 Poll window events into outEvent.
 
virtual bool wasResized () const =0
 Check if the window was resized.
 
virtual void resetResizedFlag ()=0
 Reset the resized flag.
 
- Public Member Functions inherited from utl::IPlugin
virtual ~IPlugin ()=default
 
virtual std::string getName () const =0
 Get the name of the plugin.
 
virtual PluginType getType () const =0
 Get the type of the plugin.
 
virtual PluginPlatform getPlatform () const =0
 Get the handled platform of the plugin.
 

Detailed Description

Definition at line 19 of file AWindow.hpp.

Constructor & Destructor Documentation

◆ ~AWindow()

cae::AWindow::~AWindow ( )
overridedefault

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