Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 12348


Ignore:
Timestamp:
May 9, 2019, 12:32:44 PM (6 years ago)
Author:
tkuonen
Message:

Fix Build

Location:
code/branches/MouseAPI_FS19/src/modules/MouseAPI
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/MouseAPI_FS19/src/modules/MouseAPI/mouseapi.h

    r12333 r12348  
    1818#include "core/GUIManager.h"
    1919#include "core/input/KeyBinderManager.h"
     20#include "tools/interfaces/Tickable.h"
    2021
    2122/* This class implements a basic mouse-api
     
    3839typedef uint ScrollableElementID;
    3940
    40 class MouseAPI : public InputHandler, public Singleton<MouseAPI>
     41class MouseAPI : public InputHandler, public Singleton<MouseAPI>,public Tickable
    4142{
    4243friend class Singleton<MouseAPI>;
     
    100101    ~MouseAPI();
    101102
     103    virtual void tick(float dt) override;
     104
    102105    /* everytime a mousebutton is pressed, this function is called and checks if the cursor is over an element that can be clicked on
    103106     * if yes, the function associated with this element will be called with the corresponding button as argument
  • code/branches/MouseAPI_FS19/src/modules/MouseAPI/mouseapicursor.cc

    r12334 r12348  
    77MouseAPICursor::MouseAPICursor(Context* context):OrxonoxOverlay(context)
    88{
     9    RegisterObject(MouseAPICursor);
    910//TODO: copy from radar overlay
    1011}
  • code/branches/MouseAPI_FS19/src/modules/MouseAPI/mouseapicursor.h

    r12334 r12348  
    22#define MOUSEAPICURSOR_H
    33#include <overlays/OrxonoxOverlay.h>
     4#include "core/CoreIncludes.h"
    45
     6namespace orxonox{
    57
    68class MouseAPICursor: public OrxonoxOverlay
     
    1012};
    1113
     14}
     15
    1216#endif // MOUSEAPICURSOR_H
Note: See TracChangeset for help on using the changeset viewer.