Main Page | Namespace List | Class Hierarchy | Data Structures | File List | Data Fields | Globals

defaultcursornode.h

Go to the documentation of this file.
00001 //--- < DEFAULTCURSOR.H > -------| ViewGraph - A Flexible Graph view Framework |
00002 //
00003 // Default cursor node changes default cursor 
00004 // over an area. Insert such nodes into a layer
00005 // lowest on the display stack.
00006 // 
00007 // $Author: botik32 $
00008 // $Revision: 1.1.1.1 $
00009 // $Date: 2004/03/26 10:50:26 $
00010 //-----------------------------------------------------------------------------/
00011 
00012 #ifndef DEFAULTCURSOR_H
00013 #define DEFAULTCURSOR_H
00014 
00015 #include <cZUI/basescenenode.h>
00016 
00017 class Event;
00018 class Message;
00019 class SurfaceCursor;
00020 
00021 class DefaultCursorNode : public BaseSceneNode
00022 {
00023 protected:
00024         double x1, y1, x2, y2;
00025         bool fit_all;
00026         SurfaceCursor *default_cursor;
00027 public:
00028         DefaultCursorNode( SurfaceCursor * );
00029         DefaultCursorNode( double, double, double, double, 
00030                 SurfaceCursor * );
00031         
00032         bool handle_event( Event * );
00033         bool handle_message( Message * );
00034 
00035         void get_boundrect( double&, double&, double&, double& );
00036         bool check_event_fitspixels( Event * );
00037 };
00038 
00039 #endif
00040 
00041 /// $Log: defaultcursornode.h,v $
00042 /// Revision 1.1.1.1  2004/03/26 10:50:26  botik32
00043 /// Initial release
00044 ///
00045 /// Revision 1.1.1.1  2004/03/26 08:53:33  botik
00046 /// initial import
00047 ///
00048 ///
00049 /// Revision 1.1  2003/11/17 16:21:59  botik
00050 /// Initial check-in
00051 ///

Generated on Wed Jun 23 18:47:21 2004 for cZUI by doxygen 1.3.5