X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fvtimebar.h;h=f17ba6779dd4725aff44874c488aa151cf76a2e4;hp=66193a0bc0c3df4f83266d9ebd9c91410855219a;hb=c279e21fc2394a7908bbd1ba8c79b116fe9fb14a;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd diff --git a/cinelerra-5.1/cinelerra/vtimebar.h b/cinelerra-5.1/cinelerra/vtimebar.h index 66193a0b..f17ba677 100644 --- a/cinelerra-5.1/cinelerra/vtimebar.h +++ b/cinelerra-5.1/cinelerra/vtimebar.h @@ -2,21 +2,21 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams - * + * * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * + * */ #ifndef VTIMEBAR_H @@ -29,11 +29,11 @@ class VTimeBar : public TimeBar { public: - VTimeBar(MWindow *mwindow, + VTimeBar(MWindow *mwindow, VWindowGUI *gui, int x, int y, - int w, + int w, int h); int resize_event(); @@ -44,6 +44,8 @@ public: double pixel_to_position(int pixel); void update_cursor(); int has_preview() { return 1; } + int is_vwindow() { return 1; } + double test_highlight(); VWindowGUI *gui; };