- The icon itself was changed to a "search" icon. Though it kinda made sense to keep the "link" reference when I first implemented this, as a reference to how we used to link items (whereas now we select them together), in the grand scheme of things, it's not such a good idea and many won't likely understand. But everyone will understand a "search" button. :-) - It's now next to the label displaying the number of selected items, in the item tree view header. This makes much more sense there. Also it makes the long list of bottom buttons slighly shorter. - Finally I make this feature accessible to the channels and paths, by actually moving it out of GimpLayerTreeView and into GimpItemTreeView.
51 lines
1.6 KiB
C
51 lines
1.6 KiB
C
/* GIMP - The GNU Image Manipulation Program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* gimpcontainertreeview-private.h
|
|
* Copyright (C) 2003-2004 Michael Natterer <mitch@gimp.org>
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef __GIMP_CONTAINER_TREE_VIEW_PRIVATE_H__
|
|
#define __GIMP_CONTAINER_TREE_VIEW_PRIVATE_H__
|
|
|
|
|
|
struct _GimpContainerTreeViewPrivate
|
|
{
|
|
GtkTreeSelection *selection;
|
|
|
|
GtkCellRenderer *name_cell;
|
|
|
|
GList *editable_cells;
|
|
gchar *editing_path;
|
|
|
|
GimpViewRenderer *dnd_renderer;
|
|
|
|
GList *toggle_cells;
|
|
GList *renderer_cells;
|
|
|
|
guint scroll_timeout_id;
|
|
guint scroll_timeout_interval;
|
|
GdkScrollDirection scroll_dir;
|
|
|
|
gboolean dnd_drop_to_empty;
|
|
|
|
gdouble zoom_accumulated_scroll_delta;
|
|
GtkGesture *zoom_gesture;
|
|
gdouble zoom_gesture_last_set_value;
|
|
};
|
|
|
|
|
|
#endif /* __GIMP_CONTAINER_TREE_VIEW_PRIVATE_H__ */
|