]> git.sesse.net Git - vlc/blob - modules/gui/skins/parser/wrappers.h
dde4efb9c10a7534a4518b71755ac4e2c654a252
[vlc] / modules / gui / skins / parser / wrappers.h
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 $
6  *
7  * Authors: Olivier Teulière <ipkiss@via.ecp.fr>
8  *          Emmanuel Puig    <karibu@via.ecp.fr>
9  *
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.
14  *
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.
19  *
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,
23  * USA.
24  *****************************************************************************/
25
26
27 //---------------------------------------------------------------------------
28 #if defined(__cplusplus)
29 extern "C" {
30 #endif
31
32
33 //---------------------------------------------------------------------------
34 // Divers
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();
43
44 //---------------------------------------------------------------------------
45 // Theme
46 //---------------------------------------------------------------------------
47     void AddThemeInfo( char *name, char *author, char *email,
48                        char *webpage );
49     void StartTheme( char *magnet );
50     void EndTheme();
51
52 //---------------------------------------------------------------------------
53 // Window
54 //---------------------------------------------------------------------------
55     void StartWindow( char *name, char *x, char *y, char *visible,
56                       char *fadetime, char *alpha, char *movealpha,
57                       char *dragdrop );
58     void EndWindow();
59
60 //---------------------------------------------------------------------------
61 // Control
62 //---------------------------------------------------------------------------
63     void AddImage( char *id, char *visible, char *x, char *y, char *image,
64                    char *event, char *help );
65
66     void AddRectangle( char *id, char *visible, char *x, char *y, char *w,
67                        char *h, char *color, char *event, char *help );
68
69     void AddButton( char *id,
70                     char *visible,
71                     char *x, char *y,
72                     char *up, char *down, char *disabled,
73                     char *onclick, char *onmouseover, char *onmouseout,
74                     char *tooltiptext, char *help );
75
76     void AddCheckBox( char *id,
77                       char *visible,
78                       char *x, char *y,
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 );
84
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 );
88
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 );
92
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 );
97
98     void AddPlayListEnd();
99 //---------------------------------------------------------------------------
100
101 #if defined(__cplusplus)
102 }
103 #endif