Changeset e1f88a9 in opengl-game for game-gui.hpp


Ignore:
Timestamp:
Jun 10, 2020, 2:36:24 AM (4 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master
Children:
699e83a
Parents:
4e705d6
Message:

Create a system to draw and switch between different screens, a Screen class, a MainScreen class that extends it, and some classes for UI elements that can be added to screens.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • game-gui.hpp

    r4e705d6 re1f88a9  
    1010
    1111using namespace std;
     12
     13// TODO: See if it makes sense to combine this with the files in the gui folder
    1214
    1315enum EventType {
     
    5456};
    5557
     58// TODO: Switch from union to std::variant
     59
    5660union UIEvent {
    5761   EventType type;
Note: See TracChangeset for help on using the changeset viewer.