Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials

ICursorControl.h

Go to the documentation of this file.
00001 // Copyright (C) 2002-2010 Nikolaus Gebhardt
00002 // This file is part of the "Irrlicht Engine".
00003 // For conditions of distribution and use, see copyright notice in irrlicht.h
00004 
00005 #ifndef __I_CURSOR_CONTROL_H_INCLUDED__
00006 #define __I_CURSOR_CONTROL_H_INCLUDED__
00007 
00008 #include "IReferenceCounted.h"
00009 #include "position2d.h"
00010 #include "rect.h"
00011 
00012 namespace irr
00013 {
00014 namespace gui
00015 {
00016 
00018         class ICursorControl : public virtual IReferenceCounted
00019         {
00020         public:
00021 
00023 
00025                 virtual void setVisible(bool visible) = 0;
00026 
00028 
00029                 virtual bool isVisible() const = 0;
00030 
00032 
00037                 virtual void setPosition(const core::position2d<f32> &pos) = 0;
00038 
00040 
00046                 virtual void setPosition(f32 x, f32 y) = 0;
00047 
00049 
00050                 virtual void setPosition(const core::position2d<s32> &pos) = 0;
00051 
00053 
00055                 virtual void setPosition(s32 x, s32 y) = 0;
00056 
00058 
00060                 virtual const core::position2d<s32>& getPosition() = 0;
00061 
00063 
00067                 virtual core::position2d<f32> getRelativePosition() = 0;
00068 
00070 
00075                 virtual void setReferenceRect(core::rect<s32>* rect=0) = 0;
00076         };
00077 
00078 
00079 } // end namespace gui
00080 } // end namespace irr
00081 
00082 #endif
00083 

The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Sun Oct 24 12:41:56 2010 by Doxygen (1.6.2)