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


Ignore:
Timestamp:
Jun 8, 2020, 6:49:39 PM (5 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master
Children:
4e705d6
Parents:
4a9416a
Message:

Add x and y coordinates to mouse events

File:
1 edited

Legend:

Unmodified
Added
Removed
  • game-gui.hpp

    r4a9416a rb8d4456  
    3535struct MouseEvent {
    3636   EventType type;
     37   int x;
     38   int y;
    3739   /*
    3840      int button;
    3941      int action;
    40       int x;
    41       int y;
    4242   */
    4343};
Note: See TracChangeset for help on using the changeset viewer.