X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fmacosx%2Fcontrols.h;h=64ffa2a85a7f6f740389c27087a7ddefca7d2b08;hb=0a88e0ece209603389a20733b5a8163612733b1d;hp=9161a2ac26d175b7f67a19d4fba5bd68d5cca9c0;hpb=d805d20d5378b9238a441044edf94100543042b4;p=vlc diff --git a/modules/gui/macosx/controls.h b/modules/gui/macosx/controls.h index 9161a2ac26..64ffa2a85a 100644 --- a/modules/gui/macosx/controls.h +++ b/modules/gui/macosx/controls.h @@ -1,13 +1,13 @@ /***************************************************************************** * controls.h: MacOS X interface module ***************************************************************************** - * Copyright (C) 2002-2007 the VideoLAN team + * Copyright (C) 2002-2009 the VideoLAN team * $Id$ * * Authors: Jon Lech Johansen * Christophe Massiot * Derk-Jan Hartman - * Felix Kühne + * Felix Paul Kühne * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -38,6 +38,8 @@ IBOutlet id o_btn_shuffle; IBOutlet id o_btn_addNode; IBOutlet id o_btn_repeat; + IBOutlet id o_btn_repeat_embed; + IBOutlet id o_btn_shuffle_embed; NSImage * o_repeat_single; NSImage * o_repeat_all; @@ -53,10 +55,12 @@ IBOutlet id o_specificTime_mi; VLCFSPanel *o_fs_panel; + BOOL b_lockAspectRatio; } - (void)controlTintChanged; -- (id)getVoutView; +- (id)voutView; +- (BOOL)aspectRatioIsLocked; - (IBAction)play:(id)sender; - (IBAction)stop:(id)sender; @@ -69,6 +73,7 @@ - (IBAction)repeat:(id)sender; - (IBAction)loop:(id)sender; - (IBAction)repeatButtonAction:(id)sender; +- (IBAction)quitAfterPlayback:(id)sender; /* the three ugly helpers again */ - (void)repeatOne; @@ -86,11 +91,13 @@ - (IBAction)showPosition: (id)sender; - (IBAction)toogleFullscreen:(id)sender; -- (BOOL) isFullscreen; +- (BOOL)isFullscreen; - (IBAction)windowAction:(id)sender; - (IBAction)telxTransparent:(id)sender; - (IBAction)telxNavLink:(id)sender; +- (IBAction)lockVideosAspectRatio:(id)sender; +- (IBAction)addSubtitleFile:(id)sender; - (BOOL)keyEvent:(NSEvent *)o_event; - (void)scrollWheel: (NSEvent *)theEvent; @@ -109,7 +116,31 @@ - (IBAction)goToSpecificTime:(id)sender; -- (id)getFSPanel; +- (id)fspanel; + +@end + +/***************************************************************************** + * VLCAutoGeneratedMenuContent interface + ***************************************************************************** + * This holds our data for autogenerated menus + *****************************************************************************/ +@interface VLCAutoGeneratedMenuContent : NSObject +{ + char *psz_name; + vlc_object_t * _vlc_object; + vlc_value_t value; + int i_type; +} + +- (id)initWithVariableName: (const char *)name + ofObject: (vlc_object_t *)object + andValue: (vlc_value_t)value + ofType: (int)type; +- (const char *)name; +- (vlc_value_t)value; +- (vlc_object_t *)vlcObject; +- (int)type; @end