4 * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 class FileFormatByteOrderLOHI;
28 class FileFormatByteOrderHILO;
29 class FileFormatSigned;
30 class FileFormatHeader;
32 class FileFormatChannels;
37 #include "bitspopup.inc"
39 #include "mwindow.inc"
40 #include "mwindowgui.inc"
42 class FileFormat : public BC_Window
45 FileFormat(MWindow *mwindow);
48 void create_objects(Asset *asset, char *string2);
50 void create_objects_(char *string2);
55 FileFormatByteOrderLOHI *lohi;
56 FileFormatByteOrderHILO *hilo;
57 FileFormatSigned *signed_button;
58 FileFormatHeader *header_button;
59 FileFormatRate *rate_button;
60 FileFormatChannels *channels_button;
64 class FileFormatChannels : public BC_TumbleTextBox
67 FileFormatChannels(int x, int y, FileFormat *fwindow, char *text);
74 class FileFormatRate : public BC_TextBox
77 FileFormatRate(int x, int y, FileFormat *fwindow, char *text);
84 class FileFormatHeader : public BC_TextBox
87 FileFormatHeader(int x, int y, FileFormat *fwindow, char *text);
94 class FileFormatByteOrderLOHI : public BC_Radial
97 FileFormatByteOrderLOHI(int x, int y, FileFormat *fwindow, int value);
104 class FileFormatByteOrderHILO : public BC_Radial
107 FileFormatByteOrderHILO(int x, int y, FileFormat *fwindow, int value);
114 class FileFormatSigned : public BC_CheckBox
117 FileFormatSigned(int x, int y, FileFormat *fwindow, int value);