1 /* XML application for skin.dtd (Id: skin.dtd,v 1.4 2003/04/20 20:28:39 ipkiss Exp).
2 * Includes actions from skin.act.
3 * Generated 2003/10/22 19:09:40.
5 * This program was generated with the FleXML XML processor generator,
6 * (Id: flexml.pl,v 1.24 1999/12/13 16:18:30 krisrose Exp).
7 * Copyright © 1999 Kristoffer Rose. All rights reserved.
9 * You can redistribute and/or modify this program provided the following
10 * two conditions hold:
12 * 1. The program is distributed WITHOUT ANY WARRANTY from the author of
13 * FleXML; without even the implied warranty of MERCHANTABILITY or
14 * FITNESS FOR A PARTICULAR PURPOSE.
16 * 2. The program distribution conditions do not in any way affect the
17 * distribution conditions of the FleXML system used to generate this
18 * file or any version of FleXML derived from that system.
20 * Notice that these are explicit rights granted to you for files
21 * generated by the FleXML system. For your rights in connection with
22 * the FleXML system itself please consult the GNU General Public License.
31 #include "parser/wrappers.h"
34 void STag_Bitmap(void)
39 AddBitmap( A_Bitmap_id, A_Bitmap_file, A_Bitmap_alphacolor );
49 AddEvent( A_Event_id, A_Event_event, A_Event_key );
59 AddFont( A_Font_id, A_Font_font, A_Font_size, A_Font_color, A_Font_weight, A_Font_italic,
65 void STag_ThemeInfo(void)
70 AddThemeInfo( A_ThemeInfo_name, A_ThemeInfo_author, A_ThemeInfo_email, A_ThemeInfo_webpage );
73 } /* STag_ThemeInfo */
75 void STag_Window(void)
80 StartWindow( A_Window_id, A_Window_x, A_Window_y, A_Window_visible, A_Window_fadetime, A_Window_alpha,
81 A_Window_movealpha, A_Window_dragdrop, A_Window_playondrop );
86 void ETag_Window(void)
96 void STag_ControlGroup(void)
101 StartControlGroup( A_ControlGroup_x, A_ControlGroup_y );
104 } /* STag_ControlGroup */
106 void ETag_ControlGroup(void)
114 } /* ETag_ControlGroup */
116 void STag_Anchor(void)
121 AddAnchor( A_Anchor_x, A_Anchor_y, A_Anchor_range, A_Anchor_priority );
126 void STag_ImageControl(void)
131 AddImage( A_ImageControl_id, A_ImageControl_visible, A_ImageControl_x, A_ImageControl_y, A_ImageControl_image, A_ImageControl_onclick, A_ImageControl_help );
134 } /* STag_ImageControl */
136 void STag_RectangleControl(void)
141 AddRectangle( A_RectangleControl_id, A_RectangleControl_visible, A_RectangleControl_x, A_RectangleControl_y, A_RectangleControl_w, A_RectangleControl_h, A_RectangleControl_color,
142 A_RectangleControl_onclick, A_RectangleControl_help );
145 } /* STag_RectangleControl */
147 void STag_ButtonControl(void)
152 AddButton( A_ButtonControl_id,
153 A_ButtonControl_visible,
154 A_ButtonControl_x, A_ButtonControl_y,
155 A_ButtonControl_up, A_ButtonControl_down, A_ButtonControl_disabled,
156 A_ButtonControl_onclick, A_ButtonControl_onmouseover, A_ButtonControl_onmouseout,
157 A_ButtonControl_tooltiptext, A_ButtonControl_help );
160 } /* STag_ButtonControl */
162 void STag_CheckBoxControl(void)
167 AddCheckBox( A_CheckBoxControl_id,
168 A_CheckBoxControl_visible,
169 A_CheckBoxControl_x, A_CheckBoxControl_y,
170 A_CheckBoxControl_img1, A_CheckBoxControl_img2, A_CheckBoxControl_clickimg1, A_CheckBoxControl_clickimg2, A_CheckBoxControl_disabled1,
171 A_CheckBoxControl_disabled2,
172 A_CheckBoxControl_onclick1, A_CheckBoxControl_onclick2, A_CheckBoxControl_onmouseover1, A_CheckBoxControl_onmouseout1,
173 A_CheckBoxControl_onmouseover2, A_CheckBoxControl_onmouseout2,
174 A_CheckBoxControl_tooltiptext1, A_CheckBoxControl_tooltiptext2, A_CheckBoxControl_help );
177 } /* STag_CheckBoxControl */
179 void STag_SliderControl(void)
184 AddSlider( A_SliderControl_id, A_SliderControl_visible, A_SliderControl_x, A_SliderControl_y, A_SliderControl_type, A_SliderControl_up, A_SliderControl_down, A_SliderControl_abs,
185 A_SliderControl_ord, A_SliderControl_tooltiptext, A_SliderControl_help );
188 } /* STag_SliderControl */
190 void STag_TextControl(void)
195 AddText( A_TextControl_id, A_TextControl_visible, A_TextControl_x, A_TextControl_y, A_TextControl_text, A_TextControl_font, A_TextControl_align,
196 A_TextControl_width, A_TextControl_display, A_TextControl_scroll, A_TextControl_scrollspace,
197 A_TextControl_help );
200 } /* STag_TextControl */
202 void STag_PlayListControl(void)
207 AddPlayList( A_PlayListControl_id, A_PlayListControl_visible, A_PlayListControl_x, A_PlayListControl_y, A_PlayListControl_width, A_PlayListControl_infowidth,
208 A_PlayListControl_font, A_PlayListControl_playfont, A_PlayListControl_selcolor, A_PlayListControl_abs, A_PlayListControl_ord,
209 A_PlayListControl_longfilename, A_PlayListControl_help );
212 } /* STag_PlayListControl */
214 void ETag_PlayListControl(void)
222 } /* ETag_PlayListControl */
224 void STag_Theme(void)
229 StartTheme( A_Theme_magnet );
234 void ETag_Theme(void)
244 /* Dummy main: filter XML from stdin. */
245 //int main() { exit(yylex()); }
247 /* XML application entry points. */
248 void ETag_Bitmap(void) {}
249 void ETag_Event(void) {}
250 void ETag_Font(void) {}
251 void ETag_ThemeInfo(void) {}
252 void ETag_Anchor(void) {}
253 void ETag_ImageControl(void) {}
254 void ETag_RectangleControl(void) {}
255 void ETag_ButtonControl(void) {}
256 void ETag_CheckBoxControl(void) {}
257 void ETag_SliderControl(void) {}
258 void ETag_TextControl(void) {}