index 443b10ac871090a576af4938cd77c8e33c0f0103..e665b2faec88682773a667cdd3e721da432cc2a5 100644 (file)
#include "ui/dialog/dialog-manager.h"
#include "ui/view/edit-widget-interface.h"
+#include "ui/widget/dock.h"
#include "ui/widget/selected-style.h"
#include "ui/widget/ruler.h"
#include "ui/widget/toolbox.h"
namespace UI {
namespace View {
-class EditWidget : public Gtk::Window,
+class EditWidget : public Gtk::Window,
public EditWidgetInterface {
public:
EditWidget (SPDocument*);
void onDialogTrace();
void onDialogXmlEditor();
- // Whiteboard (Inkboard)
+ // Whiteboard (Inkboard)
#ifdef WITH_INKBOARD
- void onDialogWhiteboardConnect();
- void onDialogWhiteboardShareWithUser();
- void onDialogWhiteboardShareWithChat();
- void onDialogOpenSessionFile();
- void onDumpXMLTracker();
+ void onDialogWhiteboardConnect();
+ void onDialogWhiteboardShareWithUser();
+ void onDialogWhiteboardShareWithChat();
+ void onDialogOpenSessionFile();
+ void onDumpXMLTracker();
#endif
void onUriChanged();
virtual void updateScrollbars (double scale);
virtual void toggleRulers();
virtual void toggleScrollbars();
+ virtual void toggleColorProfAdjust();
virtual void updateZoom();
virtual void letZoomGrabFocus();
virtual void setToolboxFocusTo (const gchar *);
virtual void setMessage (Inkscape::MessageType type, gchar const* msg);
virtual bool warnDialog (gchar*);
+ virtual Inkscape::UI::Widget::Dock* getDock ();
+
protected:
void _namedview_modified(SPObject *namedview, guint);
Gtk::Tooltips _tooltips;
-
+
// Child widgets:
Gtk::Table _main_window_table;
Gtk::VBox _toolbars_vbox;
Gtk::ToggleButton _sticky_zoom;
UI::Widget::SVGCanvas _svg_canvas;
Gtk::HBox _statusbar;
+ UI::Widget::Dock _dock;
UI::Widget::SelectedStyle _selected_style_status;
UI::Widget::ZoomStatus _zoom_status;
Inkscape::Widgets::LayerSelector _layer_selector;
Gtk::Table _coord_status;
Gtk::Label _coord_status_x, _coord_status_y;
Gtk::Label _select_status;
-
+
SPDesktop* _desktop;
SPNamedView* _namedview;
double _dt2r;