initial version
[synfig.git] / synfig-studio / trunk / src / gtkmm / renderer_guides.h
diff --git a/synfig-studio/trunk/src/gtkmm/renderer_guides.h b/synfig-studio/trunk/src/gtkmm/renderer_guides.h
new file mode 100644 (file)
index 0000000..ac98b66
--- /dev/null
@@ -0,0 +1,61 @@
+/* === S I N F G =========================================================== */
+/*!    \file template.h
+**     \brief Template Header
+**
+**     $Id: renderer_guides.h,v 1.1.1.1 2005/01/07 03:34:36 darco Exp $
+**
+**     \legal
+**     Copyright (c) 2002 Robert B. Quattlebaum Jr.
+**
+**     This software and associated documentation
+**     are CONFIDENTIAL and PROPRIETARY property of
+**     the above-mentioned copyright holder.
+**
+**     You may not copy, print, publish, or in any
+**     other way distribute this software without
+**     a prior written agreement with
+**     the copyright holder.
+**     \endlegal
+*/
+/* ========================================================================= */
+
+/* === S T A R T =========================================================== */
+
+#ifndef __SINFG_RENDERER_GUIDES_H
+#define __SINFG_RENDERER_GUIDES_H
+
+/* === H E A D E R S ======================================================= */
+
+#include "workarearenderer.h"
+#include <vector>
+
+/* === M A C R O S ========================================================= */
+
+/* === T Y P E D E F S ===================================================== */
+
+/* === C L A S S E S & S T R U C T S ======================================= */
+
+namespace studio {
+
+class Renderer_Guides : public studio::WorkAreaRenderer
+{
+       bool dragging;
+public:
+       Renderer_Guides();
+       ~Renderer_Guides();
+
+       std::list<float>& get_guide_list_x();
+       std::list<float>& get_guide_list_y();
+
+       void render_vfunc(const Glib::RefPtr<Gdk::Drawable>& drawable,const Gdk::Rectangle& expose_area );
+       bool event_vfunc(GdkEvent* event);
+
+protected:
+       bool get_enabled_vfunc()const;
+};
+
+}; // END of namespace studio
+
+/* === E N D =============================================================== */
+
+#endif