annotate gui/app/app.h @ 37195:ac6c37d85d65 default tip

configure: Fix initialization of variable def_local_aligned_32 It contiained the #define of HAVE_LOCAL_ALIGNED_16 instead of HAVE_LOCAL_ALIGNED_32.
author al
date Sun, 28 Sep 2014 18:38:41 +0000
parents e8559b9913ff
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26458
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
1 /*
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
2 * This file is part of MPlayer.
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
3 *
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
5 * it under the terms of the GNU General Public License as published by
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
7 * (at your option) any later version.
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
8 *
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
12 * GNU General Public License for more details.
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
13 *
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
14 * You should have received a copy of the GNU General Public License along
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
17 */
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
18
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
19 #ifndef MPLAYER_GUI_APP_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
20 #define MPLAYER_GUI_APP_H
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
21
35525
e27855a45128 Rebuild GUI directory structure.
ib
parents: 35507
diff changeset
22 #include "gui/util/bitmap.h"
e27855a45128 Rebuild GUI directory structure.
ib
parents: 35507
diff changeset
23 #include "gui/wm/ws.h"
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
24
35503
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
25 /// GUI messages (user events)
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
26 enum {
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
27 evNone,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
28 evPlay,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
29 evStop,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
30 evPause,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
31 evPrev,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
32 evNext,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
33 evLoad,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
34 evLoadPlay,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
35 evLoadAudioFile,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
36 evLoadSubtitle,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
37 evDropSubtitle,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
38 evPlaylist,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
39 evPlayCD,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
40 evPlayVCD,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
41 evPlayDVD,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
42 evLoadURL,
36429
28ea255e40ce Add support for TV/DVB to the GUI.
ib
parents: 35688
diff changeset
43 evPlayTV,
35503
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
44 evPlaySwitchToPause,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
45 evPauseSwitchToPlay,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
46 evBackward10sec,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
47 evForward10sec,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
48 evBackward1min,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
49 evForward1min,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
50 evBackward10min,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
51 evForward10min,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
52 evSetMoviePosition,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
53 evHalfSize,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
54 evDoubleSize,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
55 evFullScreen,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
56 evNormalSize,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
57 evSetAspect,
37081
e8559b9913ff New GUI feature: Rotate a video.
ib
parents: 37053
diff changeset
58 evSetRotation,
35503
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
59 evIncVolume,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
60 evDecVolume,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
61 evSetVolume,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
62 evMute,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
63 evSetBalance,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
64 evEqualizer,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
65 evAbout,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
66 evPreferences,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
67 evSkinBrowser,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
68 evMenu,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
69 evIconify,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
70 evExit = 100
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
71 };
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
72
35503
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
73 /// Internal messages (events)
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
74 enum {
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
75 ivSetVideo = 1000,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
76 ivSetAudio,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
77 ivSetSubtitle,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
78 ivSetCDTrack,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
79 ivSetVCDTrack,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
80 ivSetDVDTitle,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
81 ivSetDVDChapter,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
82 ivSetDVDAudio,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
83 ivSetDVDSubtitle,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
84 ivPlayDVD,
36933
fec1a036882c Add an internal event to set volume.
ib
parents: 36920
diff changeset
85 ivSetVolume,
36958
f11488e801a9 Add an internal event to set balance.
ib
parents: 36933
diff changeset
86 ivSetBalance,
35503
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
87 ivShowPopUpMenu,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
88 ivHidePopUpMenu,
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
89 ivRedraw
ac6c531dc9d1 Replace symbolic GUI message (event) constants by enums.
ib
parents: 34697
diff changeset
90 };
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
91
32897
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
92 typedef struct {
32911
e06fbdd8eb46 Clean up the wItem structure.
ib
parents: 32900
diff changeset
93 int message;
32897
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
94 const char *name;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
95 } evName;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
96
35504
cfcf52c6176f Replace symbolic skin item constants by enums.
ib
parents: 35503
diff changeset
97 /// Skin items
cfcf52c6176f Replace symbolic skin item constants by enums.
ib
parents: 35503
diff changeset
98 enum {
cfcf52c6176f Replace symbolic skin item constants by enums.
ib
parents: 35503
diff changeset
99 itNone,
cfcf52c6176f Replace symbolic skin item constants by enums.
ib
parents: 35503
diff changeset
100 itBase,
cfcf52c6176f Replace symbolic skin item constants by enums.
ib
parents: 35503
diff changeset
101 itButton,
cfcf52c6176f Replace symbolic skin item constants by enums.
ib
parents: 35503
diff changeset
102 itSLabel,
cfcf52c6176f Replace symbolic skin item constants by enums.
ib
parents: 35503
diff changeset
103 itDLabel,
cfcf52c6176f Replace symbolic skin item constants by enums.
ib
parents: 35503
diff changeset
104 itHPotmeter,
cfcf52c6176f Replace symbolic skin item constants by enums.
ib
parents: 35503
diff changeset
105 itVPotmeter,
37053
84c93a60ead3 Add new item 'rpotmeter'.
ib
parents: 37020
diff changeset
106 itRPotmeter,
36920
40ad45360c8a Replace old item 'potmeter' by new item 'pimage'.
ib
parents: 36861
diff changeset
107 itPimage,
35504
cfcf52c6176f Replace symbolic skin item constants by enums.
ib
parents: 35503
diff changeset
108 itMenu,
cfcf52c6176f Replace symbolic skin item constants by enums.
ib
parents: 35503
diff changeset
109 itPLMButton = 100,
cfcf52c6176f Replace symbolic skin item constants by enums.
ib
parents: 35503
diff changeset
110 itPRMButton
cfcf52c6176f Replace symbolic skin item constants by enums.
ib
parents: 35503
diff changeset
111 };
32897
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
112
35505
2dccd5d7e36c Add doxygen comment for button states.
ib
parents: 35504
diff changeset
113 //@{
2dccd5d7e36c Add doxygen comment for button states.
ib
parents: 35504
diff changeset
114 /// Button state
32920
8661ae44ef39 Redefine button states.
ib
parents: 32919
diff changeset
115 #define btnDisabled 0
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
116 #define btnReleased 1
32920
8661ae44ef39 Redefine button states.
ib
parents: 32919
diff changeset
117 #define btnPressed 2
35505
2dccd5d7e36c Add doxygen comment for button states.
ib
parents: 35504
diff changeset
118 //@}
32897
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
119
35506
ba3509298598 Add doxygen comment for item definition.
ib
parents: 35505
diff changeset
120 /// Item definition
32897
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
121 typedef struct {
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
122 int type;
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
123
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
124 int x, y;
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
125 int width, height;
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
126
33555
c5a19bbeac2b Cosmetic: Rename some GUI variables and functions.
ib
parents: 33266
diff changeset
127 guiImage Bitmap;
c5a19bbeac2b Cosmetic: Rename some GUI variables and functions.
ib
parents: 33266
diff changeset
128 guiImage Mask;
32897
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
129
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
130 int fontid;
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
131 int align;
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
132 char *label;
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
133
37020
c840891d1be9 Rename guiItem's members pwidth and pheight.
ib
parents: 36959
diff changeset
134 int pbwidth, pbheight;
32911
e06fbdd8eb46 Clean up the wItem structure.
ib
parents: 32900
diff changeset
135 int numphases;
e06fbdd8eb46 Clean up the wItem structure.
ib
parents: 32900
diff changeset
136 float value;
37053
84c93a60ead3 Add new item 'rpotmeter'.
ib
parents: 37020
diff changeset
137 double zeropoint, arclength;
32911
e06fbdd8eb46 Clean up the wItem structure.
ib
parents: 32900
diff changeset
138
e06fbdd8eb46 Clean up the wItem structure.
ib
parents: 32900
diff changeset
139 int message;
e06fbdd8eb46 Clean up the wItem structure.
ib
parents: 32900
diff changeset
140
e06fbdd8eb46 Clean up the wItem structure.
ib
parents: 32900
diff changeset
141 int R, G, B;
e06fbdd8eb46 Clean up the wItem structure.
ib
parents: 32900
diff changeset
142
32897
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
143 char *text;
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
144 int textwidth;
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
145 unsigned int starttime;
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
146 int last_x;
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
147
33103
eabc2472e7eb Remove unused wItem member tmp.
ib
parents: 33100
diff changeset
148 int pressed;
35688
6fd886ce32b9 Cosmetic: Rename wItem guiItem.
ib
parents: 35656
diff changeset
149 } guiItem;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
150
35507
13ae955b6eae Move macro definition and add doxygen comment.
ib
parents: 35506
diff changeset
151 /// Maximum GUI items
13ae955b6eae Move macro definition and add doxygen comment.
ib
parents: 35506
diff changeset
152 #define MAX_ITEMS 64
13ae955b6eae Move macro definition and add doxygen comment.
ib
parents: 35506
diff changeset
153
32897
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
154 typedef struct {
35688
6fd886ce32b9 Cosmetic: Rename wItem guiItem.
ib
parents: 35656
diff changeset
155 guiItem main;
35656
f2093dc82b5f Cosmetic: Rename wsTWindow wsWindow.
ib
parents: 35525
diff changeset
156 wsWindow mainWindow;
32897
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
157 int mainDecoration;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
158
35688
6fd886ce32b9 Cosmetic: Rename wItem guiItem.
ib
parents: 35656
diff changeset
159 guiItem video;
35656
f2093dc82b5f Cosmetic: Rename wsTWindow wsWindow.
ib
parents: 35525
diff changeset
160 wsWindow videoWindow;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
161
35688
6fd886ce32b9 Cosmetic: Rename wItem guiItem.
ib
parents: 35656
diff changeset
162 guiItem playbar;
35656
f2093dc82b5f Cosmetic: Rename wsTWindow wsWindow.
ib
parents: 35525
diff changeset
163 wsWindow playbarWindow;
33555
c5a19bbeac2b Cosmetic: Rename some GUI variables and functions.
ib
parents: 33266
diff changeset
164 int playbarIsPresent;
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28051
diff changeset
165
35688
6fd886ce32b9 Cosmetic: Rename wItem guiItem.
ib
parents: 35656
diff changeset
166 guiItem menu;
6fd886ce32b9 Cosmetic: Rename wItem guiItem.
ib
parents: 35656
diff changeset
167 guiItem menuSelected;
35656
f2093dc82b5f Cosmetic: Rename wsTWindow wsWindow.
ib
parents: 35525
diff changeset
168 wsWindow menuWindow;
32897
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
169 int menuIsPresent;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
170
32931
03b1051bed5c Rename the 'NumberOf' members of the listItems structure.
ib
parents: 32927
diff changeset
171 int IndexOfMainItems;
35688
6fd886ce32b9 Cosmetic: Rename wItem guiItem.
ib
parents: 35656
diff changeset
172 guiItem mainItems[MAX_ITEMS];
32897
14af78beac02 Cosmetic: Format to MPlayer coding style.
ib
parents: 32847
diff changeset
173
33555
c5a19bbeac2b Cosmetic: Rename some GUI variables and functions.
ib
parents: 33266
diff changeset
174 int IndexOfPlaybarItems;
35688
6fd886ce32b9 Cosmetic: Rename wItem guiItem.
ib
parents: 35656
diff changeset
175 guiItem playbarItems[MAX_ITEMS];
32912
ca4d3fa55e43 Adjust the listItems structure.
ib
parents: 32911
diff changeset
176
32931
03b1051bed5c Rename the 'NumberOf' members of the listItems structure.
ib
parents: 32927
diff changeset
177 int IndexOfMenuItems;
35688
6fd886ce32b9 Cosmetic: Rename wItem guiItem.
ib
parents: 35656
diff changeset
178 guiItem menuItems[MAX_ITEMS];
32937
3c57056637cc Cosmetic: Rename listItems structure.
ib
parents: 32932
diff changeset
179 } guiItems;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
180
33555
c5a19bbeac2b Cosmetic: Rename some GUI variables and functions.
ib
parents: 33266
diff changeset
181 extern guiItems guiApp;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
182
35688
6fd886ce32b9 Cosmetic: Rename wItem guiItem.
ib
parents: 35656
diff changeset
183 guiItem *appFindItem(int event);
34328
6cfca461669c Change parameter name and its declaration to const.
ib
parents: 34326
diff changeset
184 int appFindMessage(const char *name);
32932
e95ec1b2feea Cosmetic: Rename appInitStruct() to appFreeStruct().
ib
parents: 32931
diff changeset
185 void appFreeStruct(void);
37053
84c93a60ead3 Add new item 'rpotmeter'.
ib
parents: 37020
diff changeset
186 double appRadian(guiItem *item, int x, int y);
36861
bade5683ca70 Fix bug with btnModify().
ib
parents: 36858
diff changeset
187 void btnModify(int event, float value);
36858
bb067298265a Fix bug with btnSet().
ib
parents: 36429
diff changeset
188 void btnSet(int event, int state);
36959
97a4746e7888 Utilize item defaults given in the skin configuration as start values.
ib
parents: 36958
diff changeset
189 void btnValue(int event, float *value);
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
190
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
191 #endif /* MPLAYER_GUI_APP_H */