Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

sxy_task_adjaxis.h

Go to the documentation of this file.
00001 
00002 #ifndef task_adjaxis_h
00003 #define task_adjaxis_h
00004 
00005 // =======================================================================
00006 
00007 #include "sxy_graph.h"
00008 #include "sxy_task.h"
00009 #include "sxy_axis.h"
00010 
00011 // =======================================================================
00012 
00013 // ----------------------------------------------------------------------
00014 //* Define uma tarefa genérica associada a um eixo
00015 
00016 class SXYTaskAdjustAxis : public SXYTask {
00017 
00018  protected:
00019 
00020   SXYTaskReturn openMenu(SXYGraph* graph, SXYAxis* ax);
00021 
00022  public:
00023 
00024   SXYTaskReturn mouseClick(SXYGraph* graph, int b, int x, int y, int sft, int ctr);
00025 
00026   SXYTaskReturn mouseUnclick(SXYGraph* graph, int b, int x, int y,
00027              int sft, int ctr);
00028   SXYTaskReturn mouseMotion(SXYGraph* graph, int x, int y,
00029              int sft, int ctr);
00030         
00031   SXYTaskReturn mouseEnter(SXYGraph* graph);
00032   SXYTaskReturn mouseLeave(SXYGraph* graph);
00033 
00034 
00035   SXYTaskAdjustAxis(void);
00036   virtual ~SXYTaskAdjustAxis();
00037 };
00038 
00039 #endif
00040 

SXY
Tecgraf / PUC-Rio - Computer Graphics Technology Group