2009-07-14 00:21:31 +08:00
|
|
|
/* GIMP - The GNU Image Manipulation Program
|
|
|
|
* Copyright (C) 1995-1999 Spencer Kimball and Peter Mattis
|
|
|
|
*
|
|
|
|
* 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
|
2018-07-12 05:27:07 +08:00
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2009-07-14 00:21:31 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __GIMP_DYNAMICS_EDITOR_H__
|
|
|
|
#define __GIMP_DYNAMICS_EDITOR_H__
|
|
|
|
|
2009-10-18 19:24:59 +08:00
|
|
|
|
2009-07-14 00:21:31 +08:00
|
|
|
#include "gimpdataeditor.h"
|
|
|
|
|
|
|
|
|
|
|
|
#define GIMP_TYPE_DYNAMICS_EDITOR (gimp_dynamics_editor_get_type ())
|
|
|
|
#define GIMP_DYNAMICS_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_DYNAMICS_EDITOR, GimpDynamicsEditor))
|
|
|
|
#define GIMP_DYNAMICS_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GIMP_TYPE_DYNAMICS_EDITOR, GimpDynamicsEditorClass))
|
|
|
|
#define GIMP_IS_DYNAMICS_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_DYNAMICS_EDITOR))
|
|
|
|
#define GIMP_IS_DYNAMICS_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GIMP_TYPE_DYNAMICS_EDITOR))
|
|
|
|
#define GIMP_DYNAMICS_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GIMP_TYPE_DYNAMICS_EDITOR, GimpDynamicsEditorClass))
|
|
|
|
|
|
|
|
|
2009-10-18 19:24:59 +08:00
|
|
|
typedef struct _GimpDynamicsEditorClass GimpDynamicsEditorClass;
|
2009-08-03 02:57:53 +08:00
|
|
|
|
2009-07-14 00:21:31 +08:00
|
|
|
struct _GimpDynamicsEditor
|
|
|
|
{
|
|
|
|
GimpDataEditor parent_instance;
|
2009-10-08 04:32:17 +08:00
|
|
|
|
2009-10-18 19:24:59 +08:00
|
|
|
GimpDynamics *dynamics_model;
|
2009-08-26 02:28:24 +08:00
|
|
|
|
2010-02-22 06:43:52 +08:00
|
|
|
GtkWidget *view_selector;
|
|
|
|
GtkWidget *notebook;
|
2009-07-14 00:21:31 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
struct _GimpDynamicsEditorClass
|
|
|
|
{
|
|
|
|
GimpDataEditorClass parent_class;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
GType gimp_dynamics_editor_get_type (void) G_GNUC_CONST;
|
|
|
|
|
2009-10-18 19:24:59 +08:00
|
|
|
GtkWidget * gimp_dynamics_editor_new (GimpContext *context,
|
|
|
|
GimpMenuFactory *menu_factory);
|
2009-07-14 00:21:31 +08:00
|
|
|
|
|
|
|
|
|
|
|
#endif /* __GIMP_DYNAMICS_EDITOR_H__ */
|