Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

canvastools.h

Go to the documentation of this file.
00001 #ifndef CANVASTOOLS_H
00002 #define CANVASTOOLS_H
00003 
00004 #include "edit.inc"
00005 #include "guicast.h"
00006 #include "mwindow.inc"
00007 #include "trackcanvas.inc"
00008 #include "vframe.inc"
00009 
00010 
00011 // This was originally supposed to give a button feel to timeline elements.
00012 // It is no longer used.
00013 
00014 
00015 
00016 class CanvasTool : public BC_Button
00017 {
00018 public:
00019         CanvasTool(MWindow *mwindow, 
00020                 TrackCanvas *trackcanvas,
00021                 Edit *edit,
00022                 int x,
00023                 int y,
00024                 VFrame **data);
00025         virtual ~CanvasTool();
00026         
00027         int visible;
00028         MWindow *mwindow;
00029         TrackCanvas *trackcanvas;
00030         Edit *edit;
00031         int x;
00032         int y;
00033 };
00034 
00035 
00036 class CanvasTools : public ArrayList<CanvasTool*>
00037 {
00038 public:
00039         CanvasTools(MWindow *mwindow,
00040                 TrackCanvas *trackcanvas);
00041         virtual ~CanvasTools();
00042         
00043         void decrease_visible();
00044         void delete_invisible();
00045         int visible(int x, int y, int w, int h);
00046 
00047         MWindow *mwindow;
00048         TrackCanvas *trackcanvas;
00049 };
00050 
00051 
00052 #endif

Generated on Sun Jan 8 13:38:51 2006 for Cinelerra-svn by  doxygen 1.4.4