Changeset d8cf709 in opengl-game for gui/screen.cpp


Ignore:
Timestamp:
Feb 13, 2021, 11:41:39 PM (4 years ago)
Author:
Dmitry Portnoy <dportnoy@…>
Branches:
feature/imgui-sdl
Children:
c6f0793
Parents:
8b823e7
Message:

Change UIEvent to also include the original event from the UI library the game gui is currently using, such as SDL or GLFW.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/screen.cpp

    r8b823e7 rd8cf709  
    2929}
    3030
    31 void Screen::handleEvent(UIEvent& e) {
     31void Screen::handleEvent(GameEvent& e) {
    3232   for (UIElement*& uiElement : this->uiElements) {
    3333      uiElement->handleEvent(e);
Note: See TracChangeset for help on using the changeset viewer.