2 * This file is a part of hildon
4 * Copyright (C) 2008 Nokia Corporation, all rights reserved.
6 * Contact: Rodrigo Novo <rodrigo.novo@nokia.com>
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public License
10 * as published by the Free Software Foundation; version 2.1 of
11 * the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
25 #ifndef __HILDON_REMOTE_TEXTURE_H__
26 #define __HILDON_REMOTE_TEXTURE_H__
28 #include "hildon-window.h"
30 #include <sys/types.h>
34 #define HILDON_TYPE_REMOTE_TEXTURE \
35 (hildon_remote_texture_get_type())
37 #define HILDON_REMOTE_TEXTURE(obj) \
38 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
39 HILDON_TYPE_REMOTE_TEXTURE, \
42 #define HILDON_REMOTE_TEXTURE_CLASS(klass) \
43 (G_TYPE_CHECK_CLASS_CAST ((klass), \
44 HILDON_TYPE_REMOTE_TEXTURE, \
45 HildonRemoteTextureClass))
47 #define HILDON_IS_REMOTE_TEXTURE(obj) \
48 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
49 HILDON_TYPE_REMOTE_TEXTURE))
51 #define HILDON_IS_REMOTE_TEXTURE_CLASS(klass) \
52 (G_TYPE_CHECK_CLASS_TYPE ((klass), \
53 HILDON_TYPE_REMOTE_TEXTURE))
55 #define HILDON_REMOTE_TEXTURE_GET_CLASS(obj) \
56 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
57 HILDON_TYPE_REMOTE_TEXTURE, \
58 HildonRemoteTextureClass))
60 typedef struct _HildonRemoteTexture HildonRemoteTexture;
61 typedef struct _HildonRemoteTextureClass HildonRemoteTextureClass;
63 struct _HildonRemoteTextureClass
65 GtkWindowClass parent_class;
67 /* Padding for future extension */
68 void (*_hildon_reserved1)(void);
69 void (*_hildon_reserved2)(void);
70 void (*_hildon_reserved3)(void);
71 void (*_hildon_reserved4)(void);
74 struct _HildonRemoteTexture
80 hildon_remote_texture_get_type (void) G_GNUC_CONST;
83 hildon_remote_texture_new (void);
86 hildon_remote_texture_send_message (HildonRemoteTexture *self,
95 hildon_remote_texture_set_image (HildonRemoteTexture *self,
101 hildon_remote_texture_update_area (HildonRemoteTexture *self,
107 hildon_remote_texture_set_show_full (HildonRemoteTexture *self,
111 hildon_remote_texture_set_show (HildonRemoteTexture *self,
114 hildon_remote_texture_set_opacity (HildonRemoteTexture *self,
117 hildon_remote_texture_set_position (HildonRemoteTexture *self,
123 hildon_remote_texture_set_offset (HildonRemoteTexture *self,
127 hildon_remote_texture_set_scale (HildonRemoteTexture *self,
131 hildon_remote_texture_set_parent (HildonRemoteTexture *self,
136 #endif /* __HILDON_REMOTE_TEXTURE_H__ */