Mercurial > mplayer.hg
comparison Gui/mplayer/menu.c @ 19997:adc8bfbb3628
Fix #ifdef indentation.
author | diego |
---|---|
date | Fri, 29 Sep 2006 09:21:53 +0000 |
parents | 0e1471d9da74 |
children |
comparison
equal
deleted
inserted
replaced
19996:aa7bb6ae26a7 | 19997:adc8bfbb3628 |
---|---|
132 appMPlayer.menuBase.x=0; | 132 appMPlayer.menuBase.x=0; |
133 appMPlayer.menuBase.y=0; | 133 appMPlayer.menuBase.y=0; |
134 | 134 |
135 if ( ( mplMenuDrawBuffer = calloc( 1,appMPlayer.menuBase.Bitmap.ImageSize ) ) == NULL ) | 135 if ( ( mplMenuDrawBuffer = calloc( 1,appMPlayer.menuBase.Bitmap.ImageSize ) ) == NULL ) |
136 { | 136 { |
137 #ifdef DEBUG | 137 #ifdef DEBUG |
138 mp_msg( MSGT_GPLAYER,MSGL_DBG2,"[menu.h] %s",MSGTR_NEMFMR ); | 138 mp_msg( MSGT_GPLAYER,MSGL_DBG2,"[menu.h] %s",MSGTR_NEMFMR ); |
139 #endif | 139 #endif |
140 gtkMessageBox( GTK_MB_FATAL,MSGTR_NEMFMR ); | 140 gtkMessageBox( GTK_MB_FATAL,MSGTR_NEMFMR ); |
141 return; | 141 return; |
142 } | 142 } |
143 | 143 |
144 wsCreateWindow( &appMPlayer.menuWindow, | 144 wsCreateWindow( &appMPlayer.menuWindow, |
145 appMPlayer.menuBase.x,appMPlayer.menuBase.y,appMPlayer.menuBase.width,appMPlayer.menuBase.height, | 145 appMPlayer.menuBase.x,appMPlayer.menuBase.y,appMPlayer.menuBase.width,appMPlayer.menuBase.height, |
146 wsNoBorder,wsShowMouseCursor|wsHandleMouseButton|wsHandleMouseMove,wsOverredirect|wsHideFrame|wsMaxSize|wsMinSize|wsHideWindow,"MPlayer menu" ); | 146 wsNoBorder,wsShowMouseCursor|wsHandleMouseButton|wsHandleMouseMove,wsOverredirect|wsHideFrame|wsMaxSize|wsMinSize|wsHideWindow,"MPlayer menu" ); |
147 | 147 |
148 wsSetShape( &appMPlayer.menuWindow,appMPlayer.menuBase.Mask.Image ); | 148 wsSetShape( &appMPlayer.menuWindow,appMPlayer.menuBase.Mask.Image ); |
149 | 149 |
150 #ifdef DEBUG | 150 #ifdef DEBUG |
151 mp_msg( MSGT_GPLAYER,MSGL_DBG2,"[menu.h] menu: 0x%x\n",(int)appMPlayer.menuWindow.WindowID ); | 151 mp_msg( MSGT_GPLAYER,MSGL_DBG2,"[menu.h] menu: 0x%x\n",(int)appMPlayer.menuWindow.WindowID ); |
152 #endif | 152 #endif |
153 | 153 |
154 mplMenuIsInitialized=1; | 154 mplMenuIsInitialized=1; |
155 appMPlayer.menuWindow.ReDraw=mplMenuDraw; | 155 appMPlayer.menuWindow.ReDraw=mplMenuDraw; |
156 // appMPlayer.menuWindow.MouseHandler=mplMenuMouseHandle; | 156 // appMPlayer.menuWindow.MouseHandler=mplMenuMouseHandle; |
157 // appMPlayer.menuWindow.KeyHandler=mplMainKeyHandle; | 157 // appMPlayer.menuWindow.KeyHandler=mplMainKeyHandle; |