Searched refs:view (Results 1 - 25 of 54) sorted by relevance

123

/inkscape/src/ui/view/
H A Dview-widget.cpp12 #include "view.h"
13 #include "view-widget.h"
37 vw->view = NULL;
41 * Callback to disconnect from view and destroy SPViewWidget.
49 if (vw->view) {
50 vw->view->close();
51 Inkscape::GC::release(vw->view);
52 vw->view = NULL;
62 void sp_view_widget_set_view(SPViewWidget *vw, Inkscape::UI::View::View *view) argument
66 g_return_if_fail(view !
[all...]
H A Dview-widget.h33 #define SP_VIEW_WIDGET_VIEW(w) (SP_VIEW_WIDGET (w)->view)
34 #define SP_VIEW_WIDGET_DOCUMENT(w) (SP_VIEW_WIDGET (w)->view ? ((SPViewWidget *) (w))->view->doc : NULL)
42 * Connects widget to view's 'resized' signal and calls virtual set_view()
45 void sp_view_widget_set_view(SPViewWidget *vw, Inkscape::UI::View::View *view);
66 Inkscape::UI::View::View *view; member in class:SPViewWidget
73 void setView(Inkscape::UI::View::View *view) { argument
74 sp_view_widget_set_view(this, view);
91 /* Virtual method to set/change/remove view */
92 void (* set_view) (SPViewWidget *vw, Inkscape::UI::View::View *view);
[all...]
/inkscape/src/helper/
H A Daction-context.cpp17 #include "ui/view/view.h"
33 ActionContext::ActionContext(UI::View::View *view) argument
35 , _view(view)
37 SPDesktop *desktop = static_cast<SPDesktop *>(view);
49 // Should be the same as the view's document, if view is non-NULL
H A Daction-context.h28 /** This structure contains all the document/view context required
44 // NB: Only one of these is typically set - selection model if in console mode, view if in GUI mode
46 UI::View::View *_view; /**< The view to which this action applies. May be NULL (e.g. if running in console mode). */
57 ActionContext(UI::View::View *view);
67 /** Get the view for the action context. May be NULL. Guaranteed to be
/inkscape/src/ui/
H A Dpreviewable.h44 virtual Gtk::Widget* getPreview( PreviewStyle style, ViewType view, ::PreviewSize size, guint ratio, guint border) = 0;
H A Dinterface.h65 * open document view windows, attempting to close each in turn. If the
66 * view has unsaved information, the user will be prompted to save,
81 * @param view View to build the bar for
83 GtkWidget *sp_ui_main_menubar (Inkscape::UI::View::View *view);
88 Glib::ustring getLayoutPrefPath( Inkscape::UI::View::View *view );
H A Dinterface.cpp46 #include "svg-view-widget.h"
54 #include "ui/view/view.h"
177 win->signal_delete_event().connect(sigc::mem_fun(*(SPDesktop*)vw->view, &SPDesktop::onDeleteUI));
294 sp_namedview_window_from_document(static_cast<SPDesktop*>(dtw->view));
295 sp_namedview_update_layers_from_document(static_cast<SPDesktop*>(dtw->view));
394 Inkscape::UI::View::View *view = static_cast<Inkscape::UI::View::View*> (g_object_get_data(G_OBJECT(object), "view")); local
395 view->tipsMessageContext()->set(Inkscape::NORMAL_MESSAGE, (gchar *)tip);
401 Inkscape::UI::View::View *view local
461 sp_ui_menu_append_item_from_verb(GtkMenu *menu, Inkscape::Verb *verb, Inkscape::UI::View::View *view, bool radio = false, GSList *group = NULL) argument
542 Inkscape::UI::View::View *view = (Inkscape::UI::View::View *) g_object_get_data(G_OBJECT(menuitem), "view"); local
563 getViewStateFromPref(Inkscape::UI::View::View *view, gchar const *pref) argument
582 Inkscape::UI::View::View *view = (Inkscape::UI::View::View *) g_object_get_data(G_OBJECT(menuitem), "view"); local
623 Inkscape::UI::View::View *view = (Inkscape::UI::View::View *) g_object_get_data(G_OBJECT(menuitem), "view"); local
643 Inkscape::UI::View::View *view = (Inkscape::UI::View::View *) g_object_get_data(G_OBJECT(widget), "view"); local
680 sp_ui_menu_append_check_item_from_verb(GtkMenu *menu, Inkscape::UI::View::View *view, gchar const *label, gchar const *tip, gchar const *pref, void (*callback_toggle)(GtkCheckMenuItem *, gpointer user_data), gboolean (*callback_update)(GtkWidget *widget, cairo_t *cr, gpointer user_data), Inkscape::Verb *verb) argument
737 sp_ui_checkboxes_menus(GtkMenu *m, Inkscape::UI::View::View *view) argument
760 addTaskMenuItems(GtkMenu *menu, Inkscape::UI::View::View *view) argument
781 g_object_set_data( G_OBJECT(item), "view", view ); local
827 sp_ui_build_dyn_menus(Inkscape::XML::Node *menus, GtkWidget *menu, Inkscape::UI::View::View *view) argument
866 sp_ui_menu_append_check_item_from_verb(GTK_MENU(menu), view, action->name, action->tip, NULL, local
870 sp_ui_menu_append_item_from_verb(GTK_MENU(menu), verb, view); local
920 sp_ui_checkboxes_menus(GTK_MENU(menu), view); local
924 addTaskMenuItems(GTK_MENU(menu), view); local
930 sp_ui_main_menubar(Inkscape::UI::View::View *view) argument
1562 SPDesktop *view = _desktop; local
[all...]
H A Dpreviewholder.h48 virtual void setStyle( ::PreviewSize size, ViewType view, guint ratio, ::BorderStyle border );
/inkscape/src/extension/implementation/
H A Dimplementation.cpp25 #include "ui/view/view.h"
41 Gtk::Widget *Implementation::prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View * view, sigc::signal<void> * changeSignal, ImplementationDocumentCache * /*docCache*/) argument
47 SPDocument * current_document = view->doc();
49 std::vector<SPItem*> selected = ((SPDesktop *)view)->getSelection()->itemList();
H A Dimplementation.h59 ImplementationDocumentCache (Inkscape::UI::View::View * view) : argument
60 _view(view)
65 Inkscape::UI::View::View const * view ( ) { return _view; }; function in class:Inkscape::Extension::Implementation::ImplementationDocumentCache::Inkscape::UI::View
119 Inkscape::UI::View::View *view,
/inkscape/src/extension/internal/bitmap/
H A Dimagemagick.cpp53 ImageMagickDocCache(Inkscape::UI::View::View * view);
57 ImageMagickDocCache::ImageMagickDocCache(Inkscape::UI::View::View * view) : argument
58 Inkscape::Extension::Implementation::ImplementationDocumentCache(view),
67 SPDesktop *desktop = (SPDesktop*)view;
147 ImageMagick::newDocCache (Inkscape::Extension::Extension * /*ext*/, Inkscape::UI::View::View * view) { argument
148 return new ImageMagickDocCache(view);
229 \param view Unused today - may get style information in the future.
234 ImageMagick::prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View * view, sigc::signal<void> * changeSignal, Inkscape::Extension::Implementation::ImplementationDocumentCache * /*docCache*/) argument
236 SPDocument * current_document = view->doc();
238 std::vector<SPItem*> selected = ((SPDesktop *)view)
[all...]
H A Dimagemagick.h40 Gtk::Widget* prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View * view, sigc::signal<void> * changeSignal, Inkscape::Extension::Implementation::ImplementationDocumentCache * docCache);
/inkscape/src/
H A Dsp-hatch-path.cpp237 void SPHatchPath::_updateView(View &view) argument
239 SPCurve *calculated_curve = _calculateRenderCurve(view);
242 view.arenaitem->setTransform(offset_transform);
244 view.arenaitem->setStyle(style);
245 view.arenaitem->setPath(calculated_curve);
250 SPCurve *SPHatchPath::_calculateRenderCurve(View const &view) const
254 if (!view.extents) {
259 calculated_curve->moveto(0, view.extents->min());
260 calculated_curve->lineto(0, view.extents->max());
265 gdouble initial_y = floor(view
[all...]
H A Dsp-hatch-path.h75 void _updateView(View &view);
76 SPCurve *_calculateRenderCurve(View const &view) const;
H A Dsp-hatch.cpp526 View& view = _display.front(); local
527 _updateView(view);
581 void SPHatch::_updateView(View &view) argument
583 RenderInfo info = _calculateRenderInfo(view);
590 view.arenaitem->setChildTransform(info.child_transform);
591 view.arenaitem->setPatternToUserTransform(info.pattern_to_user_transform);
592 view.arenaitem->setTileRect(info.tile_rect);
593 view.arenaitem->setStyle(style);
594 view.arenaitem->setOverflow(info.overflow_initial_transform, info.overflow_steps,
598 SPHatch::RenderInfo SPHatch::_calculateRenderInfo(View const &view) cons
[all...]
H A Dmain-cmdlineact.cpp10 #include <ui/view/view.h>
91 //Inkscape::UI::View::View * view = dynamic_cast<Inkscape::UI::View::View *>(desktop);
H A Dsp-marker.cpp320 * removes the old view of the marker and establishes a new one, registering
372 SPMarkerView *view = &(it->second); local
373 if (pos >= view->items.size() ) {
379 if (view->items[pos] == NULL) {
382 view->items[pos] = marker->private_show(parent->drawing(), key, SP_ITEM_REFERENCE_FLAGS);
384 if (view->items[pos]) {
386 parent->prependChild(view->items[pos]);
387 Inkscape::DrawingGroup *g = dynamic_cast<Inkscape::DrawingGroup *>(view->items[pos]);
392 if (view->items[pos]) {
408 view
[all...]
H A Dsp-clippath.cpp41 static SPClipPathView* sp_clippath_view_list_remove(SPClipPathView *list, SPClipPathView *view);
281 sp_clippath_view_list_remove(SPClipPathView *list, SPClipPathView *view) argument
283 if (view == list) {
288 while (prev->next != view) prev = prev->next;
289 prev->next = view->next;
292 delete view->arenaitem;
293 g_free(view);
H A Dsp-mask.cpp38 SPMaskView *sp_mask_view_list_remove (SPMaskView *list, SPMaskView *view);
302 sp_mask_view_list_remove (SPMaskView *list, SPMaskView *view) argument
304 if (view == list) {
309 while (prev->next != view) prev = prev->next;
310 prev->next = view->next;
313 delete view->arenaitem;
314 g_free (view);
H A Dshortcuts.h37 bool sp_shortcut_invoke (unsigned int shortcut, Inkscape::UI::View::View *view);
/inkscape/src/ui/dialog/
H A Dmemory.cpp95 view.set_model(model);
96 view.append_column(_("Heap"), columns.name);
97 view.append_column(_("In Use"), columns.used);
100 view.append_column(_("Slack"), columns.slack);
101 view.append_column(_("Total"), columns.total);
111 Gtk::TreeView view; member in struct:Inkscape::UI::Dialog::Memory::Private
212 _getContents()->add(_private.view);
/inkscape/src/extension/internal/
H A Dbluredge.h28 Gtk::Widget * prefs_effect(Inkscape::Extension::Effect * module, Inkscape::UI::View::View * view, sigc::signal<void> * changeSignal, Inkscape::Extension::Implementation::ImplementationDocumentCache * docCache);
H A Dgrid.h28 Gtk::Widget * prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View * view, sigc::signal<void> * changeSignal, Inkscape::Extension::Implementation::ImplementationDocumentCache * docCache);
/inkscape/src/extension/plugins/grid2/
H A Dgrid.h37 Gtk::Widget * prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View * view, sigc::signal<void> * changeSignal, Inkscape::Extension::Implementation::ImplementationDocumentCache * docCache);
/inkscape/src/widgets/
H A Dbutton.h68 Inkscape::UI::View::View *view,

Completed in 71 milliseconds

123