Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

pointermessage.hh

Go to the documentation of this file.
00001 #ifndef _pointermessage_hh_
00002 #define _pointermessage_hh__
00003 
00004 #include <SDL/SDL.h>
00005 #include "message.hh"
00006 
00007 class PointerMessage: public anoid::base::Message {
00008 private:
00009     signed int id;
00010     signed int dx,dy;
00011     //,buttonstate;
00012 public:
00013     void setID(signed int id) { this->id = id; }
00014     void setMove(signed int dx, signed int dy) { this->dx = dx; this->dy = dy; }
00015     signed int getdx() { return dx; }
00016     signed int getdy() { return dy; }
00017     //int getbuttonstate() { return buttonstate; }
00018     PointerMessage();
00019 };
00020 
00021 #endif

Anoid NG © Michael Westergaard, Martin Stig Stissing, Ronni Michael Laursen, and Kristian Bisgaard Lassen