00001
00021
00022
00023
00024
00025 #ifndef __SYNFIG_RENDERER_DRAGBOX_H
00026 #define __SYNFIG_RENDERER_DRAGBOX_H
00027
00028
00029
00030 #include "workarearenderer.h"
00031 #include <vector>
00032 #include <synfig/vector.h>
00033
00034
00035
00036
00037
00038
00039
00040 namespace studio {
00041
00042 class Renderer_Dragbox : public studio::WorkAreaRenderer
00043 {
00044
00045 public:
00046 ~Renderer_Dragbox();
00047
00048 void render_vfunc(const Glib::RefPtr<Gdk::Drawable>& drawable,const Gdk::Rectangle& expose_area );
00049
00050 const synfig::Point& get_drag_point()const;
00051 const synfig::Point& get_curr_point()const;
00052
00053 protected:
00054 bool get_enabled_vfunc()const;
00055 };
00056
00057 };
00058
00059
00060
00061 #endif