2
* Copyright (C) 2003-2004, Bastien Nocera <hadess@hadess.net>
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Lesser General Public
7
* License as published by the Free Software Foundation; either
8
* version 2 of the License, or (at your option) any later version.
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Library General Public License for more details.
15
* You should have received a copy of the GNU Lesser General Public
16
* License along with this library; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Cambridge, MA 02139, USA.
20
#ifndef BACON_RESIZE_H
21
#define BACON_RESIZE_H
24
#include <glib-object.h>
29
#define BACON_TYPE_RESIZE (bacon_resize_get_type ())
30
#define BACON_RESIZE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BACON_TYPE_RESIZE, BaconResize))
31
#define BACON_RESIZE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BACON_TYPE_RESIZE, BaconResizeClass))
32
#define BACON_IS_RESIZE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BACON_TYPE_RESIZE))
33
#define BACON_IS_RESIZE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BACON_TYPE_RESIZE))
35
typedef struct BaconResize BaconResize;
36
typedef struct BaconResizeClass BaconResizeClass;
37
typedef struct BaconResizePrivate BaconResizePrivate;
41
BaconResizePrivate *priv;
44
struct BaconResizeClass {
45
GObjectClass parent_class;
48
GType bacon_resize_get_type (void);
49
BaconResize *bacon_resize_new (GtkWidget *video_widget);
50
void bacon_resize_resize (BaconResize *resize);
51
void bacon_resize_restore (BaconResize *resize);
55
#endif /* BACON_RESIZE_H */