comparison gui/mplayer/play.c @ 32971:dc905c693b7a

Choose informative variable names. That way, a comment on the variable isn't longer necessary.
author ib
date Tue, 08 Mar 2011 19:07:55 +0000
parents 3673c28ce811
children ccf1cb01d6a8
comparison
equal deleted inserted replaced
32970:3673c28ce811 32971:dc905c693b7a
177 btnModify(evPlaySwitchToPause, btnDisabled); 177 btnModify(evPlaySwitchToPause, btnDisabled);
178 btnModify(evPauseSwitchToPlay, btnReleased); 178 btnModify(evPauseSwitchToPlay, btnReleased);
179 } 179 }
180 } 180 }
181 181
182 void mplRelSeek(float s) 182 void mplRelSeek(float sec)
183 { 183 {
184 rel_seek_secs = s; // -+s 184 rel_seek_secs = sec;
185 abs_seek_pos = 0; 185 abs_seek_pos = 0;
186 } 186 }
187 187
188 void mplAbsSeek(float s) 188 void mplAbsSeek(float percent)
189 { 189 {
190 if (guiIntfStruct.StreamType == STREAMTYPE_STREAM) 190 if (guiIntfStruct.StreamType == STREAMTYPE_STREAM)
191 return; 191 return;
192 192
193 rel_seek_secs = s / 100.0; // 0.0..100.0 193 rel_seek_secs = percent / 100.0;
194 abs_seek_pos = 3; 194 abs_seek_pos = 3;
195 } 195 }
196 196
197 void ChangeSkin(char *name) 197 void ChangeSkin(char *name)
198 { 198 {