Searched defs:device (Results 1 - 7 of 7) sorted by relevance

/inkscape/src/
H A Dknot.cpp132 GdkDevice *device = gdk_device_manager_get_client_pointer(dm); local
134 if ((this->flags & SP_KNOT_GRABBED) && gdk_display_device_is_grabbed(display, device)) {
136 gdk_device_ungrab(device, GDK_CURRENT_TIME);
H A Ddesktop-events.cpp101 GdkDevice *device = gdk_event_get_device(event); local
102 gdk_window_get_device_position(window, device, &wx, &wy, NULL);
164 gdk_device_grab(device,
212 gdk_device_ungrab(device, event->button.time);
646 // Set the initial tool for the device
677 if ( event2->device ) {
678 source = gdk_device_get_source(event2->device);
679 name = gdk_device_get_name(event2->device);
690 if ( event2->device ) {
691 source = gdk_device_get_source(event2->device);
[all...]
H A Ddevice-manager.cpp10 #include "device-manager.h"
44 static bool isValidDevice(Glib::RefPtr<Gdk::Device> device) argument
48 const bool name_matches = (device->get_name() == (*it).name);
49 const bool source_matches = (device->get_source() == (*it).source);
50 const bool mode_matches = (device->get_mode() == (*it).mode);
51 const bool num_axes_matches = (device->get_n_axes() == (*it).num_axes);
53 const bool num_keys_matches = (device->get_n_keys() == (*it).num_keys);
55 const bool num_keys_matches = (gdk_device_get_n_keys(device->gobj()) == (*it).num_keys);
171 InputDeviceImpl(Glib::RefPtr<Gdk::Device> device, std::set<Glib::ustring> &knownIDs);
177 virtual Gdk::InputMode getMode() const {return (device
203 Glib::RefPtr<Gdk::Device> device; member in class:Inkscape::InputDeviceImpl
230 InputDeviceImpl(Glib::RefPtr<Gdk::Device> device, std::set<Glib::ustring> &knownIDs) argument
356 InputDeviceImpl* device = new InputDeviceImpl(*dev, knownIDs); local
429 Glib::RefPtr<Gdk::Device> device = (*it)->getDevice(); local
439 Glib::RefPtr<Gdk::Device> device = (*it)->getDevice(); local
464 Glib::RefPtr<Gdk::Device> device = (*it)->getDevice(); local
482 Glib::RefPtr<Gdk::Device> device = (*it)->getDevice(); local
503 Glib::RefPtr<Gdk::Device> device = (*it)->getDevice(); local
688 Glib::RefPtr<Gdk::Device> device = *dev; local
[all...]
/inkscape/src/display/
H A Dsp-canvas.cpp327 GdkDevice *device = gdk_device_manager_get_client_pointer(dm); local
328 gdk_device_ungrab(device, GDK_CURRENT_TIME);
622 GdkDevice *device = gdk_device_manager_get_client_pointer(dm); local
623 gdk_device_grab(device,
663 GdkDevice *device = gdk_device_manager_get_client_pointer(dm); local
664 gdk_device_ungrab(device, etime);
985 GdkDevice *device = gdk_device_manager_get_client_pointer(dm); local
986 gdk_device_ungrab(device, GDK_CURRENT_TIME);
1751 GdkDevice *device = gdk_device_manager_get_client_pointer(dm); local
1754 device,
[all...]
/inkscape/src/ui/dialog/
H A Dinput.cpp48 #include "device-manager.h"
350 Gtk::TreeModelColumn<Glib::RefPtr<InputDevice const> > device; member in class:Inkscape::UI::Dialog::DeviceModelColumns
353 DeviceModelColumns() { add(toggler), add(expander), add(description); add(thumbnail); add(device); add(mode); }
361 mapping[Gdk::MODE_SCREEN] = C_("Input device", "Screen");
548 Glib::ustring getKeyFor( GdkDevice* device );
552 void handleDeviceChange(Glib::RefPtr<InputDevice const> device);
553 void updateDeviceAxes(Glib::RefPtr<InputDevice const> device);
554 void updateDeviceButtons(Glib::RefPtr<InputDevice const> device);
555 static void updateDeviceLinks(Glib::RefPtr<InputDevice const> device, Gtk::TreeIter tabletIter, Glib::RefPtr<Gtk::TreeView> tree);
957 Glib::RefPtr<InputDevice const> dev = (*iter)[getCols().device];
1357 handleDeviceChange(Glib::RefPtr<InputDevice const> device) argument
1380 updateDeviceAxes(Glib::RefPtr<InputDevice const> device) argument
1397 updateDeviceButtons(Glib::RefPtr<InputDevice const> device) argument
1443 updateDeviceLinks(Glib::RefPtr<InputDevice const> device, Gtk::TreeIter tabletIter, Glib::RefPtr<Gtk::TreeView> tree) argument
[all...]
H A Dfilter-effects-dialog.cpp2067 Glib::RefPtr<const Gdk::Device> device = dm->get_client_pointer(); local
2068 get_bin_window()->get_device_position(device, mx, my, mask);
/inkscape/src/widgets/
H A Ddesktop-widget.cpp264 GdkDevice *device = gdk_device_manager_get_client_pointer(dm); local
265 gdk_window_get_device_position(window, device, &x, &y, NULL);

Completed in 278 milliseconds