Fix few bugs in SwfdecGtkSocket that made it unusable
[swfdec.git] / swfdec / swfdec_displacement_map_filter.c
blob55dea6e93314da0bc17eb881114cddd315d8ba71
1 /* Swfdec
2 * Copyright (C) 2007 Pekka Lampila <pekka.lampila@iki.fi>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301 USA
20 #ifdef HAVE_CONFIG_H
21 #include "config.h"
22 #endif
24 #include "swfdec_as_internal.h"
25 #include "swfdec_debug.h"
27 SWFDEC_AS_NATIVE (1111, 1, swfdec_displacement_map_filter_get_mapBitmap)
28 void
29 swfdec_displacement_map_filter_get_mapBitmap (SwfdecAsContext *cx,
30 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
31 SwfdecAsValue *ret)
33 SWFDEC_STUB ("DisplacementMapFilter.mapBitmap (get)");
36 SWFDEC_AS_NATIVE (1111, 2, swfdec_displacement_map_filter_set_mapBitmap)
37 void
38 swfdec_displacement_map_filter_set_mapBitmap (SwfdecAsContext *cx,
39 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
40 SwfdecAsValue *ret)
42 SWFDEC_STUB ("DisplacementMapFilter.mapBitmap (set)");
45 SWFDEC_AS_NATIVE (1111, 3, swfdec_displacement_map_filter_get_mapPoint)
46 void
47 swfdec_displacement_map_filter_get_mapPoint (SwfdecAsContext *cx,
48 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
49 SwfdecAsValue *ret)
51 SWFDEC_STUB ("DisplacementMapFilter.mapPoint (get)");
54 SWFDEC_AS_NATIVE (1111, 4, swfdec_displacement_map_filter_set_mapPoint)
55 void
56 swfdec_displacement_map_filter_set_mapPoint (SwfdecAsContext *cx,
57 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
58 SwfdecAsValue *ret)
60 SWFDEC_STUB ("DisplacementMapFilter.mapPoint (set)");
63 SWFDEC_AS_NATIVE (1111, 5, swfdec_displacement_map_filter_get_componentX)
64 void
65 swfdec_displacement_map_filter_get_componentX (SwfdecAsContext *cx,
66 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
67 SwfdecAsValue *ret)
69 SWFDEC_STUB ("DisplacementMapFilter.componentX (get)");
72 SWFDEC_AS_NATIVE (1111, 6, swfdec_displacement_map_filter_set_componentX)
73 void
74 swfdec_displacement_map_filter_set_componentX (SwfdecAsContext *cx,
75 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
76 SwfdecAsValue *ret)
78 SWFDEC_STUB ("DisplacementMapFilter.componentX (set)");
81 SWFDEC_AS_NATIVE (1111, 7, swfdec_displacement_map_filter_get_componentY)
82 void
83 swfdec_displacement_map_filter_get_componentY (SwfdecAsContext *cx,
84 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
85 SwfdecAsValue *ret)
87 SWFDEC_STUB ("DisplacementMapFilter.componentY (get)");
90 SWFDEC_AS_NATIVE (1111, 8, swfdec_displacement_map_filter_set_componentY)
91 void
92 swfdec_displacement_map_filter_set_componentY (SwfdecAsContext *cx,
93 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
94 SwfdecAsValue *ret)
96 SWFDEC_STUB ("DisplacementMapFilter.componentY (set)");
99 SWFDEC_AS_NATIVE (1111, 9, swfdec_displacement_map_filter_get_scaleX)
100 void
101 swfdec_displacement_map_filter_get_scaleX (SwfdecAsContext *cx,
102 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
103 SwfdecAsValue *ret)
105 SWFDEC_STUB ("DisplacementMapFilter.scaleX (get)");
108 SWFDEC_AS_NATIVE (1111, 10, swfdec_displacement_map_filter_set_scaleX)
109 void
110 swfdec_displacement_map_filter_set_scaleX (SwfdecAsContext *cx,
111 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
112 SwfdecAsValue *ret)
114 SWFDEC_STUB ("DisplacementMapFilter.scaleX (set)");
117 SWFDEC_AS_NATIVE (1111, 11, swfdec_displacement_map_filter_get_scaleY)
118 void
119 swfdec_displacement_map_filter_get_scaleY (SwfdecAsContext *cx,
120 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
121 SwfdecAsValue *ret)
123 SWFDEC_STUB ("DisplacementMapFilter.scaleY (get)");
126 SWFDEC_AS_NATIVE (1111, 12, swfdec_displacement_map_filter_set_scaleY)
127 void
128 swfdec_displacement_map_filter_set_scaleY (SwfdecAsContext *cx,
129 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
130 SwfdecAsValue *ret)
132 SWFDEC_STUB ("DisplacementMapFilter.scaleY (set)");
135 SWFDEC_AS_NATIVE (1111, 13, swfdec_displacement_map_filter_get_mode)
136 void
137 swfdec_displacement_map_filter_get_mode (SwfdecAsContext *cx,
138 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
139 SwfdecAsValue *ret)
141 SWFDEC_STUB ("DisplacementMapFilter.mode (get)");
144 SWFDEC_AS_NATIVE (1111, 14, swfdec_displacement_map_filter_set_mode)
145 void
146 swfdec_displacement_map_filter_set_mode (SwfdecAsContext *cx,
147 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
148 SwfdecAsValue *ret)
150 SWFDEC_STUB ("DisplacementMapFilter.mode (set)");
153 SWFDEC_AS_NATIVE (1111, 15, swfdec_displacement_map_filter_get_color)
154 void
155 swfdec_displacement_map_filter_get_color (SwfdecAsContext *cx,
156 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
157 SwfdecAsValue *ret)
159 SWFDEC_STUB ("DisplacementMapFilter.color (get)");
162 SWFDEC_AS_NATIVE (1111, 16, swfdec_displacement_map_filter_set_color)
163 void
164 swfdec_displacement_map_filter_set_color (SwfdecAsContext *cx,
165 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
166 SwfdecAsValue *ret)
168 SWFDEC_STUB ("DisplacementMapFilter.color (set)");
171 SWFDEC_AS_NATIVE (1111, 17, swfdec_displacement_map_filter_get_alpha)
172 void
173 swfdec_displacement_map_filter_get_alpha (SwfdecAsContext *cx,
174 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
175 SwfdecAsValue *ret)
177 SWFDEC_STUB ("DisplacementMapFilter.alpha (get)");
180 SWFDEC_AS_NATIVE (1111, 18, swfdec_displacement_map_filter_set_alpha)
181 void
182 swfdec_displacement_map_filter_set_alpha (SwfdecAsContext *cx,
183 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
184 SwfdecAsValue *ret)
186 SWFDEC_STUB ("DisplacementMapFilter.alpha (set)");
189 // constructor
190 SWFDEC_AS_NATIVE (1111, 0, swfdec_displacement_map_filter_contruct)
191 void
192 swfdec_displacement_map_filter_contruct (SwfdecAsContext *cx,
193 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
194 SwfdecAsValue *ret)
196 SWFDEC_STUB ("DisplacementMapFilter");