00001 /* === S Y N F I G ========================================================= */ 00021 /* ========================================================================= */ 00022 00023 /* === S T A R T =========================================================== */ 00024 00025 #ifndef __SYNFIG_RENDERER_GUIDES_H 00026 #define __SYNFIG_RENDERER_GUIDES_H 00027 00028 /* === H E A D E R S ======================================================= */ 00029 00030 #include "workarearenderer.h" 00031 #include <vector> 00032 00033 /* === M A C R O S ========================================================= */ 00034 00035 /* === T Y P E D E F S ===================================================== */ 00036 00037 /* === C L A S S E S & S T R U C T S ======================================= */ 00038 00039 namespace studio { 00040 00041 class Renderer_Guides : public studio::WorkAreaRenderer 00042 { 00043 bool dragging; 00044 public: 00045 Renderer_Guides(); 00046 ~Renderer_Guides(); 00047 00048 std::list<float>& get_guide_list_x(); 00049 std::list<float>& get_guide_list_y(); 00050 00051 void render_vfunc(const Glib::RefPtr<Gdk::Drawable>& drawable,const Gdk::Rectangle& expose_area ); 00052 bool event_vfunc(GdkEvent* event); 00053 00054 protected: 00055 bool get_enabled_vfunc()const; 00056 }; 00057 00058 }; // END of namespace studio 00059 00060 /* === E N D =============================================================== */ 00061 00062 #endif