~valavanisalex/ubuntu/oneiric/inkscape/inkscape_0.48.1-2ubuntu4

« back to all changes in this revision

Viewing changes to src/ui/view/edit-widget.h

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook, Kees Cook, Ted Gould
  • Date: 2008-02-10 14:20:16 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080210142016-vcnb2zqyhszu0xvb
Tags: 0.46~pre1-0ubuntu1
[ Kees Cook ]
* debian/control:
  - add libgtkspell-dev build-dep to gain GtkSpell features (LP: #183547).
  - update Standards version (no changes needed).
  - add Vcs and Homepage fields.
  - switch to new python-lxml dep.
* debian/{control,rules}: switch from dpatch to quilt for more sanity.
* debian/patches/20_fix_glib_and_gxx43_ftbfs.patch:
  - merged against upstream fixes.
  - added additional fixes for newly written code.
* debian/rules: enable parallel building.

[ Ted Gould ]
* Updating POTFILES.in to make it so things build correctly.
* debian/control:
  - add ImageMagick++ and libboost-dev to build-deps

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
#include "ui/dialog/dialog-manager.h"
29
29
#include "ui/view/edit-widget-interface.h"
 
30
#include "ui/widget/dock.h"
30
31
#include "ui/widget/selected-style.h"
31
32
#include "ui/widget/ruler.h"
32
33
#include "ui/widget/toolbox.h"
42
43
namespace UI {
43
44
namespace View {
44
45
 
45
 
class EditWidget : public Gtk::Window, 
 
46
class EditWidget : public Gtk::Window,
46
47
                   public EditWidgetInterface {
47
48
public:
48
49
    EditWidget (SPDocument*);
85
86
    void onDialogTrace();
86
87
    void onDialogXmlEditor();
87
88
 
88
 
        // Whiteboard (Inkboard)
 
89
    // Whiteboard (Inkboard)
89
90
#ifdef WITH_INKBOARD
90
 
        void onDialogWhiteboardConnect();
91
 
        void onDialogWhiteboardShareWithUser();
92
 
        void onDialogWhiteboardShareWithChat();
93
 
        void onDialogOpenSessionFile();
94
 
        void onDumpXMLTracker();
 
91
    void onDialogWhiteboardConnect();
 
92
    void onDialogWhiteboardShareWithUser();
 
93
    void onDialogWhiteboardShareWithChat();
 
94
    void onDialogOpenSessionFile();
 
95
    void onDumpXMLTracker();
95
96
#endif
96
97
 
97
98
    void onUriChanged();
98
99
 
99
100
    // from EditWidgetInterface
100
 
    virtual void *getWindow();
 
101
    virtual Gtk::Window* getWindow();
101
102
    virtual void setTitle (gchar const*);
102
103
    virtual void layout();
103
104
    virtual void present();
106
107
    virtual void setPosition (NR::Point p);
107
108
    virtual void setTransient (void*, int);
108
109
    virtual NR::Point getPointer();
 
110
    virtual void setIconified();
 
111
    virtual void setMaximized();
109
112
    virtual void setFullscreen();
110
113
    virtual bool shutdown();
111
114
    virtual void destroy();
120
123
    virtual void updateScrollbars (double scale);
121
124
    virtual void toggleRulers();
122
125
    virtual void toggleScrollbars();
 
126
    virtual void toggleColorProfAdjust();
123
127
    virtual void updateZoom();
124
128
    virtual void letZoomGrabFocus();
125
129
    virtual void setToolboxFocusTo (const gchar *);
126
130
    virtual void setToolboxAdjustmentValue (const gchar *, double);
 
131
    virtual void setToolboxSelectOneValue (const gchar *, gint);
127
132
    virtual bool isToolboxButtonActive (gchar const*);
128
133
    virtual void setCoordinateStatus (NR::Point p);
129
134
    virtual void setMessage (Inkscape::MessageType type, gchar const* msg);
130
135
    virtual bool warnDialog (gchar*);
131
136
 
 
137
    virtual Inkscape::UI::Widget::Dock* getDock ();
 
138
 
132
139
protected:
133
140
    void _namedview_modified(SPObject *namedview, guint);
134
141
 
135
142
    Gtk::Tooltips        _tooltips;
136
 
    
 
143
 
137
144
    // Child widgets:
138
145
    Gtk::Table           _main_window_table;
139
146
    Gtk::VBox            _toolbars_vbox;
154
161
    Gtk::ToggleButton    _sticky_zoom;
155
162
    UI::Widget::SVGCanvas _svg_canvas;
156
163
    Gtk::HBox            _statusbar;
 
164
    UI::Widget::Dock _dock;
157
165
    UI::Widget::SelectedStyle _selected_style_status;
158
166
    UI::Widget::ZoomStatus _zoom_status;
159
167
    Inkscape::Widgets::LayerSelector _layer_selector;
161
169
    Gtk::Table           _coord_status;
162
170
    Gtk::Label           _coord_status_x, _coord_status_y;
163
171
    Gtk::Label           _select_status;
164
 
    
 
172
 
165
173
    SPDesktop*           _desktop;
166
174
    SPNamedView*         _namedview;
167
175
    double               _dt2r;