|
Blender V4.3
|
Public Attributes | ||
| struct { | ||
| wl_data_offer * id = nullptr | ||
| } | wl | |
| std::unordered_set< std::string > | types | |
| struct { | ||
| bool in_use = false | ||
| enum wl_data_device_manager_dnd_action source_actions = WL_DATA_DEVICE_MANAGER_DND_ACTION_NONE | ||
| enum wl_data_device_manager_dnd_action action = WL_DATA_DEVICE_MANAGER_DND_ACTION_NONE | ||
| wl_fixed_t xy [2] = {0, 0} | ||
| } | dnd | |
Data storage used for clipboard paste & drag-and-drop.
Definition at line 590 of file GHOST_SystemWayland.cc.
| enum wl_data_device_manager_dnd_action GWL_DataOffer::action = WL_DATA_DEVICE_MANAGER_DND_ACTION_NONE |
Definition at line 612 of file GHOST_SystemWayland.cc.
Referenced by data_offer_handle_action().
| struct { ... } GWL_DataOffer::dnd |
| wl_data_offer* GWL_DataOffer::id = nullptr |
Definition at line 594 of file GHOST_SystemWayland.cc.
Referenced by data_device_handle_data_offer(), data_device_handle_drop(), data_device_handle_enter(), data_device_handle_leave(), data_device_handle_selection(), gwl_registry_wl_seat_remove(), and read_buffer_from_data_offer().
| bool GWL_DataOffer::in_use = false |
Prevents freeing after #wl_data_device_listener.leave, before #wl_data_device_listener.drop.
Definition at line 604 of file GHOST_SystemWayland.cc.
Referenced by data_device_handle_enter(), data_device_handle_leave(), and read_buffer_from_data_offer().
| enum wl_data_device_manager_dnd_action GWL_DataOffer::source_actions = WL_DATA_DEVICE_MANAGER_DND_ACTION_NONE |
Bit-mask with available drop options. #WL_DATA_DEVICE_MANAGER_DND_ACTION_COPY, #WL_DATA_DEVICE_MANAGER_DND_ACTION_MOVE.. etc. The application that initializes the drag may set these depending on modifiers held
Definition at line 611 of file GHOST_SystemWayland.cc.
Referenced by data_offer_handle_source_actions().
| std::unordered_set<std::string> GWL_DataOffer::types |
Definition at line 597 of file GHOST_SystemWayland.cc.
Referenced by data_device_handle_drop(), data_offer_handle_offer(), GHOST_SystemWayland::getClipboardImage(), GHOST_SystemWayland::hasClipboardImage(), and system_clipboard_get().
| struct { ... } GWL_DataOffer::wl |
Wayland native types.
Referenced by data_device_handle_data_offer(), data_device_handle_drop(), data_device_handle_enter(), data_device_handle_leave(), data_device_handle_selection(), gwl_registry_wl_seat_remove(), and read_buffer_from_data_offer().
| wl_fixed_t GWL_DataOffer::xy[2] = {0, 0} |
Compatible with #GWL_Seat.xy coordinates.
Definition at line 614 of file GHOST_SystemWayland.cc.
Referenced by data_device_handle_drop(), data_device_handle_enter(), data_device_handle_motion(), and dnd_events().