release 0.8.0
[swfdec.git] / swfdec / swfdec_button_movie_as.c
blobc6c2f3641b6a9199f53cc0460359c353bd255753
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 // properties
28 SWFDEC_AS_NATIVE (105, 4, swfdec_button_get_scale9Grid)
29 void
30 swfdec_button_get_scale9Grid (SwfdecAsContext *cx, SwfdecAsObject *object,
31 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
33 SWFDEC_STUB ("Button.scale9Grid (get)");
36 SWFDEC_AS_NATIVE (105, 5, swfdec_button_set_scale9Grid)
37 void
38 swfdec_button_set_scale9Grid (SwfdecAsContext *cx, SwfdecAsObject *object,
39 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
41 SWFDEC_STUB ("Button.scale9Grid (set)");
44 SWFDEC_AS_NATIVE (105, 6, swfdec_button_get_filters)
45 void
46 swfdec_button_get_filters (SwfdecAsContext *cx, SwfdecAsObject *object,
47 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
49 SWFDEC_STUB ("Button.filters (get)");
52 SWFDEC_AS_NATIVE (105, 7, swfdec_button_set_filters)
53 void
54 swfdec_button_set_filters (SwfdecAsContext *cx, SwfdecAsObject *object,
55 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
57 SWFDEC_STUB ("Button.filters (set)");
60 SWFDEC_AS_NATIVE (105, 8, swfdec_button_get_cacheAsBitmap)
61 void
62 swfdec_button_get_cacheAsBitmap (SwfdecAsContext *cx, SwfdecAsObject *object,
63 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
65 SWFDEC_STUB ("Button.cacheAsBitmap (get)");
68 SWFDEC_AS_NATIVE (105, 9, swfdec_button_set_cacheAsBitmap)
69 void
70 swfdec_button_set_cacheAsBitmap (SwfdecAsContext *cx, SwfdecAsObject *object,
71 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
73 SWFDEC_STUB ("Button.cacheAsBitmap (set)");
76 SWFDEC_AS_NATIVE (105, 10, swfdec_button_get_blendMode)
77 void
78 swfdec_button_get_blendMode (SwfdecAsContext *cx, SwfdecAsObject *object,
79 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
81 SWFDEC_STUB ("Button.blendMode (get)");
84 SWFDEC_AS_NATIVE (105, 11, swfdec_button_set_blendMode)
85 void
86 swfdec_button_set_blendMode (SwfdecAsContext *cx, SwfdecAsObject *object,
87 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
89 SWFDEC_STUB ("Button.blendMode (set)");
92 // normal
93 SWFDEC_AS_NATIVE (105, 3, swfdec_button_movie_getDepth)
94 void
95 swfdec_button_movie_getDepth (SwfdecAsContext *cx, SwfdecAsObject *object,
96 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
98 SWFDEC_STUB ("Button.getDepth");
101 // constructor
102 SWFDEC_AS_NATIVE (105, 0, swfdec_button_movie_construct)
103 void
104 swfdec_button_movie_construct (SwfdecAsContext *cx, SwfdecAsObject *object,
105 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
107 SWFDEC_STUB ("Button");