Changeset 429ac01 in opengl-game for game-gui-sdl.cpp


Ignore:
Timestamp:
Mar 7, 2021, 11:13:29 PM (3 years ago)
Author:
Dmitry Portnoy <dportnoy@…>
Branches:
feature/imgui-sdl
Children:
40eb092
Parents:
5192672
Message:

Remove UnknownEvent since it doesn't add any new fields and add a UI_EVENT_UNHANDLED type to distinguish between UI events I haven't considered handling at all and ones I am aware of, but do not use right now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • game-gui-sdl.cpp

    r5192672 r429ac01  
    138138         case SDL_TEXTEDITING:
    139139         case SDL_MOUSEWHEEL:
    140             event->type = UI_EVENT_UNKNOWN;
     140            event->type = UI_EVENT_UNHANDLED;
    141141            break;
    142142         default:
Note: See TracChangeset for help on using the changeset viewer.