1 /*****************************************************************************
2 * wrappers.h: Wrappers around C++ objects
3 *****************************************************************************
4 * Copyright (C) 2003 VideoLAN
5 * $Id: wrappers.h,v 1.4 2003/04/20 20:28:39 ipkiss Exp $
7 * Authors: Olivier Teulière <ipkiss@via.ecp.fr>
8 * Emmanuel Puig <karibu@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,
24 *****************************************************************************/
27 //---------------------------------------------------------------------------
28 #if defined(__cplusplus)
33 //---------------------------------------------------------------------------
35 //---------------------------------------------------------------------------
36 void AddAnchor( char *x, char *y, char *len, char *priority );
37 void AddBitmap( char *name, char *file, char *transcolor );
38 void AddEvent( char *name, char *event, char *key );
39 void AddFont( char *name, char *font, char *size,
40 char *color, char *weight, char *italic, char *underline );
41 void StartControlGroup( char *x, char *y );
42 void EndControlGroup();
44 //---------------------------------------------------------------------------
46 //---------------------------------------------------------------------------
47 void AddThemeInfo( char *name, char *author, char *email,
49 void StartTheme( char *magnet );
52 //---------------------------------------------------------------------------
54 //---------------------------------------------------------------------------
55 void StartWindow( char *name, char *x, char *y, char *visible,
56 char *fadetime, char *alpha, char *movealpha,
60 //---------------------------------------------------------------------------
62 //---------------------------------------------------------------------------
63 void AddImage( char *id, char *visible, char *x, char *y, char *image,
64 char *event, char *help );
66 void AddRectangle( char *id, char *visible, char *x, char *y, char *w,
67 char *h, char *color, char *event, char *help );
69 void AddButton( char *id,
72 char *up, char *down, char *disabled,
73 char *onclick, char *onmouseover, char *onmouseout,
74 char *tooltiptext, char *help );
76 void AddCheckBox( char *id,
79 char *img1, char *img2, char *clickimg1, char *clickimg2,
80 char *disabled1, char *disabled2,
81 char *onclick1, char *onclick2, char *onmouseover1,
82 char *onmouseout1, char *onmouseover2, char *onmouseout2,
83 char *tooltiptext1, char *tooltiptext2, char *help );
85 void AddSlider( char *id, char *visible, char *x, char *y, char *type,
86 char *up, char *down, char *abs, char *ord,
87 char *tooltiptext, char *help );
89 void AddText( char *id, char *visible, char *x, char *y, char *text,
90 char *font, char *align, char *width, char *display,
91 char *scroll, char *scrollspace, char *help );
93 void AddPlayList( char *id, char *visible, char *x, char *y, char *width,
94 char *infowidth, char *font, char *playfont,
95 char *selcolor, char *abs, char *ord,
96 char *longfilename, char *help );
98 void AddPlayListEnd();
99 //---------------------------------------------------------------------------
101 #if defined(__cplusplus)