2006-12-10 05:33:38 +08:00
|
|
|
/* GIMP - The GNU Image Manipulation Program
|
2004-02-22 22:28:53 +08:00
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
*
|
2009-01-18 06:28:01 +08:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
2004-02-22 22:28:53 +08:00
|
|
|
* it under the terms of the GNU General Public License as published by
|
2009-01-18 06:28:01 +08:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2004-02-22 22:28:53 +08:00
|
|
|
* (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
|
2018-07-12 05:27:07 +08:00
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2004-02-22 22:28:53 +08:00
|
|
|
*/
|
|
|
|
|
2016-05-10 06:08:36 +08:00
|
|
|
#ifndef __GIMP_FILTER_OPTIONS_H__
|
|
|
|
#define __GIMP_FILTER_OPTIONS_H__
|
2004-02-22 22:28:53 +08:00
|
|
|
|
|
|
|
|
2016-05-14 04:00:25 +08:00
|
|
|
#include "gimpcoloroptions.h"
|
2004-02-22 22:28:53 +08:00
|
|
|
|
|
|
|
|
2016-05-10 06:08:36 +08:00
|
|
|
#define GIMP_TYPE_FILTER_OPTIONS (gimp_filter_options_get_type ())
|
|
|
|
#define GIMP_FILTER_OPTIONS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_FILTER_OPTIONS, GimpFilterOptions))
|
|
|
|
#define GIMP_FILTER_OPTIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GIMP_TYPE_FILTER_OPTIONS, GimpFilterOptionsClass))
|
|
|
|
#define GIMP_IS_FILTER_OPTIONS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_FILTER_OPTIONS))
|
|
|
|
#define GIMP_IS_FILTER_OPTIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GIMP_TYPE_FILTER_OPTIONS))
|
|
|
|
#define GIMP_FILTER_OPTIONS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GIMP_TYPE_FILTER_OPTIONS, GimpFilterOptionsClass))
|
2004-02-22 22:28:53 +08:00
|
|
|
|
|
|
|
|
2016-05-14 04:00:25 +08:00
|
|
|
typedef struct _GimpFilterOptionsClass GimpFilterOptionsClass;
|
2004-02-22 22:28:53 +08:00
|
|
|
|
2016-05-10 06:08:36 +08:00
|
|
|
struct _GimpFilterOptions
|
2004-02-22 22:28:53 +08:00
|
|
|
{
|
2020-04-07 23:23:21 +08:00
|
|
|
GimpColorOptions parent_instance;
|
|
|
|
|
|
|
|
gboolean preview;
|
|
|
|
gboolean preview_split;
|
|
|
|
GimpAlignmentType preview_split_alignment;
|
2020-06-12 01:25:55 +08:00
|
|
|
gint preview_split_position;
|
2020-04-07 23:23:21 +08:00
|
|
|
gboolean controller;
|
2020-04-07 23:52:28 +08:00
|
|
|
|
2020-04-08 20:58:11 +08:00
|
|
|
gboolean blending_options_expanded;
|
2020-04-07 23:52:28 +08:00
|
|
|
gboolean color_options_expanded;
|
2016-05-14 04:00:25 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
struct _GimpFilterOptionsClass
|
|
|
|
{
|
|
|
|
GimpColorOptionsClass parent_instance;
|
2004-02-22 22:28:53 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2017-03-25 21:50:19 +08:00
|
|
|
GType gimp_filter_options_get_type (void) G_GNUC_CONST;
|
|
|
|
|
|
|
|
void gimp_filter_options_switch_preview_side (GimpFilterOptions *options);
|
|
|
|
void gimp_filter_options_switch_preview_orientation (GimpFilterOptions *options,
|
2020-06-12 02:29:12 +08:00
|
|
|
gint position_x,
|
|
|
|
gint position_y);
|
2004-02-22 22:28:53 +08:00
|
|
|
|
|
|
|
|
2016-05-10 06:08:36 +08:00
|
|
|
#endif /* __GIMP_FILTER_OPTIONS_H__ */
|