diff --git a/src/shape-editor.h b/src/shape-editor.h
index 9181027614aed152e658d941caf8fc3fe283d3c2..c8f5aa4191d0e6dd399612ef92a00c439477fa32 100644 (file)
--- a/src/shape-editor.h
+++ b/src/shape-editor.h
#include "libnr/nr-path-code.h"
#include "libnr/nr-point.h"
-#include "libnr/nr-maybe.h"
+#include <boost/optional.hpp>
#include <vector>
class KnotHolder;
void reset_item (SubType type, bool keep_knotholder = true);
void unset_item (SubType type, bool keep_knotholder = false);
- SPItem *get_item (SubType type);
+ const SPItem *get_item (SubType type);
bool has_nodepath ();
bool has_knotholder ();
void set_type_of_segments(NRPathcode code);
void move_nodes(gdouble dx, gdouble dy);
- void move_nodes_screen(gdouble dx, gdouble dy);
+ void move_nodes_screen(SPDesktop *desktop, gdouble dx, gdouble dy);
void rotate_nodes(gdouble angle, int which, bool screen);
void show_handles (bool show);
void show_helperpath (bool show);
- void flip (NR::Dim2 axis, NR::Maybe<NR::Point> center = NR::Nothing());
+ void flip (NR::Dim2 axis, boost::optional<NR::Point> center = boost::optional<NR::Point>());
void distribute (NR::Dim2 axis);
void align (NR::Dim2 axis);