Changes in game-gui.hpp [a0da009:0e09340] in opengl-game


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • game-gui.hpp

    ra0da009 r0e09340  
    44#include <string>
    55#include <vector>
     6
     7// TODO: Remove the line below once the couts in the game-gui-* files are moved
     8#include <iostream>
    69
    710#ifdef GAMEGUI_INCLUDE_VULKAN
     
    1821   UI_EVENT_MOUSEBUTTONDOWN,
    1922   UI_EVENT_MOUSEBUTTONUP,
    20    UI_EVENT_MOUSEMOTION,
    21    UI_EVENT_UNKNOWN
     23   UI_EVENT_MOUSEMOTION
    2224};
    2325
     
    3335struct MouseEvent {
    3436   EventType type;
    35    /*
    36       int button;
    37       int action;
    38       int x;
    39       int y;
    40    */
    41 };
    42 
    43 struct UnknownEvent {
    44    EventType type;
    45    unsigned int eventType;
    4637};
    4738
     
    5142   KeyEvent key;
    5243   MouseEvent mouse;
    53    UnknownEvent unknown;
    5444};
     45
     46/*
     47struct MouseEvent {
     48   int button;
     49   int action;
     50   int x;
     51   int y;
     52};
     53*/
    5554
    5655class GameGui {
Note: See TracChangeset for help on using the changeset viewer.