1
/* -*- mode: c; c-basic-offset: 4; -*-
3
* cell-renderer-transition.h - A GtkCellRenderer for viewing a keyframe's transition,
4
* including the transition curve and duration.
6
* Fyre - rendering and interactive exploration of chaotic functions
7
* Copyright (C) 2004-2005 David Trowbridge and Micah Dowty
9
* This program is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU General Public License
11
* as published by the Free Software Foundation; either version 2
12
* of the License, or (at your option) any later version.
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU General Public License for more details.
19
* You should have received a copy of the GNU General Public License
20
* along with this program; if not, write to the Free Software
21
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25
#ifndef __CELL_RENDERER_TRANSITION_H__
26
#define __CELL_RENDERER_TRANSITION_H__
29
#include <glib-object.h>
30
#include <gtk/gtkcellrenderer.h>
35
#define CELL_RENDERER_TRANSITION_TYPE (cell_renderer_transition_get_type ())
36
#define CELL_RENDERER_TRANSITION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CELL_RENDERER_TRANSITION_TYPE, CellRendererTransition))
37
#define CELL_RENDERER_TRANSITION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CELL_RENDERER_TRANSITION_TYPE, CellRendererTransitionClass))
38
#define IS_CELL_RENDERER_TRANSITION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CELL_RENDERER_TRANSITION_TYPE))
39
#define IS_CELL_RENDERER_TRANSITION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CELL_RENDERER_TRANSITION_TYPE))
41
typedef struct _CellRendererTransition CellRendererTransition;
42
typedef struct _CellRendererTransitionClass CellRendererTransitionClass;
44
struct _CellRendererTransition {
45
GtkCellRenderer parent;
52
struct _CellRendererTransitionClass {
53
GtkCellRendererClass parent_class;
55
void (* cell_renderer_transition) (CellRendererTransition *cb);
58
GType cell_renderer_transition_get_type();
59
GtkCellRenderer* cell_renderer_transition_new();
63
#endif /* __CELL_RENDERER_TRANSITION_H__ */