X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fresourcepixmap.h;h=99e43f35438ed60048e680520fedf414cb060daf;hb=3ac8199743f244669cc87ceef9c3cd23710552f3;hp=7b3d67f89f705465ac6180520f827304d73d2753;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/resourcepixmap.h b/cinelerra-5.1/cinelerra/resourcepixmap.h index 7b3d67f8..99e43f35 100644 --- a/cinelerra-5.1/cinelerra/resourcepixmap.h +++ b/cinelerra-5.1/cinelerra/resourcepixmap.h @@ -2,21 +2,21 @@ /* * CINELERRA * Copyright (C) 1997-2014 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 RESOURCEPIXMAP_H @@ -34,11 +34,11 @@ class ResourcePixmap : public BC_Pixmap { public: - ResourcePixmap(MWindow *mwindow, - MWindowGUI *gui, - Edit *edit, + ResourcePixmap(MWindow *mwindow, + MWindowGUI *gui, + Edit *edit, int pane_number, - int w, + int w, int h); ~ResourcePixmap(); @@ -46,28 +46,28 @@ public: void draw_data(TrackCanvas *canvas, Edit *edit, int64_t edit_x, - int64_t edit_w, - int64_t pixmap_x, + int64_t edit_w, + int64_t pixmap_x, int64_t pixmap_w, int64_t pixmap_h, int mode, int indexes_only); void draw_audio_resource(TrackCanvas *canvas, - Edit *edit, - int x, + Edit *edit, + int x, int w); void draw_video_resource(TrackCanvas *canvas, - Edit *edit, - int64_t edit_x, - int64_t edit_w, + Edit *edit, + int64_t edit_x, + int64_t edit_w, int64_t pixmap_x, int64_t pixmap_w, - int refresh_x, + int refresh_x, int refresh_w, int mode); void draw_audio_source(TrackCanvas *canvas, - Edit *edit, - int x, + Edit *edit, + int x, int w); void draw_subttl_resource(TrackCanvas *canvas, Edit *edit, @@ -75,14 +75,14 @@ public: int w); // Called by ResourceThread to update pixmap void draw_wave(TrackCanvas *canvas, - int x, - double high, + int x, + double high, double low); void draw_title(TrackCanvas *canvas, - Edit *edit, - int64_t edit_x, - int64_t edit_w, - int64_t pixmap_x, + Edit *edit, + int64_t edit_x, + int64_t edit_w, + int64_t pixmap_x, int64_t pixmap_w); void reset(); // Change to hourglass if timer expired