/* * 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 FORMATWINDOW_H #define FORMATWINDOW_H class FormatHILO; class FormatLOHI; // Gets the parameters for all the built-in compression formats. #include "assets.inc" #include "guicast.h" #include "bitspopup.h" #include "compresspopup.h" class FormatAWindow : public BC_Window { public: FormatAWindow(Asset *asset, int *dither); ~FormatAWindow(); void create_objects(); int close_event(); Asset *asset; int *dither; FormatHILO *hilo_button; FormatLOHI *lohi_button; }; class FormatVWindow : public BC_Window { public: FormatVWindow(Asset *asset, int recording); ~FormatVWindow(); void create_objects(); int close_event(); Asset *asset; int recording; }; class FormatQuality : public BC_ISlider { public: FormatQuality(int x, int y, Asset *asset, int default_); ~FormatQuality(); int handle_event(); Asset *asset; }; class FormatBits : public BitsPopup { public: FormatBits(int x, int y, Asset *asset); ~FormatBits(); int handle_event(); Asset *asset; }; class FormatDither : public BC_CheckBox { public: FormatDither(int x, int y, int *dither); ~FormatDither(); int handle_event(); int *dither; }; class FormatSigned : public BC_CheckBox { public: FormatSigned(int x, int y, Asset *asset); ~FormatSigned(); int handle_event(); Asset *asset; }; class FormatHILO : public BC_Radial { public: FormatHILO(int x, int y, Asset *asset); ~FormatHILO(); int handle_event(); FormatLOHI *lohi; Asset *asset; }; class FormatLOHI : public BC_Radial { public: FormatLOHI(int x, int y, FormatHILO *hilo, Asset *asset); ~FormatLOHI(); int handle_event(); FormatHILO *hilo; Asset *asset; }; #endif