Gimp/app/widgets/gimprowfilter.h
Michael Natterer f96a7192cd app: add GimpRowFilter and GimpRowDrawableFilter and port the filters
popover to GimpContainerListView.
2025-08-12 11:58:29 +02:00

42 lines
1.3 KiB
C

/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimprowfilter.h
* Copyright (C) 2025 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/>.
*/
#pragma once
#include "gimprow.h"
#define GIMP_TYPE_ROW_FILTER (gimp_row_filter_get_type ())
G_DECLARE_DERIVABLE_TYPE (GimpRowFilter,
gimp_row_filter,
GIMP, ROW_FILTER,
GimpRow)
struct _GimpRowFilterClass
{
GimpRowClass parent_class;
const gchar *active_property;
const gchar *active_changed_signal;
void (* active_toggled) (GimpRowFilter *row,
gboolean active);
};