char *psz_bands, *psz_bands_init, *p_next;
vlc_bool_t b_2p;
int i;
- vlc_bool_t b_enabled = GetFiltersStatus( p_intf, "equalizer" );
+ vlc_bool_t b_enabled = GetFiltersStatus( p_intf, (char *)"equalizer" );
vlc_object_t *p_object = vlc_object_find( p_intf,
VLC_OBJECT_AOUT, FIND_ANYWHERE );
- (IBAction)enable:(id)sender
{
- ChangeFiltersString( VLCIntf, "equalizer", [sender state] );
+ ChangeFiltersString( VLCIntf, (char *)"equalizer", [sender state] );
}
- (IBAction)preampSliderUpdated:(id)sender
BOOL b_keptVisible;\r
BOOL b_alreadyCounting;\r
int i_timeToKeepVisibleInSec;\r
+\r
+ BOOL b_displayed;\r
+ BOOL b_voutWasUpdated;\r
}\r
- (id)initWithContentRect: (NSRect)contentRect \r
styleMask: (unsigned int)aStyle \r
- (void)mouseDown:(NSEvent *)theEvent;\r
- (void)mouseDragged:(NSEvent *)theEvent;\r
\r
+- (BOOL)isDisplayed;\r
+- (void)setVoutWasUpdated;\r
@end\r
\r
@interface VLCFSPanelView : NSView\r
vlc_value_t value_drawable;
int i_timeout;
id o_return = nil;
- vout_thread_t * p_real_vout = [VLCVoutView getRealVout: p_vout];
var_Get( p_vout->p_libvlc, "drawable", &value_drawable );
if( p_vout->b_fullscreen )
{
+ /* move the FSPanel to front in case that it is currently shown
+ * this won't and is not supposed to work when it's fading right now */
+ if( [[[[VLCMain sharedInstance] getControls] getFSPanel] isDisplayed] )
+ [[[[VLCMain sharedInstance] getControls] getFSPanel] orderFront: self];
+
+ /* tell the fspanel to move itself to front next time it's triggered */
+ [[[[VLCMain sharedInstance] getControls] getFSPanel] setVoutWasUpdated];
+
CGDisplayFadeReservationToken token;
NSRect screen_rect = [o_screen frame];
screen_rect.origin.x = screen_rect.origin.y = 0;