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

camerafocus.h

Go to the documentation of this file.
00001 //--- < CAMERAFOCUS.H > ---------| ViewGraph - A Flexible Graph view Framework |
00002 //
00003 // CameraFocus implements a focus policy
00004 // similar to window manager focus behaviour
00005 // policies seen in various window managers.
00006 //
00007 // Choose from existing camera focus policies or
00008 // inherit from GenericCameraFocus and override
00009 // the focus_cameras() function.
00010 //
00011 // $Author: botik32 $
00012 // $Revision: 1.1.1.1 $
00013 // $Date: 2004/03/26 10:50:21 $
00014 //-----------------------------------------------------------------------------/
00015 
00016 #include <cZUI/event.h>
00017 #include <cZUI/cameralist.h>
00018 
00019 class GenericCameraFocus
00020 {
00021 protected:
00022         Camera *focus_target;
00023 public:
00024         CameraList cameras;
00025 
00026         // Focus behaviour: MouseOver changes focus but does not
00027         // "raise" the view (i.e. does not move the window up the 
00028         // z-order list). MouseClick does not raise the view 
00029         // either.
00030         void focus_cameras( Event * );
00031 
00032         GenericCameraFocus();
00033 };
00034 

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