Added copyright lines for files I've edited this year.
[synfig.git] / synfig-studio / trunk / src / gtkmm / canvasview.h
index aa3cb16..cb0c0f3 100644 (file)
@@ -6,7 +6,7 @@
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
-**     Copyright (c) 2007 Chris Moore
+**     Copyright (c) 2007, 2008 Chris Moore
 **
 **     This package is free software; you can redistribute it and/or
 **     modify it under the terms of the GNU General Public License as
@@ -320,7 +320,7 @@ private:
        Glib::RefPtr<Gtk::ToggleAction> duck_mask_angle;
 
        Gtk::RadioButtonGroup quality_group;
-       Gtk::RadioButtonGroup lowrespixel_group;
+       Gtk::RadioButtonGroup low_res_pixel_size_group;
 
        Glib::RefPtr<Gtk::ActionGroup> action_group;
 
@@ -380,13 +380,13 @@ private:
        CanvasView(etl::loose_handle<Instance> instance,etl::handle<synfigapp::CanvasInterface> canvas_interface);
 
        //! Constructor Helper
-       Gtk::Widget* create_layer_tree();
+       // Gtk::Widget* create_layer_tree();
 
        //! Constructor Helper
-       Gtk::Widget* create_children_tree();
+       // Gtk::Widget* create_children_tree();
 
        //! Constructor Helper
-       Gtk::Widget* create_keyframe_tree();
+       // Gtk::Widget* create_keyframe_tree();
 
        //! Constructor Helper
        Gtk::Widget* create_status_bar();
@@ -429,6 +429,9 @@ private:
 
        void rebuild_ducks_layer_(synfig::TransformStack& transform_stack, synfig::Canvas::Handle canvas, std::set<synfig::Layer::Handle>& selected_list);
 
+       void decrease_low_res_pixel_size();
+       void increase_low_res_pixel_size();
+
        /*
  -- ** -- P U B L I C   M E T H O D S -----------------------------------------
        */
@@ -591,7 +594,7 @@ public:
 
        void image_import();
 
-       void on_waypoint_clicked(synfigapp::ValueDesc,synfig::Waypoint, int button);
+       void on_waypoint_clicked_canvasview(synfigapp::ValueDesc,std::set<synfig::Waypoint,std::less<synfig::UniqueID> >, int button, synfig::Waypoint::Side side);
 
        void preview_option() {on_preview_option();}
 
@@ -678,8 +681,6 @@ private:
 
        void on_edited_value(synfigapp::ValueDesc,synfig::ValueBase);
 
-       //void on_waypoint_clicked(synfigapp::ValueDesc,synfig::ValueNode_Animated::WaypointList::iterator, int button);
-
        void on_drop_drag_data_received(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, const Gtk::SelectionData& selection_data, guint info, guint time);
 
        //void on_audio_play();
@@ -696,6 +697,8 @@ protected:
 public:
 
        static etl::handle<studio::CanvasView> create(etl::loose_handle<Instance> instance,etl::handle<synfig::Canvas> canvas);
+       static std::list<int>& get_pixel_sizes();
+
 }; // END of class CanvasView
 
 }; // END of namespace studio