music_gui.c
changeset 2630 7206058a7e82
parent 2247 9f341fb5f95a
child 2639 eeaefdabfdfd
equal deleted inserted replaced
2629:78f87f273407 2630:7206058a7e82
   204 
   204 
   205 static void MusicTrackSelectionWndProc(Window *w, WindowEvent *e)
   205 static void MusicTrackSelectionWndProc(Window *w, WindowEvent *e)
   206 {
   206 {
   207 	switch(e->event) {
   207 	switch(e->event) {
   208 	case WE_PAINT: {
   208 	case WE_PAINT: {
       
   209 		const byte* p;
   209 		uint i;
   210 		uint i;
   210 		int y;
   211 		int y;
   211 		byte *p;
       
   212 
   212 
   213 		w->disabled_state = (msf.playlist  <= 3) ? (1 << 11) : 0;
   213 		w->disabled_state = (msf.playlist  <= 3) ? (1 << 11) : 0;
   214 		w->click_state |= 0x18;
   214 		w->click_state |= 0x18;
   215 		DrawWindowWidgets(w);
   215 		DrawWindowWidgets(w);
   216 
   216