1 /*****************************************************************************
3 *****************************************************************************
4 * Copyright (C) 2003 the VideoLAN team
7 * Authors: Cyril Deguet <asmax@via.ecp.fr>
8 * Olivier Teuliere <ipkiss@via.ecp.fr>
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
23 *****************************************************************************/
25 //File generated by gen_builder.py
26 //DO NOT EDIT BY HAND !
28 #ifndef BUILDER_DATA_HPP
29 #define BUILDER_DATA_HPP
38 /// Structure for mapping data from XML file
45 Theme( const string & tooltipfont, int magnet, uint32_t alpha, uint32_t moveAlpha ):
46 m_tooltipfont( tooltipfont ), m_magnet( magnet ), m_alpha( alpha ), m_moveAlpha( moveAlpha ) {}
48 const string m_tooltipfont;
54 list<Theme> m_listTheme;
59 Bitmap( const string & id, const string & fileName, uint32_t alphaColor ):
60 m_id( id ), m_fileName( fileName ), m_alphaColor( alphaColor ) {}
63 const string m_fileName;
64 uint32_t m_alphaColor;
67 list<Bitmap> m_listBitmap;
72 SubBitmap( const string & id, const string & parent, int x, int y, int width, int height ):
73 m_id( id ), m_parent( parent ), m_x( x ), m_y( y ), m_width( width ), m_height( height ) {}
76 const string m_parent;
83 list<SubBitmap> m_listSubBitmap;
88 BitmapFont( const string & id, const string & file, const string & type ):
89 m_id( id ), m_file( file ), m_type( type ) {}
96 list<BitmapFont> m_listBitmapFont;
101 Font( const string & id, const string & fontFile, int size ):
102 m_id( id ), m_fontFile( fontFile ), m_size( size ) {}
105 const string m_fontFile;
109 list<Font> m_listFont;
114 Window( const string & id, int xPos, int yPos, bool visible, bool dragDrop, bool playOnDrop ):
115 m_id( id ), m_xPos( xPos ), m_yPos( yPos ), m_visible( visible ), m_dragDrop( dragDrop ), m_playOnDrop( playOnDrop ) {}
125 list<Window> m_listWindow;
130 Layout( const string & id, int width, int height, int minWidth, int maxWidth, int minHeight, int maxHeight, const string & windowId ):
131 m_id( id ), m_width( width ), m_height( height ), m_minWidth( minWidth ), m_maxWidth( maxWidth ), m_minHeight( minHeight ), m_maxHeight( maxHeight ), m_windowId( windowId ) {}
140 const string m_windowId;
143 list<Layout> m_listLayout;
148 Anchor( int xPos, int yPos, int range, int priority, const string & points, const string & layoutId ):
149 m_xPos( xPos ), m_yPos( yPos ), m_range( range ), m_priority( priority ), m_points( points ), m_layoutId( layoutId ) {}
155 const string m_points;
156 const string m_layoutId;
159 list<Anchor> m_listAnchor;
164 Button( const string & id, int xPos, int yPos, const string & leftTop, const string & rightBottom, const string & visible, const string & upId, const string & downId, const string & overId, const string & actionId, const string & tooltip, const string & help, int layer, const string & windowId, const string & layoutId ):
165 m_id( id ), m_xPos( xPos ), m_yPos( yPos ), m_leftTop( leftTop ), m_rightBottom( rightBottom ), m_visible( visible ), m_upId( upId ), m_downId( downId ), m_overId( overId ), m_actionId( actionId ), m_tooltip( tooltip ), m_help( help ), m_layer( layer ), m_windowId( windowId ), m_layoutId( layoutId ) {}
170 const string m_leftTop;
171 const string m_rightBottom;
172 const string m_visible;
174 const string m_downId;
175 const string m_overId;
176 const string m_actionId;
177 const string m_tooltip;
180 const string m_windowId;
181 const string m_layoutId;
184 list<Button> m_listButton;
189 Checkbox( const string & id, int xPos, int yPos, const string & leftTop, const string & rightBottom, const string & visible, const string & up1Id, const string & down1Id, const string & over1Id, const string & up2Id, const string & down2Id, const string & over2Id, const string & state, const string & action1, const string & action2, const string & tooltip1, const string & tooltip2, const string & help, int layer, const string & windowId, const string & layoutId ):
190 m_id( id ), m_xPos( xPos ), m_yPos( yPos ), m_leftTop( leftTop ), m_rightBottom( rightBottom ), m_visible( visible ), m_up1Id( up1Id ), m_down1Id( down1Id ), m_over1Id( over1Id ), m_up2Id( up2Id ), m_down2Id( down2Id ), m_over2Id( over2Id ), m_state( state ), m_action1( action1 ), m_action2( action2 ), m_tooltip1( tooltip1 ), m_tooltip2( tooltip2 ), m_help( help ), m_layer( layer ), m_windowId( windowId ), m_layoutId( layoutId ) {}
195 const string m_leftTop;
196 const string m_rightBottom;
197 const string m_visible;
198 const string m_up1Id;
199 const string m_down1Id;
200 const string m_over1Id;
201 const string m_up2Id;
202 const string m_down2Id;
203 const string m_over2Id;
204 const string m_state;
205 const string m_action1;
206 const string m_action2;
207 const string m_tooltip1;
208 const string m_tooltip2;
211 const string m_windowId;
212 const string m_layoutId;
215 list<Checkbox> m_listCheckbox;
220 Image( const string & id, int xPos, int yPos, const string & leftTop, const string & rightBottom, const string & visible, const string & bmpId, const string & actionId, const string & resize, const string & help, int layer, const string & windowId, const string & layoutId ):
221 m_id( id ), m_xPos( xPos ), m_yPos( yPos ), m_leftTop( leftTop ), m_rightBottom( rightBottom ), m_visible( visible ), m_bmpId( bmpId ), m_actionId( actionId ), m_resize( resize ), m_help( help ), m_layer( layer ), m_windowId( windowId ), m_layoutId( layoutId ) {}
226 const string m_leftTop;
227 const string m_rightBottom;
228 const string m_visible;
229 const string m_bmpId;
230 const string m_actionId;
231 const string m_resize;
234 const string m_windowId;
235 const string m_layoutId;
238 list<Image> m_listImage;
243 Text( const string & id, int xPos, int yPos, const string & visible, const string & fontId, const string & text, int width, const string & leftTop, const string & rightBottom, uint32_t color, const string & help, int layer, const string & windowId, const string & layoutId ):
244 m_id( id ), m_xPos( xPos ), m_yPos( yPos ), m_visible( visible ), m_fontId( fontId ), m_text( text ), m_width( width ), m_leftTop( leftTop ), m_rightBottom( rightBottom ), m_color( color ), m_help( help ), m_layer( layer ), m_windowId( windowId ), m_layoutId( layoutId ) {}
249 const string m_visible;
250 const string m_fontId;
253 const string m_leftTop;
254 const string m_rightBottom;
258 const string m_windowId;
259 const string m_layoutId;
262 list<Text> m_listText;
267 RadialSlider( const string & id, const string & visible, int xPos, int yPos, const string & leftTop, const string & rightBottom, const string & sequence, int nbImages, float minAngle, float maxAngle, const string & value, const string & tooltip, const string & help, int layer, const string & windowId, const string & layoutId ):
268 m_id( id ), m_visible( visible ), m_xPos( xPos ), m_yPos( yPos ), m_leftTop( leftTop ), m_rightBottom( rightBottom ), m_sequence( sequence ), m_nbImages( nbImages ), m_minAngle( minAngle ), m_maxAngle( maxAngle ), m_value( value ), m_tooltip( tooltip ), m_help( help ), m_layer( layer ), m_windowId( windowId ), m_layoutId( layoutId ) {}
271 const string m_visible;
274 const string m_leftTop;
275 const string m_rightBottom;
276 const string m_sequence;
280 const string m_value;
281 const string m_tooltip;
284 const string m_windowId;
285 const string m_layoutId;
288 list<RadialSlider> m_listRadialSlider;
293 Slider( const string & id, const string & visible, int xPos, int yPos, const string & leftTop, const string & rightBottom, const string & upId, const string & downId, const string & overId, const string & points, int thickness, const string & value, const string & background, int nbImages, const string & tooltip, const string & help, int layer, const string & windowId, const string & layoutId ):
294 m_id( id ), m_visible( visible ), m_xPos( xPos ), m_yPos( yPos ), m_leftTop( leftTop ), m_rightBottom( rightBottom ), m_upId( upId ), m_downId( downId ), m_overId( overId ), m_points( points ), m_thickness( thickness ), m_value( value ), m_background( background ), m_nbImages( nbImages ), m_tooltip( tooltip ), m_help( help ), m_layer( layer ), m_windowId( windowId ), m_layoutId( layoutId ) {}
297 const string m_visible;
300 const string m_leftTop;
301 const string m_rightBottom;
303 const string m_downId;
304 const string m_overId;
305 const string m_points;
307 const string m_value;
308 const string m_background;
310 const string m_tooltip;
313 const string m_windowId;
314 const string m_layoutId;
317 list<Slider> m_listSlider;
322 List( const string & id, int xPos, int yPos, const string & visible, int width, int height, const string & leftTop, const string & rightBottom, const string & fontId, const string & var, const string & bgImageId, uint32_t fgColor, uint32_t playColor, uint32_t bgColor1, uint32_t bgColor2, uint32_t selColor, const string & help, int layer, const string & windowId, const string & layoutId ):
323 m_id( id ), m_xPos( xPos ), m_yPos( yPos ), m_visible( visible ), m_width( width ), m_height( height ), m_leftTop( leftTop ), m_rightBottom( rightBottom ), m_fontId( fontId ), m_var( var ), m_bgImageId( bgImageId ), m_fgColor( fgColor ), m_playColor( playColor ), m_bgColor1( bgColor1 ), m_bgColor2( bgColor2 ), m_selColor( selColor ), m_help( help ), m_layer( layer ), m_windowId( windowId ), m_layoutId( layoutId ) {}
328 const string m_visible;
331 const string m_leftTop;
332 const string m_rightBottom;
333 const string m_fontId;
335 const string m_bgImageId;
337 uint32_t m_playColor;
343 const string m_windowId;
344 const string m_layoutId;
347 list<List> m_listList;
352 Tree( const string & id, int xPos, int yPos, const string & visible, int width, int height, const string & leftTop, const string & rightBottom, const string & fontId, const string & var, const string & bgImageId, const string & itemImageId, const string & openImageId, const string & closedImageId, uint32_t fgColor, uint32_t playColor, uint32_t bgColor1, uint32_t bgColor2, uint32_t selColor, const string & help, int layer, const string & windowId, const string & layoutId ):
353 m_id( id ), m_xPos( xPos ), m_yPos( yPos ), m_visible( visible ), m_width( width ), m_height( height ), m_leftTop( leftTop ), m_rightBottom( rightBottom ), m_fontId( fontId ), m_var( var ), m_bgImageId( bgImageId ), m_itemImageId( itemImageId ), m_openImageId( openImageId ), m_closedImageId( closedImageId ), m_fgColor( fgColor ), m_playColor( playColor ), m_bgColor1( bgColor1 ), m_bgColor2( bgColor2 ), m_selColor( selColor ), m_help( help ), m_layer( layer ), m_windowId( windowId ), m_layoutId( layoutId ) {}
358 const string m_visible;
361 const string m_leftTop;
362 const string m_rightBottom;
363 const string m_fontId;
365 const string m_bgImageId;
366 const string m_itemImageId;
367 const string m_openImageId;
368 const string m_closedImageId;
370 uint32_t m_playColor;
376 const string m_windowId;
377 const string m_layoutId;
380 list<Tree> m_listTree;
385 Video( const string & id, int xPos, int yPos, int width, int height, const string & leftTop, const string & rightBottom, const string & visible, bool autoResize, const string & help, int layer, const string & windowId, const string & layoutId ):
386 m_id( id ), m_xPos( xPos ), m_yPos( yPos ), m_width( width ), m_height( height ), m_leftTop( leftTop ), m_rightBottom( rightBottom ), m_visible( visible ), m_autoResize( autoResize ), m_help( help ), m_layer( layer ), m_windowId( windowId ), m_layoutId( layoutId ) {}
393 const string m_leftTop;
394 const string m_rightBottom;
395 const string m_visible;
399 const string m_windowId;
400 const string m_layoutId;
403 list<Video> m_listVideo;