Commit 03714909 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Removed broken, unmaintained and unfinished code. May be restored after 0.9.0...

Removed broken, unmaintained and unfinished code. May be restored after 0.9.0 if there is enough time to do this kind of stuff (should be merged with the Extended Controls panel anyway)
parent 45cb15ed
<?xml version="1.0" encoding="UTF-8"?> {
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> IBClasses = (
<plist version="1.0"> {
<dict> CLASS = FirstResponder;
<key>IBClasses</key> LANGUAGE = ObjC;
<array> SUPERCLASS = NSObject;
<dict> },
<key>CLASS</key> {
<string>VLCTimeField</string> CLASS = ITSlider;
<key>LANGUAGE</key> LANGUAGE = ObjC;
<string>ObjC</string> SUPERCLASS = NSSlider;
<key>SUPERCLASS</key> },
<string>NSTextField</string> {
</dict> CLASS = MPSlider;
<dict> LANGUAGE = ObjC;
<key>CLASS</key> SUPERCLASS = NSSlider;
<string>VLCControllerView</string> },
<key>LANGUAGE</key> {
<string>ObjC</string> CLASS = NSApplication;
<key>SUPERCLASS</key> LANGUAGE = ObjC;
<string>NSView</string> SUPERCLASS = NSResponder;
</dict> },
<dict> {
<key>CLASS</key> CLASS = NSObject;
<string>VLCEmbeddedWindow</string> LANGUAGE = ObjC;
<key>LANGUAGE</key> },
<string>ObjC</string> {
<key>OUTLETS</key> CLASS = VLBrushedMetalImageView;
<dict> LANGUAGE = ObjC;
<key>o_btn_backward</key> SUPERCLASS = NSImageView;
<string>id</string> },
<key>o_btn_forward</key> {
<string>id</string> ACTIONS = {
<key>o_btn_fullscreen</key> add = id;
<string>id</string> clear = id;
<key>o_btn_play</key> edit = id;
<string>id</string> "edit_cancel" = id;
<key>o_slider</key> "edit_ok" = id;
<string>id</string> extract = id;
<key>o_time</key> goToBookmark = id;
<string>id</string> remove = id;
<key>o_view</key> };
<string>id</string> CLASS = VLCBookmarks;
</dict> LANGUAGE = ObjC;
<key>SUPERCLASS</key> OUTLETS = {
<string>NSWindow</string> "o_bookmarks_window" = id;
</dict> "o_btn_add" = id;
<dict> "o_btn_clear" = id;
<key>CLASS</key> "o_btn_edit" = id;
<string>VLCPlaylistCommon</string> "o_btn_extract" = id;
<key>LANGUAGE</key> "o_btn_rm" = id;
<string>ObjC</string> "o_edit_btn_cancel" = id;
<key>OUTLETS</key> "o_edit_btn_ok" = id;
<dict> "o_edit_fld_bytes" = id;
<key>o_outline_view</key> "o_edit_fld_name" = id;
<string>id</string> "o_edit_fld_time" = id;
<key>o_tc_author</key> "o_edit_lbl_bytes" = id;
<string>id</string> "o_edit_lbl_name" = id;
<key>o_tc_duration</key> "o_edit_lbl_time" = id;
<string>id</string> "o_edit_window" = id;
<key>o_tc_name</key> "o_tbl_dataTable" = id;
<string>id</string> };
</dict> SUPERCLASS = NSObject;
<key>SUPERCLASS</key> },
<string>NSObject</string> {
</dict> CLASS = VLCControllerView;
<dict> LANGUAGE = ObjC;
<key>ACTIONS</key> SUPERCLASS = NSView;
<dict> },
<key>checkForUpdate</key> {
<string>id</string> CLASS = VLCControllerWindow;
<key>clearRecentItems</key> LANGUAGE = ObjC;
<string>id</string> SUPERCLASS = NSWindow;
<key>intfOpenCapture</key> },
<string>id</string> {
<key>intfOpenDisc</key> ACTIONS = {
<string>id</string> backward = id;
<key>intfOpenFile</key> faster = id;
<string>id</string> forward = id;
<key>intfOpenFileGeneric</key> goToSpecificTime = id;
<string>id</string> loop = id;
<key>intfOpenNet</key> mute = id;
<string>id</string> next = id;
<key>openCrashLog</key> pause = id;
<string>id</string> play = id;
<key>openDocumentation</key> position = id;
<string>id</string> prev = id;
<key>openDonate</key> random = id;
<string>id</string> repeat = id;
<key>openForum</key> repeatButtonAction = id;
<string>id</string> showPosition = id;
<key>openReadMe</key> slower = id;
<string>id</string> stop = id;
<key>openRecentItem</key> toggleVar = id;
<string>id</string> toogleFullscreen = id;
<key>openWebsite</key> volumeDown = id;
<string>id</string> volumeSliderUpdated = id;
<key>showBookmarks</key> volumeUp = id;
<string>id</string> windowAction = id;
<key>showExtended</key> };
<string>id</string> CLASS = VLCControls;
<key>showInformationPanel</key> LANGUAGE = ObjC;
<string>id</string> OUTLETS = {
<key>showLicense</key> "o_btn_addNode" = id;
<string>id</string> "o_btn_repeat" = id;
<key>showMessagesPanel</key> "o_btn_shuffle" = id;
<string>id</string> "o_fs_panel" = id;
<key>showSFilters</key> "o_main" = id;
<string>id</string> "o_specificTime_cancel_btn" = id;
<key>showWizard</key> "o_specificTime_enter_fld" = id;
<string>id</string> "o_specificTime_goTo_lbl" = id;
<key>timesliderUpdate</key> "o_specificTime_mi" = id;
<string>id</string> "o_specificTime_ok_btn" = id;
<key>togglePlaylist</key> "o_specificTime_sec_lbl" = id;
<string>id</string> "o_specificTime_stepper" = id;
<key>viewAbout</key> "o_specificTime_win" = id;
<string>id</string> "o_volumeslider" = id;
<key>viewErrorsAndWarnings</key> };
<string>id</string> SUPERCLASS = NSObject;
<key>viewHelp</key> },
<string>id</string> {
<key>viewPreferences</key> CLASS = VLCDetachedEmbeddedVoutView;
<string>id</string> LANGUAGE = ObjC;
</dict> OUTLETS = {
<key>CLASS</key> "o_embeddedwindow" = id;
<string>VLCMain</string> };
<key>LANGUAGE</key> SUPERCLASS = VLCEmbeddedVoutView;
<string>ObjC</string> },
<key>OUTLETS</key> {
<dict> CLASS = VLCEmbeddedVoutView;
<key>o_about</key> LANGUAGE = ObjC;
<string>id</string> SUPERCLASS = VLCVoutView;
<key>o_bookmarks</key> },
<string>id</string> {
<key>o_btn_equalizer</key> CLASS = VLCEmbeddedWindow;
<string>id</string> LANGUAGE = ObjC;
<key>o_btn_ff</key> OUTLETS = {
<string>id</string> "o_btn_backward" = id;
<key>o_btn_fullscreen</key> "o_btn_forward" = id;
<string>id</string> "o_btn_fullscreen" = id;
<key>o_btn_next</key> "o_btn_play" = id;
<string>id</string> "o_slider" = id;
<key>o_btn_play</key> "o_time" = id;
<string>id</string> "o_view" = id;
<key>o_btn_playlist</key> };
<string>id</string> SUPERCLASS = NSWindow;
<key>o_btn_prev</key> },
<string>id</string> {
<key>o_btn_rewind</key> ACTIONS = {
<string>id</string> bandSliderUpdated = id;
<key>o_btn_stop</key> changePreset = id;
<string>id</string> enable = id;
<key>o_controls</key> preampSliderUpdated = id;
<string>id</string> toggleWindow = id;
<key>o_dmi_mute</key> twopass = id;
<string>id</string> };
<key>o_dmi_next</key> CLASS = VLCEqualizer;
<string>id</string> LANGUAGE = ObjC;
<key>o_dmi_play</key> OUTLETS = {
<string>id</string> "o_btn_equalizer" = id;
<key>o_dmi_previous</key> "o_ckb_2pass" = id;
<string>id</string> "o_ckb_enable" = id;
<key>o_dmi_stop</key> "o_fld_preamp" = id;
<string>id</string> "o_popup_presets" = id;
<key>o_embedded_list</key> "o_slider_band1" = id;
<string>id</string> "o_slider_band10" = id;
<key>o_embedded_window</key> "o_slider_band2" = id;
<string>id</string> "o_slider_band3" = id;
<key>o_extended</key> "o_slider_band4" = id;
<string>id</string> "o_slider_band5" = id;
<key>o_eyetv</key> "o_slider_band6" = id;
<string>id</string> "o_slider_band7" = id;
<key>o_info</key> "o_slider_band8" = id;
<string>id</string> "o_slider_band9" = id;
<key>o_interaction_list</key> "o_slider_preamp" = id;
<string>id</string> "o_window" = id;
<key>o_main_pgbar</key> };
<string>id</string> SUPERCLASS = NSObject;
<key>o_messages</key> },
<string>id</string> {
<key>o_mi_about</key> CLASS = VLCFSPanel;
<string>id</string> LANGUAGE = ObjC;
<key>o_mi_add_intf</key> SUPERCLASS = NSWindow;
<string>id</string> },
<key>o_mi_aspect_ratio</key> {
<string>id</string> ACTIONS = {
<key>o_mi_audiotrack</key> checkForUpdate = id;
<string>id</string> clearRecentItems = id;
<key>o_mi_bookmarks</key> intfOpenCapture = id;
<string>id</string> intfOpenDisc = id;
<key>o_mi_bring_atf</key> intfOpenFile = id;
<string>id</string> intfOpenFileGeneric = id;
<key>o_mi_bwd</key> intfOpenNet = id;
<string>id</string> openCrashLog = id;
<key>o_mi_bwd1m</key> openDocumentation = id;
<string>id</string> openDonate = id;
<key>o_mi_bwd5m</key> openForum = id;
<string>id</string> openReadMe = id;
<key>o_mi_channels</key> openRecentItem = id;
<string>id</string> openWebsite = id;
<key>o_mi_chapter</key> showBookmarks = id;
<string>id</string> showExtended = id;
<key>o_mi_checkForUpdate</key> showInformationPanel = id;
<string>id</string> showLicense = id;
<key>o_mi_clear</key> showMessagesPanel = id;
<string>id</string> showWizard = id;
<key>o_mi_close_window</key> timesliderUpdate = id;
<string>id</string> togglePlaylist = id;
<key>o_mi_controller</key> viewAbout = id;
<string>id</string> viewErrorsAndWarnings = id;
<key>o_mi_copy</key> viewHelp = id;
<string>id</string> viewPreferences = id;
<key>o_mi_crop</key> };
<string>id</string> CLASS = VLCMain;
<key>o_mi_cut</key> LANGUAGE = ObjC;
<string>id</string> OUTLETS = {
<key>o_mi_deinterlace</key> "o_about" = id;
<string>id</string> "o_bookmarks" = id;
<key>o_mi_device</key> "o_btn_equalizer" = id;
<string>id</string> "o_btn_ff" = id;
<key>o_mi_documentation</key> "o_btn_fullscreen" = id;
<string>id</string> "o_btn_next" = id;
<key>o_mi_donation</key> "o_btn_play" = id;
<string>id</string> "o_btn_playlist" = id;
<key>o_mi_double_window</key> "o_btn_prev" = id;
<string>id</string> "o_btn_rewind" = id;
<key>o_mi_equalizer</key> "o_btn_stop" = id;
<string>id</string> "o_controls" = id;
<key>o_mi_errorsAndWarnings</key> "o_dmi_mute" = id;
<string>id</string> "o_dmi_next" = id;
<key>o_mi_extended</key> "o_dmi_play" = id;
<string>id</string> "o_dmi_previous" = id;
<key>o_mi_faster</key> "o_dmi_stop" = id;
<string>id</string> "o_embedded_list" = id;
<key>o_mi_ffmpeg_pp</key> "o_embedded_window" = id;
<string>id</string> "o_extended" = id;
<key>o_mi_fittoscreen</key> "o_eyetv" = id;
<string>id</string> "o_info" = id;
<key>o_mi_floatontop</key> "o_interaction_list" = id;
<string>id</string> "o_main_pgbar" = id;
<key>o_mi_forum</key> "o_messages" = id;
<string>id</string> "o_mi_about" = id;
<key>o_mi_fullscreen</key> "o_mi_add_intf" = id;
<string>id</string> "o_mi_aspect_ratio" = id;
<key>o_mi_fwd</key> "o_mi_audiotrack" = id;
<string>id</string> "o_mi_bookmarks" = id;
<key>o_mi_fwd1m</key> "o_mi_bring_atf" = id;
<string>id</string> "o_mi_bwd" = id;
<key>o_mi_fwd5m</key> "o_mi_bwd1m" = id;
<string>id</string> "o_mi_bwd5m" = id;
<key>o_mi_half_window</key> "o_mi_channels" = id;
<string>id</string> "o_mi_chapter" = id;
<key>o_mi_help</key> "o_mi_checkForUpdate" = id;
<string>id</string> "o_mi_clear" = id;
<key>o_mi_hide</key> "o_mi_close_window" = id;
<string>id</string> "o_mi_controller" = id;
<key>o_mi_hide_others</key> "o_mi_copy" = id;
<string>id</string> "o_mi_crop" = id;
<key>o_mi_info</key> "o_mi_cut" = id;
<string>id</string> "o_mi_deinterlace" = id;
<key>o_mi_license</key> "o_mi_device" = id;
<string>id</string> "o_mi_documentation" = id;
<key>o_mi_loop</key> "o_mi_donation" = id;
<string>id</string> "o_mi_double_window" = id;
<key>o_mi_messages</key> "o_mi_equalizer" = id;
<string>id</string> "o_mi_errorsAndWarnings" = id;
<key>o_mi_minimize</key> "o_mi_extended" = id;
<string>id</string> "o_mi_faster" = id;
<key>o_mi_mute</key> "o_mi_ffmpeg_pp" = id;
<string>id</string> "o_mi_fittoscreen" = id;
<key>o_mi_next</key> "o_mi_floatontop" = id;
<string>id</string> "o_mi_forum" = id;
<key>o_mi_normal_window</key> "o_mi_fullscreen" = id;
<string>id</string> "o_mi_fwd" = id;
<key>o_mi_open_capture</key> "o_mi_fwd1m" = id;
<string>id</string> "o_mi_fwd5m" = id;
<key>o_mi_open_disc</key> "o_mi_half_window" = id;
<string>id</string> "o_mi_help" = id;
<key>o_mi_open_file</key> "o_mi_hide" = id;
<string>id</string> "o_mi_hide_others" = id;
<key>o_mi_open_generic</key> "o_mi_info" = id;
<string>id</string> "o_mi_license" = id;
<key>o_mi_open_net</key> "o_mi_loop" = id;
<string>id</string> "o_mi_messages" = id;
<key>o_mi_open_recent</key> "o_mi_minimize" = id;
<string>id</string> "o_mi_mute" = id;
<key>o_mi_open_recent_cm</key> "o_mi_next" = id;
<string>id</string> "o_mi_normal_window" = id;
<key>o_mi_open_wizard</key> "o_mi_open_capture" = id;
<string>id</string> "o_mi_open_disc" = id;
<key>o_mi_paste</key> "o_mi_open_file" = id;
<string>id</string> "o_mi_open_generic" = id;
<key>o_mi_play</key> "o_mi_open_net" = id;
<string>id</string> "o_mi_open_recent" = id;
<key>o_mi_playlist</key> "o_mi_open_recent_cm" = id;
<string>id</string> "o_mi_open_wizard" = id;
<key>o_mi_prefs</key> "o_mi_paste" = id;
<string>id</string> "o_mi_play" = id;
<key>o_mi_previous</key> "o_mi_playlist" = id;
<string>id</string> "o_mi_prefs" = id;
<key>o_mi_program</key> "o_mi_previous" = id;
<string>id</string> "o_mi_program" = id;
<key>o_mi_quit</key> "o_mi_quit" = id;
<string>id</string> "o_mi_random" = id;
<key>o_mi_random</key> "o_mi_readme" = id;
<string>id</string> "o_mi_repeat" = id;
<key>o_mi_readme</key> "o_mi_screen" = id;
<string>id</string> "o_mi_select_all" = id;
<key>o_mi_repeat</key> "o_mi_services" = id;
<string>id</string> "o_mi_show_all" = id;
<key>o_mi_screen</key> "o_mi_slower" = id;
<string>id</string> "o_mi_snapshot" = id;
<key>o_mi_select_all</key> "o_mi_sprefs" = id;
<string>id</string> "o_mi_stop" = id;
<key>o_mi_services</key> "o_mi_subtitle" = id;
<string>id</string> "o_mi_title" = id;
<key>o_mi_show_all</key> "o_mi_videotrack" = id;
<string>id</string> "o_mi_visual" = id;
<key>o_mi_slower</key> "o_mi_vol_down" = id;
<string>id</string> "o_mi_vol_up" = id;
<key>o_mi_snapshot</key> "o_mi_website" = id;
<string>id</string> "o_msgs_btn_crashlog" = id;
<key>o_mi_sprefs</key> "o_msgs_panel" = id;
<string>id</string> "o_mu_add_intf" = id;
<key>o_mi_stop</key> "o_mu_aspect_ratio" = id;
<string>id</string> "o_mu_audio" = id;
<key>o_mi_subtitle</key> "o_mu_audiotrack" = id;
<string>id</string> "o_mu_channels" = id;
<key>o_mi_title</key> "o_mu_chapter" = id;
<string>id</string> "o_mu_controls" = id;
<key>o_mi_videotrack</key> "o_mu_crop" = id;
<string>id</string> "o_mu_deinterlace" = id;
<key>o_mi_visual</key> "o_mu_device" = id;
<string>id</string> "o_mu_edit" = id;
<key>o_mi_vol_down</key> "o_mu_ffmpeg_pp" = id;
<string>id</string> "o_mu_file" = id;
<key>o_mi_vol_up</key> "o_mu_help" = id;
<string>id</string> "o_mu_program" = id;
<key>o_mi_website</key> "o_mu_screen" = id;
<string>id</string> "o_mu_subtitle" = id;
<key>o_msgs_btn_crashlog</key> "o_mu_title" = id;
<string>id</string> "o_mu_video" = id;
<key>o_msgs_panel</key> "o_mu_videotrack" = id;
<string>id</string> "o_mu_visual" = id;
<key>o_mu_add_intf</key> "o_mu_window" = id;
<string>id</string> "o_open" = id;
<key>o_mu_aspect_ratio</key> "o_playlist" = id;
<string>id</string> "o_playlist_view" = id;
<key>o_mu_audio</key> "o_prefs" = id;
<string>id</string> "o_scrollfield" = id;
<key>o_mu_audiotrack</key> "o_sprefs" = id;
<string>id</string> "o_timefield" = id;
<key>o_mu_channels</key> "o_timeslider" = id;
<string>id</string> "o_update" = id;
<key>o_mu_chapter</key> "o_vmi_fullscreen" = id;
<string>id</string> "o_vmi_mute" = id;
<key>o_mu_controls</key> "o_vmi_next" = id;
<string>id</string> "o_vmi_play" = id;
<key>o_mu_crop</key> "o_vmi_prev" = id;
<string>id</string> "o_vmi_snapshot" = id;
<key>o_mu_deinterlace</key> "o_vmi_stop" = id;
<string>id</string> "o_vmi_voldown" = id;
<key>o_mu_device</key> "o_vmi_volup" = id;
<string>id</string> "o_volumeslider" = id;
<key>o_mu_edit</key> "o_vout_menu" = id;
<string>id</string> "o_window" = id;
<key>o_mu_ffmpeg_pp</key> "o_wizard" = id;
<string>id</string> };
<key>o_mu_file</key> SUPERCLASS = NSObject;
<string>id</string> },
<key>o_mu_help</key> {
<string>id</string> ACTIONS = {
<key>o_mu_program</key> addNode = id;
<string>id</string> deleteItem = id;
<key>o_mu_screen</key> playItem = id;
<string>id</string> preparseItem = id;
<key>o_mu_subtitle</key> recursiveExpandNode = id;
<string>id</string> savePlaylist = id;
<key>o_mu_title</key> searchItem = id;
<string>id</string> selectAll = id;
<key>o_mu_video</key> servicesChange = id;
<string>id</string> sortNodeByAuthor = id;
<key>o_mu_videotrack</key> sortNodeByName = id;
<string>id</string> };
<key>o_mu_visual</key> CLASS = VLCPlaylist;
<string>id</string> LANGUAGE = ObjC;
<key>o_mu_window</key> OUTLETS = {
<string>id</string> "o_btn_addNode" = id;
<key>o_open</key> "o_btn_playlist" = id;
<string>id</string> "o_controller" = id;
<key>o_playlist</key> "o_ctx_menu" = id;
<string>id</string> "o_mi_addNode" = id;
<key>o_playlist_view</key> "o_mi_delete" = id;
<string>id</string> "o_mi_info" = id;
<key>o_prefs</key> "o_mi_play" = id;
<string>id</string> "o_mi_preparse" = id;
<key>o_scrollfield</key> "o_mi_recursive_expand" = id;
<string>id</string> "o_mi_save_playlist" = id;
<key>o_sfilters</key> "o_mi_selectall" = id;
<string>id</string> "o_mi_services" = id;
<key>o_sprefs</key> "o_mi_sort_author" = id;
<string>id</string> "o_mi_sort_name" = id;
<key>o_timefield</key> "o_mm_mi_services" = id;
<string>id</string> "o_mm_mu_services" = id;
<key>o_timeslider</key> "o_mu_services" = id;
<string>id</string> "o_outline_view" = id;
<key>o_update</key> "o_playlist_view" = id;
<string>id</string> "o_playlist_wizard" = id;
<key>o_vmi_fullscreen</key> "o_random_ckb" = id;
<string>id</string> "o_save_accessory_popup" = id;
<key>o_vmi_mute</key> "o_save_accessory_text" = id;
<string>id</string> "o_save_accessory_view" = id;
<key>o_vmi_next</key> "o_search_field" = id;
<string>id</string> "o_status_field" = id;
<key>o_vmi_play</key> "o_tc_author" = id;
<string>id</string> "o_tc_duration" = id;
<key>o_vmi_prev</key> "o_tc_name" = id;
<string>id</string> "o_tc_sortColumn" = id;
<key>o_vmi_snapshot</key> };
<string>id</string> SUPERCLASS = VLCPlaylistCommon;
<key>o_vmi_stop</key> },
<string>id</string> {
<key>o_vmi_voldown</key> CLASS = VLCPlaylistCommon;
<string>id</string> LANGUAGE = ObjC;
<key>o_vmi_volup</key> OUTLETS = {
<string>id</string> "o_outline_view" = id;
<key>o_volumeslider</key> "o_tc_author" = id;
<string>id</string> "o_tc_duration" = id;
<key>o_vout_menu</key> "o_tc_name" = id;
<string>id</string> };
<key>o_window</key> SUPERCLASS = NSObject;
<string>id</string> },
<key>o_wizard</key> {
<string>id</string> CLASS = VLCPlaylistView;
</dict> LANGUAGE = ObjC;
<key>SUPERCLASS</key> SUPERCLASS = NSOutlineView;
<string>NSObject</string> },
</dict> {
<dict> CLASS = VLCTimeField;
<key>CLASS</key> LANGUAGE = ObjC;
<string>NSApplication</string> SUPERCLASS = NSTextField;
<key>LANGUAGE</key> },
<string>ObjC</string> {
<key>SUPERCLASS</key> CLASS = VLCVoutView;
<string>NSResponder</string> LANGUAGE = ObjC;
</dict> OUTLETS = {
<dict> "o_window" = id;
<key>CLASS</key> };
<string>FirstResponder</string> SUPERCLASS = NSView;
<key>LANGUAGE</key> }
<string>ObjC</string> );
<key>SUPERCLASS</key> IBVersion = 1;
<string>NSObject</string> }
</dict> \ No newline at end of file
<dict>
<key>CLASS</key>
<string>ITSlider</string>
<key>LANGUAGE</key>
<string>ObjC</string>
<key>SUPERCLASS</key>
<string>NSSlider</string>
</dict>
<dict>
<key>CLASS</key>
<string>NSObject</string>
<key>LANGUAGE</key>
<string>ObjC</string>
</dict>
<dict>
<key>ACTIONS</key>
<dict>
<key>backward</key>
<string>id</string>
<key>faster</key>
<string>id</string>
<key>forward</key>
<string>id</string>
<key>goToSpecificTime</key>
<string>id</string>
<key>loop</key>
<string>id</string>
<key>mute</key>
<string>id</string>
<key>next</key>
<string>id</string>
<key>pause</key>
<string>id</string>
<key>play</key>
<string>id</string>
<key>position</key>
<string>id</string>
<key>prev</key>
<string>id</string>
<key>random</key>
<string>id</string>
<key>repeat</key>
<string>id</string>
<key>repeatButtonAction</key>
<string>id</string>
<key>showPosition</key>
<string>id</string>
<key>slower</key>
<string>id</string>
<key>stop</key>
<string>id</string>
<key>toggleVar</key>
<string>id</string>
<key>toogleFullscreen</key>
<string>id</string>
<key>volumeDown</key>
<string>id</string>
<key>volumeSliderUpdated</key>
<string>id</string>
<key>volumeUp</key>
<string>id</string>
<key>windowAction</key>
<string>id</string>
</dict>
<key>CLASS</key>
<string>VLCControls</string>
<key>LANGUAGE</key>
<string>ObjC</string>
<key>OUTLETS</key>
<dict>
<key>o_btn_addNode</key>
<string>id</string>
<key>o_btn_repeat</key>
<string>id</string>
<key>o_btn_shuffle</key>
<string>id</string>
<key>o_fs_panel</key>
<string>id</string>
<key>o_main</key>
<string>id</string>
<key>o_specificTime_cancel_btn</key>
<string>id</string>
<key>o_specificTime_enter_fld</key>
<string>id</string>
<key>o_specificTime_goTo_lbl</key>
<string>id</string>
<key>o_specificTime_mi</key>
<string>id</string>
<key>o_specificTime_ok_btn</key>
<string>id</string>
<key>o_specificTime_sec_lbl</key>
<string>id</string>
<key>o_specificTime_stepper</key>
<string>id</string>
<key>o_specificTime_win</key>
<string>id</string>
<key>o_volumeslider</key>
<string>id</string>
</dict>
<key>SUPERCLASS</key>
<string>NSObject</string>
</dict>
<dict>
<key>CLASS</key>
<string>VLCPlaylistView</string>
<key>LANGUAGE</key>
<string>ObjC</string>
<key>SUPERCLASS</key>
<string>NSOutlineView</string>
</dict>
<dict>
<key>CLASS</key>
<string>VLCVoutView</string>
<key>LANGUAGE</key>
<string>ObjC</string>
<key>OUTLETS</key>
<dict>
<key>o_window</key>
<string>id</string>
</dict>
<key>SUPERCLASS</key>
<string>NSView</string>
</dict>
<dict>
<key>CLASS</key>
<string>VLCControllerWindow</string>
<key>LANGUAGE</key>
<string>ObjC</string>
<key>SUPERCLASS</key>
<string>NSWindow</string>
</dict>
<dict>
<key>CLASS</key>
<string>MPSlider</string>
<key>LANGUAGE</key>
<string>ObjC</string>
<key>SUPERCLASS</key>
<string>NSSlider</string>
</dict>
<dict>
<key>CLASS</key>
<string>VLCFSPanel</string>
<key>LANGUAGE</key>
<string>ObjC</string>
<key>SUPERCLASS</key>
<string>NSWindow</string>
</dict>
<dict>
<key>CLASS</key>
<string>VLCEmbeddedVoutView</string>
<key>LANGUAGE</key>
<string>ObjC</string>
<key>SUPERCLASS</key>
<string>VLCVoutView</string>
</dict>
<dict>
<key>ACTIONS</key>
<dict>
<key>bandSliderUpdated</key>
<string>id</string>
<key>changePreset</key>
<string>id</string>
<key>enable</key>
<string>id</string>
<key>preampSliderUpdated</key>
<string>id</string>
<key>toggleWindow</key>
<string>id</string>
<key>twopass</key>
<string>id</string>
</dict>
<key>CLASS</key>
<string>VLCEqualizer</string>
<key>LANGUAGE</key>
<string>ObjC</string>
<key>OUTLETS</key>
<dict>
<key>o_btn_equalizer</key>
<string>id</string>
<key>o_ckb_2pass</key>
<string>id</string>
<key>o_ckb_enable</key>
<string>id</string>
<key>o_fld_preamp</key>
<string>id</string>
<key>o_popup_presets</key>
<string>id</string>
<key>o_slider_band1</key>
<string>id</string>
<key>o_slider_band10</key>
<string>id</string>
<key>o_slider_band2</key>
<string>id</string>
<key>o_slider_band3</key>
<string>id</string>
<key>o_slider_band4</key>
<string>id</string>
<key>o_slider_band5</key>
<string>id</string>
<key>o_slider_band6</key>
<string>id</string>
<key>o_slider_band7</key>
<string>id</string>
<key>o_slider_band8</key>
<string>id</string>
<key>o_slider_band9</key>
<string>id</string>
<key>o_slider_preamp</key>
<string>id</string>
<key>o_window</key>
<string>id</string>
</dict>
<key>SUPERCLASS</key>
<string>NSObject</string>
</dict>
<dict>
<key>CLASS</key>
<string>VLCDetachedEmbeddedVoutView</string>
<key>LANGUAGE</key>
<string>ObjC</string>
<key>OUTLETS</key>
<dict>
<key>o_embeddedwindow</key>
<string>id</string>
</dict>
<key>SUPERCLASS</key>
<string>VLCEmbeddedVoutView</string>
</dict>
<dict>
<key>CLASS</key>
<string>VLBrushedMetalImageView</string>
<key>LANGUAGE</key>
<string>ObjC</string>
<key>SUPERCLASS</key>
<string>NSImageView</string>
</dict>
<dict>
<key>ACTIONS</key>
<dict>
<key>addNode</key>
<string>id</string>
<key>deleteItem</key>
<string>id</string>
<key>playItem</key>
<string>id</string>
<key>preparseItem</key>
<string>id</string>
<key>recursiveExpandNode</key>
<string>id</string>
<key>savePlaylist</key>
<string>id</string>
<key>searchItem</key>
<string>id</string>
<key>selectAll</key>
<string>id</string>
<key>servicesChange</key>
<string>id</string>
<key>sortNodeByAuthor</key>
<string>id</string>
<key>sortNodeByName</key>
<string>id</string>
</dict>
<key>CLASS</key>
<string>VLCPlaylist</string>
<key>LANGUAGE</key>
<string>ObjC</string>
<key>OUTLETS</key>
<dict>
<key>o_btn_addNode</key>
<string>id</string>
<key>o_btn_playlist</key>
<string>id</string>
<key>o_controller</key>
<string>id</string>
<key>o_ctx_menu</key>
<string>id</string>
<key>o_mi_addNode</key>
<string>id</string>
<key>o_mi_delete</key>
<string>id</string>
<key>o_mi_info</key>
<string>id</string>
<key>o_mi_play</key>
<string>id</string>
<key>o_mi_preparse</key>
<string>id</string>
<key>o_mi_recursive_expand</key>
<string>id</string>
<key>o_mi_save_playlist</key>
<string>id</string>
<key>o_mi_selectall</key>
<string>id</string>
<key>o_mi_services</key>
<string>id</string>
<key>o_mi_sort_author</key>
<string>id</string>
<key>o_mi_sort_name</key>
<string>id</string>
<key>o_mm_mi_services</key>
<string>id</string>
<key>o_mm_mu_services</key>
<string>id</string>
<key>o_mu_services</key>
<string>id</string>
<key>o_outline_view</key>
<string>id</string>
<key>o_playlist_view</key>
<string>id</string>
<key>o_playlist_wizard</key>
<string>id</string>
<key>o_random_ckb</key>
<string>id</string>
<key>o_save_accessory_popup</key>
<string>id</string>
<key>o_save_accessory_text</key>
<string>id</string>
<key>o_save_accessory_view</key>
<string>id</string>
<key>o_search_field</key>
<string>id</string>
<key>o_status_field</key>
<string>id</string>
<key>o_tc_author</key>
<string>id</string>
<key>o_tc_duration</key>
<string>id</string>
<key>o_tc_name</key>
<string>id</string>
<key>o_tc_sortColumn</key>
<string>id</string>
</dict>
<key>SUPERCLASS</key>
<string>VLCPlaylistCommon</string>
</dict>
<dict>
<key>ACTIONS</key>
<dict>
<key>add</key>
<string>id</string>
<key>clear</key>
<string>id</string>
<key>edit</key>
<string>id</string>
<key>edit_cancel</key>
<string>id</string>
<key>edit_ok</key>
<string>id</string>
<key>extract</key>
<string>id</string>
<key>goToBookmark</key>
<string>id</string>
<key>remove</key>
<string>id</string>
</dict>
<key>CLASS</key>
<string>VLCBookmarks</string>
<key>LANGUAGE</key>
<string>ObjC</string>
<key>OUTLETS</key>
<dict>
<key>o_bookmarks_window</key>
<string>id</string>
<key>o_btn_add</key>
<string>id</string>
<key>o_btn_clear</key>
<string>id</string>
<key>o_btn_edit</key>
<string>id</string>
<key>o_btn_extract</key>
<string>id</string>
<key>o_btn_rm</key>
<string>id</string>
<key>o_edit_btn_cancel</key>
<string>id</string>
<key>o_edit_btn_ok</key>
<string>id</string>
<key>o_edit_fld_bytes</key>
<string>id</string>
<key>o_edit_fld_name</key>
<string>id</string>
<key>o_edit_fld_time</key>
<string>id</string>
<key>o_edit_lbl_bytes</key>
<string>id</string>
<key>o_edit_lbl_name</key>
<string>id</string>
<key>o_edit_lbl_time</key>
<string>id</string>
<key>o_edit_window</key>
<string>id</string>
<key>o_tbl_dataTable</key>
<string>id</string>
</dict>
<key>SUPERCLASS</key>
<string>NSObject</string>
</dict>
</array>
<key>IBVersion</key>
<string>1</string>
</dict>
</plist>
...@@ -2,23 +2,34 @@ ...@@ -2,23 +2,34 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>IBDocumentLocation</key>
<string>31 299 356 240 0 0 1280 778 </string>
<key>IBEditorPositions</key>
<dict>
<key>2197</key>
<string>342 506 596 123 0 0 1280 778 </string>
<key>29</key>
<string>69 316 438 44 0 0 1280 778 </string>
<key>915</key>
<string>69 316 187 285 0 0 1280 778 </string>
</dict>
<key>IBFramework Version</key> <key>IBFramework Version</key>
<string>667</string> <string>489.0</string>
<key>IBLastKnownRelativeProjectPath</key> <key>IBLastKnownRelativeProjectPath</key>
<string>../../vlc.xcodeproj</string> <string>../../vlc.xcodeproj</string>
<key>IBOldestOS</key> <key>IBOldestOS</key>
<integer>5</integer> <integer>5</integer>
<key>IBOpenObjects</key> <key>IBOpenObjects</key>
<array> <array>
<integer>2197</integer> <integer>282</integer>
<integer>915</integer> <integer>915</integer>
<integer>2416</integer> <integer>2416</integer>
<integer>282</integer>
<integer>29</integer> <integer>29</integer>
<integer>2197</integer>
<integer>21</integer> <integer>21</integer>
</array> </array>
<key>IBSystem Version</key> <key>IBSystem Version</key>
<string>9D34</string> <string>9E17</string>
<key>targetFramework</key> <key>targetFramework</key>
<string>IBCocoaFramework</string> <string>IBCocoaFramework</string>
</dict> </dict>
......
{
IBClasses = (
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
{
ACTIONS = {enableFilter = id; "logo_selectFile" = id; propertyChanged = id; };
CLASS = VLCsFilters;
LANGUAGE = ObjC;
OUTLETS = {
"o_logo_enabled_ckb" = id;
"o_logo_image_btn" = id;
"o_logo_image_fld" = id;
"o_logo_image_lbl" = id;
"o_logo_opaque_lbl" = id;
"o_logo_opaque_sld" = id;
"o_logo_pos_lbl" = id;
"o_logo_pos_radio" = id;
"o_marq_color_lbl" = id;
"o_marq_color_pop" = id;
"o_marq_enabled_ckb" = id;
"o_marq_marq_fld" = id;
"o_marq_marq_lbl" = id;
"o_marq_opaque_lbl" = id;
"o_marq_opaque_sld" = id;
"o_marq_pos_lbl" = id;
"o_marq_pos_radio" = id;
"o_marq_size_inPx_lbl" = id;
"o_marq_size_lbl" = id;
"o_marq_size_pop" = id;
"o_marq_tmOut_fld" = id;
"o_marq_tmOut_lbl" = id;
"o_marq_tmOut_ms_lbl" = id;
"o_sfilter_saveSettings_ckb" = id;
"o_sfilter_tabView" = id;
"o_sfilter_win" = id;
"o_time_color_lbl" = id;
"o_time_color_pop" = id;
"o_time_enabled_ckb" = id;
"o_time_opaque_lbl" = id;
"o_time_opaque_sld" = id;
"o_time_pos_lbl" = id;
"o_time_pos_radio" = id;
"o_time_size_inPx_lbl" = id;
"o_time_size_lbl" = id;
"o_time_size_pop" = id;
"o_time_stamp_fld" = id;
"o_time_stamp_lbl" = id;
};
SUPERCLASS = NSObject;
}
);
IBVersion = 1;
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IBDocumentLocation</key>
<string>63 19 356 240 0 0 1440 878 </string>
<key>IBFramework Version</key>
<string>446.1</string>
<key>IBOpenObjects</key>
<array>
<integer>5</integer>
</array>
<key>IBSystem Version</key>
<string>8I127</string>
</dict>
</plist>
...@@ -75,7 +75,6 @@ ...@@ -75,7 +75,6 @@
CC402EF10E00ABBB006A4BA4 /* Extended.nib in Resources */ = {isa = PBXBuildFile; fileRef = DC7F46EB08A183FC0027DB24 /* Extended.nib */; }; CC402EF10E00ABBB006A4BA4 /* Extended.nib in Resources */ = {isa = PBXBuildFile; fileRef = DC7F46EB08A183FC0027DB24 /* Extended.nib */; };
CC402EF20E00ABBB006A4BA4 /* Bookmarks.nib in Resources */ = {isa = PBXBuildFile; fileRef = DCE7BD0308A56C8B007B10AE /* Bookmarks.nib */; }; CC402EF20E00ABBB006A4BA4 /* Bookmarks.nib in Resources */ = {isa = PBXBuildFile; fileRef = DCE7BD0308A56C8B007B10AE /* Bookmarks.nib */; };
CC402EF30E00ABBB006A4BA4 /* about_bg.png in Resources */ = {isa = PBXBuildFile; fileRef = DCDA5E6408F94518009D93A8 /* about_bg.png */; }; CC402EF30E00ABBB006A4BA4 /* about_bg.png in Resources */ = {isa = PBXBuildFile; fileRef = DCDA5E6408F94518009D93A8 /* about_bg.png */; };
CC402EF40E00ABBB006A4BA4 /* SFilters.nib in Resources */ = {isa = PBXBuildFile; fileRef = CCF3C64A0923B99D00401862 /* SFilters.nib */; };
CC402EF50E00ABBB006A4BA4 /* skip_forward_active_embedded.png in Resources */ = {isa = PBXBuildFile; fileRef = C2F2A6FA0958A6E600018C74 /* skip_forward_active_embedded.png */; }; CC402EF50E00ABBB006A4BA4 /* skip_forward_active_embedded.png in Resources */ = {isa = PBXBuildFile; fileRef = C2F2A6FA0958A6E600018C74 /* skip_forward_active_embedded.png */; };
CC402EF60E00ABBB006A4BA4 /* play_embedded.png in Resources */ = {isa = PBXBuildFile; fileRef = C2F2A6FC0958A94500018C74 /* play_embedded.png */; }; CC402EF60E00ABBB006A4BA4 /* play_embedded.png in Resources */ = {isa = PBXBuildFile; fileRef = C2F2A6FC0958A94500018C74 /* play_embedded.png */; };
CC402EF70E00ABBB006A4BA4 /* pause_embedded.png in Resources */ = {isa = PBXBuildFile; fileRef = C2F2A6FE0958AA9300018C74 /* pause_embedded.png */; }; CC402EF70E00ABBB006A4BA4 /* pause_embedded.png in Resources */ = {isa = PBXBuildFile; fileRef = C2F2A6FE0958AA9300018C74 /* pause_embedded.png */; };
...@@ -233,8 +232,8 @@ ...@@ -233,8 +232,8 @@
8ED6C27E03E2EB1C0059A3A7 /* macosx.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = macosx.m; path = ../../../modules/gui/macosx/macosx.m; sourceTree = SOURCE_ROOT; }; 8ED6C27E03E2EB1C0059A3A7 /* macosx.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = macosx.m; path = ../../../modules/gui/macosx/macosx.m; sourceTree = SOURCE_ROOT; };
8ED6C27F03E2EB1C0059A3A7 /* misc.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = misc.h; path = ../../../modules/gui/macosx/misc.h; sourceTree = SOURCE_ROOT; }; 8ED6C27F03E2EB1C0059A3A7 /* misc.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = misc.h; path = ../../../modules/gui/macosx/misc.h; sourceTree = SOURCE_ROOT; };
8ED6C28003E2EB1C0059A3A7 /* misc.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = misc.m; path = ../../../modules/gui/macosx/misc.m; sourceTree = SOURCE_ROOT; }; 8ED6C28003E2EB1C0059A3A7 /* misc.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = misc.m; path = ../../../modules/gui/macosx/misc.m; sourceTree = SOURCE_ROOT; };
8ED6C28103E2EB1C0059A3A7 /* open.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = open.h; path = ../../../modules/gui/macosx/open.h; sourceTree = SOURCE_ROOT; }; 8ED6C28103E2EB1C0059A3A7 /* open.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = open.h; path = ../../../modules/gui/macosx/open.h; sourceTree = SOURCE_ROOT; };
8ED6C28203E2EB1C0059A3A7 /* open.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = open.m; path = ../../../modules/gui/macosx/open.m; sourceTree = SOURCE_ROOT; }; 8ED6C28203E2EB1C0059A3A7 /* open.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = open.m; path = ../../../modules/gui/macosx/open.m; sourceTree = SOURCE_ROOT; };
8ED6C28303E2EB1C0059A3A7 /* playlist.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = playlist.h; path = ../../../modules/gui/macosx/playlist.h; sourceTree = SOURCE_ROOT; }; 8ED6C28303E2EB1C0059A3A7 /* playlist.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = playlist.h; path = ../../../modules/gui/macosx/playlist.h; sourceTree = SOURCE_ROOT; };
8ED6C28403E2EB1C0059A3A7 /* playlist.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = playlist.m; path = ../../../modules/gui/macosx/playlist.m; sourceTree = SOURCE_ROOT; }; 8ED6C28403E2EB1C0059A3A7 /* playlist.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = playlist.m; path = ../../../modules/gui/macosx/playlist.m; sourceTree = SOURCE_ROOT; };
8ED6C28503E2EB1C0059A3A7 /* prefs.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = prefs.h; path = ../../../modules/gui/macosx/prefs.h; sourceTree = SOURCE_ROOT; }; 8ED6C28503E2EB1C0059A3A7 /* prefs.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = prefs.h; path = ../../../modules/gui/macosx/prefs.h; sourceTree = SOURCE_ROOT; };
...@@ -287,7 +286,6 @@ ...@@ -287,7 +286,6 @@
CC33C24F0D2578F5008C4683 /* volumeslider_graphite.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = volumeslider_graphite.png; path = Resources/volumeslider_graphite.png; sourceTree = "<group>"; }; CC33C24F0D2578F5008C4683 /* volumeslider_graphite.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = volumeslider_graphite.png; path = Resources/volumeslider_graphite.png; sourceTree = "<group>"; };
CC33C2500D2578F5008C4683 /* fullscreen_graphite.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = fullscreen_graphite.png; path = Resources/fullscreen_graphite.png; sourceTree = "<group>"; }; CC33C2500D2578F5008C4683 /* fullscreen_graphite.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = fullscreen_graphite.png; path = Resources/fullscreen_graphite.png; sourceTree = "<group>"; };
CC3DC89B0A7CDB9600B53F32 /* ApplicationServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ApplicationServices.framework; path = /System/Library/Frameworks/ApplicationServices.framework; sourceTree = "<absolute>"; }; CC3DC89B0A7CDB9600B53F32 /* ApplicationServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ApplicationServices.framework; path = /System/Library/Frameworks/ApplicationServices.framework; sourceTree = "<absolute>"; };
CC402F4A0E00ABBB006A4BA4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
CC402F4B0E00ABBB006A4BA4 /* VLC.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = VLC.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; CC402F4B0E00ABBB006A4BA4 /* VLC.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = VLC.bundle; sourceTree = BUILT_PRODUCTS_DIR; };
CC4ED9AC0ABE07C800CA4CC5 /* add_embedded_blue.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = add_embedded_blue.png; path = Resources/add_embedded_blue.png; sourceTree = "<group>"; }; CC4ED9AC0ABE07C800CA4CC5 /* add_embedded_blue.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = add_embedded_blue.png; path = Resources/add_embedded_blue.png; sourceTree = "<group>"; };
CC4ED9AD0ABE07C800CA4CC5 /* add_embedded.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = add_embedded.png; path = Resources/add_embedded.png; sourceTree = "<group>"; }; CC4ED9AD0ABE07C800CA4CC5 /* add_embedded.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = add_embedded.png; path = Resources/add_embedded.png; sourceTree = "<group>"; };
...@@ -353,9 +351,6 @@ ...@@ -353,9 +351,6 @@
CCCB86D80ACFDFB300CF1E10 /* fs_stop_highlight.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = fs_stop_highlight.png; path = Resources/fs_stop_highlight.png; sourceTree = "<group>"; }; CCCB86D80ACFDFB300CF1E10 /* fs_stop_highlight.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = fs_stop_highlight.png; path = Resources/fs_stop_highlight.png; sourceTree = "<group>"; };
CCCB86D90ACFDFB300CF1E10 /* fs_stop.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = fs_stop.png; path = Resources/fs_stop.png; sourceTree = "<group>"; }; CCCB86D90ACFDFB300CF1E10 /* fs_stop.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = fs_stop.png; path = Resources/fs_stop.png; sourceTree = "<group>"; };
CCCB86DA0ACFDFB300CF1E10 /* fs_background.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = fs_background.png; path = Resources/fs_background.png; sourceTree = "<group>"; }; CCCB86DA0ACFDFB300CF1E10 /* fs_background.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = fs_background.png; path = Resources/fs_background.png; sourceTree = "<group>"; };
CCF3C64B0923B99D00401862 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = Resources/English.lproj/SFilters.nib; sourceTree = "<group>"; };
CCF3C6500923B9D100401862 /* sfilters.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = sfilters.h; path = ../../../modules/gui/macosx/sfilters.h; sourceTree = SOURCE_ROOT; };
CCF3C6510923B9D100401862 /* sfilters.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = sfilters.m; path = ../../../modules/gui/macosx/sfilters.m; sourceTree = SOURCE_ROOT; };
DC769AB7085DF0DB001A838D /* wizard.m */ = {isa = PBXFileReference; fileEncoding = 5; indentWidth = 4; lastKnownFileType = sourcecode.c.objc; name = wizard.m; path = ../../../modules/gui/macosx/wizard.m; sourceTree = SOURCE_ROOT; tabWidth = 4; usesTabs = 0; }; DC769AB7085DF0DB001A838D /* wizard.m */ = {isa = PBXFileReference; fileEncoding = 5; indentWidth = 4; lastKnownFileType = sourcecode.c.objc; name = wizard.m; path = ../../../modules/gui/macosx/wizard.m; sourceTree = SOURCE_ROOT; tabWidth = 4; usesTabs = 0; };
DC769AB8085DF0DB001A838D /* wizard.h */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.h; name = wizard.h; path = ../../../modules/gui/macosx/wizard.h; sourceTree = SOURCE_ROOT; }; DC769AB8085DF0DB001A838D /* wizard.h */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.h; name = wizard.h; path = ../../../modules/gui/macosx/wizard.h; sourceTree = SOURCE_ROOT; };
DC7F46EC08A183FC0027DB24 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = Resources/English.lproj/Extended.nib; sourceTree = "<group>"; }; DC7F46EC08A183FC0027DB24 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = Resources/English.lproj/Extended.nib; sourceTree = "<group>"; };
...@@ -404,7 +399,6 @@ ...@@ -404,7 +399,6 @@
089C167CFE841241C02AAC07 /* Resources */, 089C167CFE841241C02AAC07 /* Resources */,
089C1671FE841209C02AAC07 /* Frameworks and Libraries */, 089C1671FE841209C02AAC07 /* Frameworks and Libraries */,
19C28FB8FE9D52D311CA2CBB /* Products */, 19C28FB8FE9D52D311CA2CBB /* Products */,
CC402F4A0E00ABBB006A4BA4 /* Info.plist */,
); );
name = vlc; name = vlc;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -476,8 +470,6 @@ ...@@ -476,8 +470,6 @@
DC7F46F108A187F60027DB24 /* extended.m */, DC7F46F108A187F60027DB24 /* extended.m */,
DCE7BD0708A5724D007B10AE /* bookmarks.h */, DCE7BD0708A5724D007B10AE /* bookmarks.h */,
DCE7BD0608A5724D007B10AE /* bookmarks.m */, DCE7BD0608A5724D007B10AE /* bookmarks.m */,
CCF3C6500923B9D100401862 /* sfilters.h */,
CCF3C6510923B9D100401862 /* sfilters.m */,
CC26BF3109A7A08C00E94D62 /* update.h */, CC26BF3109A7A08C00E94D62 /* update.h */,
CC26BF3209A7A08C00E94D62 /* update.m */, CC26BF3209A7A08C00E94D62 /* update.m */,
CC6D8D9C0A878DED006F2BBE /* AppleRemote.h */, CC6D8D9C0A878DED006F2BBE /* AppleRemote.h */,
...@@ -750,7 +742,6 @@ ...@@ -750,7 +742,6 @@
DCFCCDB7085CE18F001E36AF /* Wizard.nib */, DCFCCDB7085CE18F001E36AF /* Wizard.nib */,
DC7F46EB08A183FC0027DB24 /* Extended.nib */, DC7F46EB08A183FC0027DB24 /* Extended.nib */,
DCE7BD0308A56C8B007B10AE /* Bookmarks.nib */, DCE7BD0308A56C8B007B10AE /* Bookmarks.nib */,
CCF3C64A0923B99D00401862 /* SFilters.nib */,
CC26BF2A09A7A05000E94D62 /* Update.nib */, CC26BF2A09A7A05000E94D62 /* Update.nib */,
CC1B4B4B09A8CF9E0078AD2E /* Interaction.nib */, CC1B4B4B09A8CF9E0078AD2E /* Interaction.nib */,
CC1AC1BA0A7BDA41002478C3 /* InteractionErrorPanel.nib */, CC1AC1BA0A7BDA41002478C3 /* InteractionErrorPanel.nib */,
...@@ -869,7 +860,6 @@ ...@@ -869,7 +860,6 @@
CC402EF10E00ABBB006A4BA4 /* Extended.nib in Resources */, CC402EF10E00ABBB006A4BA4 /* Extended.nib in Resources */,
CC402EF20E00ABBB006A4BA4 /* Bookmarks.nib in Resources */, CC402EF20E00ABBB006A4BA4 /* Bookmarks.nib in Resources */,
CC402EF30E00ABBB006A4BA4 /* about_bg.png in Resources */, CC402EF30E00ABBB006A4BA4 /* about_bg.png in Resources */,
CC402EF40E00ABBB006A4BA4 /* SFilters.nib in Resources */,
CC402EF50E00ABBB006A4BA4 /* skip_forward_active_embedded.png in Resources */, CC402EF50E00ABBB006A4BA4 /* skip_forward_active_embedded.png in Resources */,
CC402EF60E00ABBB006A4BA4 /* play_embedded.png in Resources */, CC402EF60E00ABBB006A4BA4 /* play_embedded.png in Resources */,
CC402EF70E00ABBB006A4BA4 /* pause_embedded.png in Resources */, CC402EF70E00ABBB006A4BA4 /* pause_embedded.png in Resources */,
...@@ -993,14 +983,6 @@ ...@@ -993,14 +983,6 @@
name = MediaInfo.nib; name = MediaInfo.nib;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
CCF3C64A0923B99D00401862 /* SFilters.nib */ = {
isa = PBXVariantGroup;
children = (
CCF3C64B0923B99D00401862 /* English */,
);
name = SFilters.nib;
sourceTree = "<group>";
};
DC7F46EB08A183FC0027DB24 /* Extended.nib */ = { DC7F46EB08A183FC0027DB24 /* Extended.nib */ = {
isa = PBXVariantGroup; isa = PBXVariantGroup;
children = ( children = (
...@@ -1124,7 +1106,7 @@ ...@@ -1124,7 +1106,7 @@
GCC_ENABLE_FIX_AND_CONTINUE = NO; GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_SYMBOLS_PRIVATE_EXTERN = NO;
HEADER_SEARCH_PATHS = ""; HEADER_SEARCH_PATHS = "";
INFOPLIST_FILE = "Info.plist"; INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(HOME)/Library/Bundles"; INSTALL_PATH = "$(HOME)/Library/Bundles";
JAVAC_SOURCE_FILE_ENCODING = "ISO-8859-1"; JAVAC_SOURCE_FILE_ENCODING = "ISO-8859-1";
LIBRARY_SEARCH_PATHS = /Volumes/Genitus/vlc/modules/gui/macosx; LIBRARY_SEARCH_PATHS = /Volumes/Genitus/vlc/modules/gui/macosx;
...@@ -1149,7 +1131,7 @@ ...@@ -1149,7 +1131,7 @@
FRAMEWORK_SEARCH_PATHS = ""; FRAMEWORK_SEARCH_PATHS = "";
GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_SYMBOLS_PRIVATE_EXTERN = NO;
HEADER_SEARCH_PATHS = ""; HEADER_SEARCH_PATHS = "";
INFOPLIST_FILE = "Info.plist"; INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(HOME)/Library/Bundles"; INSTALL_PATH = "$(HOME)/Library/Bundles";
JAVAC_SOURCE_FILE_ENCODING = "ISO-8859-1"; JAVAC_SOURCE_FILE_ENCODING = "ISO-8859-1";
LIBRARY_SEARCH_PATHS = /Volumes/Genitus/vlc/modules/gui/macosx; LIBRARY_SEARCH_PATHS = /Volumes/Genitus/vlc/modules/gui/macosx;
......
...@@ -47,8 +47,6 @@ SOURCES_macosx = \ ...@@ -47,8 +47,6 @@ SOURCES_macosx = \
extended.m \ extended.m \
bookmarks.h \ bookmarks.h \
bookmarks.m \ bookmarks.m \
sfilters.h \
sfilters.m \
embeddedwindow.h \ embeddedwindow.h \
embeddedwindow.m \ embeddedwindow.m \
fspanel.m \ fspanel.m \
......
...@@ -109,7 +109,6 @@ struct intf_sys_t ...@@ -109,7 +109,6 @@ struct intf_sys_t
id o_bookmarks; /* VLCBookmarks */ id o_bookmarks; /* VLCBookmarks */
id o_embedded_list; /* VLCEmbeddedList*/ id o_embedded_list; /* VLCEmbeddedList*/
id o_interaction_list; /* VLCInteractionList*/ id o_interaction_list; /* VLCInteractionList*/
id o_sfilters; /* VLCsFilters */
id o_info; /* VLCInformation */ id o_info; /* VLCInformation */
#ifdef UPDATE_CHECK #ifdef UPDATE_CHECK
id o_update; /* VLCUpdate */ id o_update; /* VLCUpdate */
...@@ -121,7 +120,6 @@ struct intf_sys_t ...@@ -121,7 +120,6 @@ struct intf_sys_t
BOOL nib_wizard_loaded; /* wizard nibfile */ BOOL nib_wizard_loaded; /* wizard nibfile */
BOOL nib_extended_loaded; /* extended nibfile */ BOOL nib_extended_loaded; /* extended nibfile */
BOOL nib_bookmarks_loaded; /* bookmarks nibfile */ BOOL nib_bookmarks_loaded; /* bookmarks nibfile */
BOOL nib_sfilters_loaded; /* sfilters nibfile */
BOOL nib_prefs_loaded; /* preferences nibfile */ BOOL nib_prefs_loaded; /* preferences nibfile */
BOOL nib_update_loaded; /* update nibfile */ BOOL nib_update_loaded; /* update nibfile */
BOOL nib_info_loaded; /* information panel nibfile */ BOOL nib_info_loaded; /* information panel nibfile */
...@@ -366,7 +364,6 @@ struct intf_sys_t ...@@ -366,7 +364,6 @@ struct intf_sys_t
- (IBAction)showWizard:(id)sender; - (IBAction)showWizard:(id)sender;
- (IBAction)showExtended:(id)sender; - (IBAction)showExtended:(id)sender;
- (IBAction)showBookmarks:(id)sender; - (IBAction)showBookmarks:(id)sender;
- (IBAction)showSFilters:(id)sender;
- (IBAction)viewAbout:(id)sender; - (IBAction)viewAbout:(id)sender;
- (IBAction)showLicense:(id)sender; - (IBAction)showLicense:(id)sender;
......
...@@ -48,7 +48,6 @@ ...@@ -48,7 +48,6 @@
#import "wizard.h" #import "wizard.h"
#import "extended.h" #import "extended.h"
#import "bookmarks.h" #import "bookmarks.h"
#import "sfilters.h"
#import "interaction.h" #import "interaction.h"
#import "embeddedwindow.h" #import "embeddedwindow.h"
#import "update.h" #import "update.h"
...@@ -351,7 +350,6 @@ static VLCMain *_o_sharedMainInstance = nil; ...@@ -351,7 +350,6 @@ static VLCMain *_o_sharedMainInstance = nil;
o_embedded_list = [[VLCEmbeddedList alloc] init]; o_embedded_list = [[VLCEmbeddedList alloc] init];
o_interaction_list = [[VLCInteractionList alloc] init]; o_interaction_list = [[VLCInteractionList alloc] init];
o_info = [[VLCInfo alloc] init]; o_info = [[VLCInfo alloc] init];
o_sfilters = nil;
#ifdef UPDATE_CHECK #ifdef UPDATE_CHECK
o_update = [[VLCUpdate alloc] init]; o_update = [[VLCUpdate alloc] init];
#endif #endif
...@@ -1886,22 +1884,6 @@ end: ...@@ -1886,22 +1884,6 @@ end:
[o_extended showPanel]; [o_extended showPanel];
} }
- (IBAction)showSFilters:(id)sender
{
if( o_sfilters == nil )
{
o_sfilters = [[VLCsFilters alloc] init];
}
if( !nib_sfilters_loaded )
{
nib_sfilters_loaded = [NSBundle loadNibNamed:@"SFilters" owner:self];
[o_sfilters initStrings];
[o_sfilters showAsPanel];
} else {
[o_sfilters showAsPanel];
}
}
- (IBAction)showBookmarks:(id)sender - (IBAction)showBookmarks:(id)sender
{ {
/* we need the wizard-nib for the bookmarks's extract functionality */ /* we need the wizard-nib for the bookmarks's extract functionality */
......
/*****************************************************************************
* sfilter.h: MacOS X Subpicture filters dialogue
*****************************************************************************
* Copyright (C) 2005-2008 the VideoLAN team
* $Id$
*
* Authors: Felix Paul Kühne <fkuehne -at- videolan -dot- org>
*
* 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
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#import <Cocoa/Cocoa.h>
#import "intf.h"
#import <vlc_common.h>
@interface VLCsFilters : NSObject
{
/* window stuff */
IBOutlet id o_sfilter_tabView;
IBOutlet id o_sfilter_win;
IBOutlet id o_sfilter_saveSettings_ckb;
/* logo section */
IBOutlet id o_logo_enabled_ckb;
IBOutlet id o_logo_image_btn;
IBOutlet id o_logo_image_fld;
IBOutlet id o_logo_image_lbl;
IBOutlet id o_logo_opaque_lbl;
IBOutlet id o_logo_opaque_sld;
IBOutlet id o_logo_pos_lbl;
IBOutlet id o_logo_pos_radio;
/* marquee section */
IBOutlet id o_marq_enabled_ckb;
IBOutlet id o_marq_color_lbl;
IBOutlet id o_marq_color_pop;
IBOutlet id o_marq_marq_fld;
IBOutlet id o_marq_marq_lbl;
IBOutlet id o_marq_opaque_lbl;
IBOutlet id o_marq_opaque_sld;
IBOutlet id o_marq_pos_lbl;
IBOutlet id o_marq_pos_radio;
IBOutlet id o_marq_size_inPx_lbl;
IBOutlet id o_marq_size_lbl;
IBOutlet id o_marq_size_pop;
IBOutlet id o_marq_tmOut_fld;
IBOutlet id o_marq_tmOut_lbl;
IBOutlet id o_marq_tmOut_ms_lbl;
/* time section */
IBOutlet id o_time_enabled_ckb;
IBOutlet id o_time_color_lbl;
IBOutlet id o_time_color_pop;
IBOutlet id o_time_opaque_lbl;
IBOutlet id o_time_opaque_sld;
IBOutlet id o_time_pos_lbl;
IBOutlet id o_time_pos_radio;
IBOutlet id o_time_size_inPx_lbl;
IBOutlet id o_time_size_lbl;
IBOutlet id o_time_size_pop;
IBOutlet id o_time_stamp_fld;
IBOutlet id o_time_stamp_lbl;
BOOL o_config_changed;
BOOL o_save_settings;
NSArray * o_colors;
}
+ (VLCsFilters *)sharedInstance;
- (IBAction)logo_selectFile:(id)sender;
- (IBAction)propertyChanged:(id)sender;
- (IBAction)enableFilter:(id)sender;
- (void)showAsPanel;
- (void)initStrings;
- (void)changeFiltersString: (char *)psz_name onOrOff: (bool )b_add;
- (void)enableTime;
- (void)enableLogo;
- (void)enableMarq;
@end
/*****************************************************************************
* sfilter.m: MacOS X Subpicture filters dialogue
*****************************************************************************
* Copyright (C) 2005-2008 the VideoLAN team
* $Id$
*
* Authors: Felix Paul Kühne <fkuehne -at -videolan -dot- org>
*
* 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
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
/*****************************************************************************
* Note:
* the code used to bind with VLC's core is partially based upon the
* RC-interface, written by Antoine Cellerier and Mark F. Moriarty
* (members of the VideoLAN team)
*****************************************************************************/
#import "sfilters.h"
#import <vlc_vout.h>
/* TODO:
- check for memory leaks
- save the preferences, if requested
*/
@implementation VLCsFilters
static VLCsFilters *_o_sharedInstance = nil;
+ (VLCsFilters *)sharedInstance
{
return _o_sharedInstance ? _o_sharedInstance : [[self alloc] init];
}
- (id)init
{
if (_o_sharedInstance) {
[self dealloc];
} else {
_o_sharedInstance = [super init];
}
return _o_sharedInstance;
}
- (void)dealloc
{
[o_colors release];
[super dealloc];
}
- (void)initStrings
{
[o_sfilter_win setTitle: _NS("Subpicture Filters")];
[[o_sfilter_tabView tabViewItemAtIndex: 0] setLabel: _NS("Logo")];
[[o_sfilter_tabView tabViewItemAtIndex: 1] setLabel: _NS("Time")];
[[o_sfilter_tabView tabViewItemAtIndex: 2] setLabel: _NS("Marquee")];
[o_sfilter_saveSettings_ckb setTitle: _NS("Save settings")];
[o_logo_image_btn setTitle: _NS("Browse...")];
[o_logo_enabled_ckb setTitle: _NS("Enabled")];
[o_logo_image_lbl setStringValue: _NS("Image:")];
[o_logo_pos_lbl setStringValue: _NS("Position:")];
[o_logo_opaque_lbl setStringValue: _NS("Opaqueness")];
[o_time_enabled_ckb setTitle: _NS("Enabled")];
[o_time_stamp_lbl setStringValue: _NS("Timestamp:")];
[o_time_size_lbl setStringValue: _NS("Size:")];
[o_time_color_lbl setStringValue: _NS("Color:")];
[o_time_opaque_lbl setStringValue: _NS("Opaqueness:")];
[o_time_pos_lbl setStringValue: _NS("Position:")];
[o_time_size_inPx_lbl setStringValue: _NS("(in pixels)")];
[o_marq_enabled_ckb setTitle: _NS("Enabled")];
[o_marq_color_lbl setStringValue: _NS("Color:")];
[o_marq_marq_lbl setStringValue: _NS("Marquee:")];
[o_marq_opaque_lbl setStringValue: _NS("Opaqueness")];
[o_marq_tmOut_lbl setStringValue: _NS("Timeout:")];
[o_marq_tmOut_ms_lbl setStringValue: _NS("ms")];
[o_marq_pos_lbl setStringValue: _NS("Position:")];
[o_marq_size_lbl setStringValue: _NS("Size:")];
[o_time_color_lbl setStringValue: _NS("(in pixels)")];
}
- (void)awakeFromNib
{
/* colors as implemented at the beginning of marq.c and time.c
* feel free to add more colors, but remember to add them to these files
* as well to keep a certain level of consistency across the interfaces */
NSArray * o_default;
NSArray * o_black;
NSArray * o_gray;
NSArray * o_silver;
NSArray * o_white;
NSArray * o_maroon;
NSArray * o_red;
NSArray * o_fuchsia;
NSArray * o_yellow;
NSArray * o_olive;
NSArray * o_green;
NSArray * o_teal;
NSArray * o_lime;
NSArray * o_purple;
NSArray * o_navy;
NSArray * o_blue;
NSArray * o_aqua;
o_default = [NSArray arrayWithObjects: _NS("Default"), @"-1", nil];
o_black = [NSArray arrayWithObjects: _NS("Black"), @"0x000000", nil];
o_gray = [NSArray arrayWithObjects: _NS("Gray"), @"0x808080", nil];
o_silver = [NSArray arrayWithObjects: _NS("Silver"), @"0xC0C0C0", nil];
o_white = [NSArray arrayWithObjects: _NS("White"), @"0xFFFFFF", nil];
o_maroon = [NSArray arrayWithObjects: _NS("Maroon"), @"0x800000", nil];
o_red = [NSArray arrayWithObjects: _NS("Red"), @"0xFF0000", nil];
o_fuchsia = [NSArray arrayWithObjects: _NS("Fuchsia"), @"0xFF00FF", nil];
o_yellow = [NSArray arrayWithObjects: _NS("Yellow"), @"0xFFFF00", nil];
o_olive = [NSArray arrayWithObjects: _NS("Olive"), @"0x808000", nil];
o_green = [NSArray arrayWithObjects: _NS("Green"), @"0x008000", nil];
o_teal = [NSArray arrayWithObjects: _NS("Teal"), @"0x008080", nil];
o_lime = [NSArray arrayWithObjects: _NS("Lime"), @"0x00FF00", nil];
o_purple = [NSArray arrayWithObjects: _NS("Purple"), @"0x800080", nil];
o_navy = [NSArray arrayWithObjects: _NS("Navy"), @"0x000080", nil];
o_blue = [NSArray arrayWithObjects: _NS("Blue"), @"0x0000FF", nil];
o_aqua = [NSArray arrayWithObjects: _NS("Aqua"), @"0x00FFFF", nil];
o_colors = [[NSArray alloc] initWithObjects: o_default, o_black, o_gray,
o_silver, o_white, o_maroon, o_red, o_fuchsia, o_yellow, o_olive,
o_green, o_teal, o_lime, o_purple, o_navy, o_blue, o_aqua, nil];
unsigned int x = 0;
[o_marq_color_pop removeAllItems];
[o_time_color_pop removeAllItems];
/* we are adding tags to the items, so we can easily identify them even if
* the menu was sorted */
while (x != [o_colors count])
{
[o_marq_color_pop addItemWithTitle: [[o_colors objectAtIndex:x]
objectAtIndex:0]];
[[o_marq_color_pop lastItem] setTag: x];
[o_time_color_pop addItemWithTitle: [[o_colors objectAtIndex:x]
objectAtIndex:0]];
[[o_time_color_pop lastItem] setTag: x];
x = (x + 1);
}
[o_marq_color_pop selectItemAtIndex:0];
[o_time_color_pop selectItemAtIndex:0];
NSArray * o_sizes;
o_sizes = [[NSArray alloc] initWithObjects: @"6", @"8", @"10", @"11", @"12",\
@"13", @"14", @"16", @"18", @"24", @"36", @"48", @"64", @"72", @"96",
@"144", @"288", nil];
[o_marq_size_pop removeAllItems];
[o_marq_size_pop addItemsWithTitles: o_sizes];
[o_time_size_pop removeAllItems];
[o_time_size_pop addItemsWithTitles: o_sizes];
[o_sizes release];
}
- (void)showAsPanel
{
char * psz_temp;
/* called from intf.m */
[o_sfilter_win displayIfNeeded];
[o_sfilter_win makeKeyAndOrderFront:nil];
intf_thread_t * p_intf = VLCIntf;
/* retrieve the marquee settings */
int x = 0;
int tempInt = config_GetInt( p_intf, "marq-color" );
while( strtol([[[o_colors objectAtIndex:x] objectAtIndex:1] UTF8String],
NULL, 0) != tempInt )
{
x = (x + 1);
if( x >= [o_marq_color_pop numberOfItems] )
{
x = 0;
return;
}
}
[o_marq_color_pop selectItemAtIndex: x];
if( psz_temp = config_GetPsz( p_intf, "time-format" ) )
[o_marq_marq_fld setStringValue: [NSString stringWithUTF8String: psz_temp]];
else
[o_marq_marq_fld setStringValue: _NS("Not Available")];
[o_marq_opaque_sld setIntValue: config_GetInt( p_intf, "marq-opacity")];
[o_marq_pos_radio selectCellWithTag: config_GetInt( p_intf, "marq-position" )];
/* FIXME: the following line doesn't work with "-1", which is the default
* value */
[o_marq_size_pop selectItemWithTitle:
[[NSNumber numberWithInt: config_GetInt( p_intf, "marq-size" )]
stringValue]];
[o_marq_size_pop selectItemAtIndex: x];
[o_marq_tmOut_fld setStringValue: [[NSNumber numberWithInt:
config_GetInt( p_intf, "marq-timeout" )] stringValue]];
/* retrieve the time settings */
x = 0;
tempInt = config_GetInt( p_intf, "time-color" );
while( strtol([[[o_colors objectAtIndex:x] objectAtIndex:1] UTF8String], NULL, 0) != tempInt )
{
x = (x + 1);
if( x >= [o_time_color_pop numberOfItems] )
{
x = 0;
return;
}
}
[o_time_color_pop selectItemAtIndex: x];
if( psz_temp = config_GetPsz( p_intf, "time-format" ) )
[o_time_stamp_fld setStringValue: [NSString stringWithUTF8String: psz_temp]];
else
[o_time_stamp_fld setStringValue: _NS("Not Available")];
[o_time_opaque_sld setIntValue: config_GetInt( p_intf, "time-opacity")];
/* FIXME: the following line doesn't work with "-1", which is the default
* value */
[o_time_size_pop selectItemWithTitle:
[[NSNumber numberWithInt: config_GetInt( p_intf, "time-size" )]
stringValue]];
[o_time_pos_radio selectCellWithTag: config_GetInt( p_intf, "time-position" )];
/* retrieve the logo settings */
[o_logo_opaque_sld setIntValue: config_GetInt( p_intf, "logo-transparency")];
/* in case that no path has been saved yet */
if( psz_temp = config_GetPsz( p_intf, "logo-file" ) )
[o_logo_image_fld setStringValue: [NSString stringWithUTF8String: psz_temp]];
else
[o_logo_image_fld setStringValue: @""];
[o_logo_pos_radio selectCellWithTag: config_GetInt( p_intf, "logo-position" )];
/* enable the requested filters */
char * psz_subfilters;
psz_subfilters = config_GetPsz( p_intf, "sub-filter" );
if( psz_subfilters )
{
if( strstr( psz_subfilters, "marq") )
[o_marq_enabled_ckb setState: YES];
else
[o_marq_enabled_ckb setState: NO];
if( strstr( psz_subfilters, "logo") )
[o_logo_enabled_ckb setState: YES];
else
[o_logo_enabled_ckb setState: NO];
if( strstr( psz_subfilters, "time") )
[o_time_enabled_ckb setState: YES];
else
[o_time_enabled_ckb setState: NO];
}
[self enableMarq];
[self enableLogo];
[self enableTime];
}
- (IBAction)logo_selectFile:(id)sender
{
NSOpenPanel * openPanel = [NSOpenPanel openPanel];
SEL sel = @selector(logo_getFile:returnCode:contextInfo:);
[openPanel beginSheetForDirectory:nil file:nil types: [NSArray
arrayWithObjects: @"png", @"PNG", @"'PNGf'", nil] modalForWindow:
o_sfilter_win modalDelegate:self didEndSelector:sel contextInfo:nil];
}
- (void)logo_getFile: (NSOpenPanel *)sheet returnCode:
(int)returnCode contextInfo: (void *)contextInfo
{
if (returnCode == NSOKButton)
{
[o_logo_image_fld setStringValue: [sheet filename]];
/* Make sure we notice that */
[self propertyChanged: o_logo_image_fld];
}
}
- (IBAction)propertyChanged:(id)sender
{
intf_thread_t * p_intf = VLCIntf;
input_thread_t * p_input = (input_thread_t *)vlc_object_find( p_intf,
VLC_OBJECT_INPUT, FIND_ANYWHERE );
vlc_value_t val;
/* general properties */
if( sender == o_sfilter_saveSettings_ckb)
{
o_save_settings = [o_sfilter_saveSettings_ckb state];
}
/* marquee */
else if( sender == o_marq_marq_fld )
{
if( [[o_marq_marq_fld stringValue] length] == 0 )
{
val.psz_string = (char *)"";
}
else
{
val.psz_string = (char *)[[o_marq_marq_fld stringValue] UTF8String];
}
if( p_input )
var_Set( p_input->p_libvlc, "marq-marquee", val );
config_PutPsz( p_intf, "marq-marquee", val.psz_string );
}
else if( sender == o_marq_pos_radio )
{
val.i_int = [[o_marq_pos_radio selectedCell] tag];
if( p_input )
var_Set( p_input->p_libvlc, "marq-position", val );
config_PutInt( p_intf, "marq-position", val.i_int );
}
else if( sender == o_marq_color_pop )
{
val.i_int = strtol( [[[o_colors objectAtIndex: [o_marq_color_pop
indexOfSelectedItem]] objectAtIndex: 1] UTF8String], NULL, 0 );
if( p_input )
var_Set( p_input->p_libvlc, "marq-color", val );
config_PutInt( p_intf, "marq-color", val.i_int );
}
else if( sender == o_marq_opaque_sld )
{
val.i_int = [o_marq_opaque_sld intValue];
if( p_input )
var_Set( p_input->p_libvlc, "marq-opacity", val );
config_PutInt( p_intf, "marq-opacity", val.i_int );
}
else if( sender == o_marq_size_pop )
{
val.i_int = [[o_marq_size_pop titleOfSelectedItem] intValue];
if( p_input )
var_Set( p_input->p_libvlc, "marq-size", val );
config_PutInt( p_intf, "marq-size", val.i_int );
}
else if( sender == o_marq_tmOut_fld && [[sender stringValue] length] > 0 )
{
val.i_int = [o_marq_tmOut_fld intValue];
if( p_input )
var_Set( p_input->p_libvlc, "marq-timeout", val );
config_PutInt( p_intf, "marq-timeout", val.i_int );
}
/* time */
else if( sender == o_time_stamp_fld )
{
if( [[o_time_stamp_fld stringValue] length] == 0 )
{
val.psz_string = (char *)"";
}
else
{
val.psz_string = (char *)[[o_time_stamp_fld stringValue] UTF8String];
}
if( p_input )
var_Set( p_input->p_libvlc, "time-format", val );
config_PutPsz( p_intf, "time-format", val.psz_string );
}
else if( sender == o_time_pos_radio )
{
val.i_int = [[o_time_pos_radio selectedCell] tag];
if( p_input )
var_Set( p_input->p_libvlc, "time-position", val );
config_PutInt( p_intf, "time-position", val.i_int );
}
else if( sender == o_time_color_pop )
{
val.i_int = strtol( [[[o_colors objectAtIndex: [o_time_color_pop
indexOfSelectedItem]] objectAtIndex: 1] UTF8String], NULL, 0 );
if( p_input )
var_Set( p_input->p_libvlc, "time-color", val );
config_PutInt( p_intf, "time-color", val.i_int );
}
else if( sender == o_time_opaque_sld )
{
val.i_int = [o_time_opaque_sld intValue];
if( p_input )
var_Set( p_input->p_libvlc, "time-opacity", val );
config_PutInt( p_intf, "time-opacity", val.i_int );
}
else if( sender == o_time_size_pop )
{
val.i_int = [[o_time_size_pop titleOfSelectedItem] intValue];
if( p_input )
var_Set( p_input->p_libvlc, "time-size", val );
config_PutInt( p_intf, "time-size", val.i_int );
}
/* logo */
else if( sender == o_logo_opaque_sld )
{
val.i_int = [o_logo_opaque_sld intValue];
if( p_input )
var_Set( p_input->p_libvlc, "logo-transparency", val );
config_PutInt( p_intf, "logo-transparency", val.i_int );
}
else if( sender == o_logo_pos_radio )
{
val.i_int = [[o_logo_pos_radio selectedCell] tag];
if( p_input )
var_Set( p_input->p_libvlc, "logo-position", val );
config_PutInt( p_intf, "logo-position", val.i_int );
}
else if ( sender == o_logo_image_fld )
{
val.psz_string = (char *)[[o_logo_image_fld stringValue] UTF8String];
if( p_input )
var_Set( p_input->p_libvlc, "logo-file", val );
config_PutPsz( p_intf, "logo-file", val.psz_string );
}
else
{
/* just in case */
msg_Err( p_intf, "couldn't find any action for sender" );
}
/* clean up */
if ( p_input )
{
o_config_changed = YES;
vlc_object_release( p_input );
}
}
- (IBAction)enableFilter:(id)sender
{
if( sender == o_marq_enabled_ckb )
{
[self changeFiltersString:"marq" onOrOff: [o_marq_enabled_ckb state]];
[self enableMarq];
}
if( sender == o_logo_enabled_ckb )
{
[self changeFiltersString:"logo" onOrOff: [o_logo_enabled_ckb state]];
[self enableLogo];
}
if( sender == o_time_enabled_ckb )
{
[self changeFiltersString:"time" onOrOff: [o_time_enabled_ckb state]];
[self enableTime];
}
}
- (void)enableMarq
{
[o_marq_color_pop setEnabled: [o_marq_enabled_ckb state]];
[o_marq_marq_fld setEnabled: [o_marq_enabled_ckb state]];
[o_marq_opaque_sld setEnabled: [o_marq_enabled_ckb state]];
[o_marq_size_pop setEnabled: [o_marq_enabled_ckb state]];
[o_marq_tmOut_fld setEnabled: [o_marq_enabled_ckb state]];
[o_marq_pos_radio setEnabled: [o_marq_enabled_ckb state]];
}
- (void)enableTime
{
[o_time_color_pop setEnabled: [o_time_enabled_ckb state]];
[o_time_stamp_fld setEnabled: [o_time_enabled_ckb state]];
[o_time_opaque_sld setEnabled: [o_time_enabled_ckb state]];
[o_time_size_pop setEnabled: [o_time_enabled_ckb state]];
[o_time_pos_radio setEnabled: [o_time_enabled_ckb state]];
}
- (void)enableLogo
{
[o_logo_image_btn setEnabled: [o_logo_enabled_ckb state]];
[o_logo_image_fld setEnabled: [o_logo_enabled_ckb state]];
[o_logo_opaque_sld setEnabled: [o_logo_enabled_ckb state]];
[o_logo_pos_radio setEnabled: [o_logo_enabled_ckb state]];
}
- (void)changeFiltersString:(char *)psz_name onOrOff:(bool )b_add
{
/* copied from ../wxwidgets/extrapanel.cpp
* renamed to conform with Cocoa's rules
* and slightly modified to suit our needs */
intf_thread_t * p_intf = VLCIntf;
char *psz_parser, *psz_string;
psz_string = config_GetPsz( p_intf, "sub-filter" );
if( !psz_string ) psz_string = strdup("");
psz_parser = strstr( psz_string, psz_name );
if( b_add )
{
if( !psz_parser )
{
psz_parser = psz_string;
asprintf( &psz_string, (*psz_string) ? "%s:%s" : "%s%s",
psz_string, psz_name );
free( psz_parser );
}
else
{
return;
}
}
else
{
if( psz_parser )
{
memmove( psz_parser, psz_parser + strlen(psz_name) +
(*(psz_parser + strlen(psz_name)) == ':' ? 1 : 0 ),
strlen(psz_parser + strlen(psz_name)) + 1 );
/* Remove trailing : : */
if( *(psz_string+strlen(psz_string ) -1 ) == ':' )
{
*(psz_string+strlen(psz_string ) -1 ) = '\0';
}
}
else
{
free( psz_string );
return;
}
}
config_PutPsz( p_intf, "sub-filter", psz_string );
/* Try to set on the fly */
/* FIXME: enable this once we support on-the-fly addition of this kind of
* filters... */
vout_thread_t *p_vout;
p_vout = (vout_thread_t *)vlc_object_find( p_intf, VLC_OBJECT_VOUT,
FIND_ANYWHERE );
if( p_vout )
{
var_SetString( p_vout, "sub-filter", psz_string );
vlc_object_release( p_vout );
}
free( psz_string );
o_config_changed = YES;
}
@end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment