From f841b52d7260d3e802475570963c55da5976270a Mon Sep 17 00:00:00 2001 From: Rodrigo Braz Monteiro Date: Mon, 9 Apr 2007 04:28:16 +0000 Subject: [PATCH] Removed more dead code. Originally committed to SVN as r1040. --- aegisub/frame_main.cpp | 1 - aegisub/frame_main_events.cpp | 1 - aegisub/video_box.cpp | 1 - aegisub/video_zoom.h | 64 ----------------------------------- 4 files changed, 67 deletions(-) delete mode 100644 aegisub/video_zoom.h diff --git a/aegisub/frame_main.cpp b/aegisub/frame_main.cpp index dc6507d50..d60f6ddc9 100644 --- a/aegisub/frame_main.cpp +++ b/aegisub/frame_main.cpp @@ -48,7 +48,6 @@ #include "video_display.h" #include "video_provider.h" #include "video_slider.h" -#include "video_zoom.h" #include "ass_file.h" #include "dialog_search_replace.h" #include "vfr.h" diff --git a/aegisub/frame_main_events.cpp b/aegisub/frame_main_events.cpp index b496f898f..3a96ca9fc 100644 --- a/aegisub/frame_main_events.cpp +++ b/aegisub/frame_main_events.cpp @@ -46,7 +46,6 @@ #include "frame_main.h" #include "video_display.h" #include "video_slider.h" -#include "video_zoom.h" #include "video_box.h" #include "ass_file.h" #include "ass_dialogue.h" diff --git a/aegisub/video_box.cpp b/aegisub/video_box.cpp index 4833ef087..ed9c44bf8 100644 --- a/aegisub/video_box.cpp +++ b/aegisub/video_box.cpp @@ -45,7 +45,6 @@ #include "video_display.h" #include "video_display_visual.h" #include "video_display_fextracker.h" -#include "video_zoom.h" #include "video_slider.h" #include "frame_main.h" #include "toggle_bitmap.h" diff --git a/aegisub/video_zoom.h b/aegisub/video_zoom.h deleted file mode 100644 index da506faa7..000000000 --- a/aegisub/video_zoom.h +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright (c) 2005, Rodrigo Braz Monteiro -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// * Redistributions of source code must retain the above copyright notice, -// this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// * Neither the name of the Aegisub Group nor the names of its contributors -// may be used to endorse or promote products derived from this software -// without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -// POSSIBILITY OF SUCH DAMAGE. -// -// ----------------------------------------------------------------------------- -// -// AEGISUB -// -// Website: http://aegisub.cellosoft.com -// Contact: mailto:zeratul@cellosoft.com -// - - -#ifndef VIDEO_ZOOM_H -#define VIDEO_ZOOM_H - - -//////////// -// Includes -#include - - -//////////////////// -// Class prototypes -class VideoDisplay; - - -///////////////////// -// Class declaration -class VideoZoomSlider: public wxSlider { -public: - VideoDisplay *Display; - - VideoZoomSlider(wxWindow* parent, wxWindowID id, int value , int minValue, int maxValue, const wxPoint& point = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxSL_HORIZONTAL, const wxValidator& validator = wxDefaultValidator, const wxString& name = _T("VideoSlider")); - - void OnChangePosition(wxScrollEvent &event); - DECLARE_EVENT_TABLE() -}; - - -#endif