1 /*****************************************************************************
3 *****************************************************************************
4 * Copyright (C) 2003 VideoLAN
7 * Authors: Cyril Deguet <asmax@via.ecp.fr>
8 * Olivier Teulière <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, uint32_t fadeTime ):
46 m_tooltipfont( tooltipfont ), m_magnet( magnet ), m_alpha( alpha ), m_moveAlpha( moveAlpha ), m_fadeTime( fadeTime ) {}
48 const string m_tooltipfont;
55 list<Theme> m_listTheme;
60 Bitmap( const string & id, const string & fileName, uint32_t alphaColor ):
61 m_id( id ), m_fileName( fileName ), m_alphaColor( alphaColor ) {}
64 const string m_fileName;
65 uint32_t m_alphaColor;
68 list<Bitmap> m_listBitmap;
73 Font( const string & id, const string & fontName, int size ):
74 m_id( id ), m_fontName( fontName ), m_size( size ) {}
77 const string m_fontName;
81 list<Font> m_listFont;
86 Window( const string & id, int xPos, int yPos, bool visible, bool dragDrop, bool playOnDrop ):
87 m_id( id ), m_xPos( xPos ), m_yPos( yPos ), m_visible( visible ), m_dragDrop( dragDrop ), m_playOnDrop( playOnDrop ) {}
97 list<Window> m_listWindow;
102 Layout( const string & id, int width, int height, int minWidth, int maxWidth, int minHeight, int maxHeight, const string & windowId ):
103 m_id( id ), m_width( width ), m_height( height ), m_minWidth( minWidth ), m_maxWidth( maxWidth ), m_minHeight( minHeight ), m_maxHeight( maxHeight ), m_windowId( windowId ) {}
112 const string m_windowId;
115 list<Layout> m_listLayout;
120 Anchor( int xPos, int yPos, int range, int priority, const string & points, const string & windowId ):
121 m_xPos( xPos ), m_yPos( yPos ), m_range( range ), m_priority( priority ), m_points( points ), m_windowId( windowId ) {}
127 const string m_points;
128 const string m_windowId;
131 list<Anchor> m_listAnchor;
136 Button( const string & id, int xPos, int yPos, const string & leftTop, const string & rightBottom, 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 ):
137 m_id( id ), m_xPos( xPos ), m_yPos( yPos ), m_leftTop( leftTop ), m_rightBottom( rightBottom ), 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 ) {}
142 const string m_leftTop;
143 const string m_rightBottom;
145 const string m_downId;
146 const string m_overId;
147 const string m_actionId;
148 const string m_tooltip;
151 const string m_windowId;
152 const string m_layoutId;
155 list<Button> m_listButton;
160 Checkbox( const string & id, int xPos, int yPos, const string & leftTop, const string & rightBottom, 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 ):
161 m_id( id ), m_xPos( xPos ), m_yPos( yPos ), m_leftTop( leftTop ), m_rightBottom( rightBottom ), 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 ) {}
166 const string m_leftTop;
167 const string m_rightBottom;
168 const string m_up1Id;
169 const string m_down1Id;
170 const string m_over1Id;
171 const string m_up2Id;
172 const string m_down2Id;
173 const string m_over2Id;
174 const string m_state;
175 const string m_action1;
176 const string m_action2;
177 const string m_tooltip1;
178 const string m_tooltip2;
181 const string m_windowId;
182 const string m_layoutId;
185 list<Checkbox> m_listCheckbox;
190 Image( const string & id, int xPos, int yPos, const string & leftTop, const string & rightBottom, bool visible, const string & bmpId, const string & actionId, const string & help, int layer, const string & windowId, const string & layoutId ):
191 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_help( help ), m_layer( layer ), m_windowId( windowId ), m_layoutId( layoutId ) {}
196 const string m_leftTop;
197 const string m_rightBottom;
199 const string m_bmpId;
200 const string m_actionId;
203 const string m_windowId;
204 const string m_layoutId;
207 list<Image> m_listImage;
212 Text( const string & id, int xPos, int yPos, const string & fontId, const string & text, int width, uint32_t color, const string & help, int layer, const string & windowId, const string & layoutId ):
213 m_id( id ), m_xPos( xPos ), m_yPos( yPos ), m_fontId( fontId ), m_text( text ), m_width( width ), m_color( color ), m_help( help ), m_layer( layer ), m_windowId( windowId ), m_layoutId( layoutId ) {}
218 const string m_fontId;
224 const string m_windowId;
225 const string m_layoutId;
228 list<Text> m_listText;
233 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 ):
234 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 ) {}
237 const string m_visible;
240 const string m_leftTop;
241 const string m_rightBottom;
242 const string m_sequence;
246 const string m_value;
247 const string m_tooltip;
250 const string m_windowId;
251 const string m_layoutId;
254 list<RadialSlider> m_listRadialSlider;
259 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 & tooltip, const string & help, int layer, const string & windowId, const string & layoutId ):
260 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_tooltip( tooltip ), m_help( help ), m_layer( layer ), m_windowId( windowId ), m_layoutId( layoutId ) {}
263 const string m_visible;
266 const string m_leftTop;
267 const string m_rightBottom;
269 const string m_downId;
270 const string m_overId;
271 const string m_points;
273 const string m_value;
274 const string m_tooltip;
277 const string m_windowId;
278 const string m_layoutId;
281 list<Slider> m_listSlider;
286 List( const string & id, int xPos, int yPos, int width, int height, const string & leftTop, const string & rightBottom, const string & fontId, const string & var, 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 ):
287 m_id( id ), m_xPos( xPos ), m_yPos( yPos ), m_width( width ), m_height( height ), m_leftTop( leftTop ), m_rightBottom( rightBottom ), m_fontId( fontId ), m_var( var ), 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 ) {}
294 const string m_leftTop;
295 const string m_rightBottom;
296 const string m_fontId;
299 uint32_t m_playColor;
305 const string m_windowId;
306 const string m_layoutId;
309 list<List> m_listList;
314 Video( const string & id, int xPos, int yPos, int width, int height, const string & leftTop, const string & rightBottom, bool visible, const string & help, int layer, const string & windowId, const string & layoutId ):
315 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_help( help ), m_layer( layer ), m_windowId( windowId ), m_layoutId( layoutId ) {}
322 const string m_leftTop;
323 const string m_rightBottom;
327 const string m_windowId;
328 const string m_layoutId;
331 list<Video> m_listVideo;