Aether
SDL2 based UI Framework for NX
Overlay.hpp
1 #ifndef AETHER_OVERLAY_HPP
2 #define AETHER_OVERLAY_HPP
3 
4 #include "Aether/Screen.hpp"
5 
6 namespace Aether {
14  class Overlay : public Screen {
15  private:
17  bool close_;
18 
19  public:
23  Overlay();
24 
28  void close();
29 
34  void reuse();
35 
42  bool shouldClose();
43 
47  void render();
48  };
49 };
50 
51 #endif
bool shouldClose()
Check if overlay is marked to be closed.
Overlay()
Construct a new Overlay object.
A class that represents a screen layout Stores all screen elements for a specific screen...
Definition: Screen.hpp:12
void close()
Mark overlay to be closed.
void render()
Draws background then renders overlay.
Base namespace for all Aether related classes and functions.
void reuse()
Mark overlay to be able to used (readded) again.
An object representing an overlay.
Definition: Overlay.hpp:14