00001 #ifndef FILEFORMAT_H
00002 #define FILEFORMAT_H
00003
00004 #include "guicast.h"
00005
00006 class FileFormatByteOrderLOHI;
00007 class FileFormatByteOrderHILO;
00008 class FileFormatSigned;
00009 class FileFormatHeader;
00010 class FileFormatRate;
00011 class FileFormatChannels;
00012 class FileFormatBits;
00013
00014 #include "asset.inc"
00015 #include "assets.inc"
00016 #include "bitspopup.inc"
00017 #include "file.inc"
00018 #include "mwindow.inc"
00019 #include "mwindowgui.inc"
00020
00021 class FileFormat : public BC_Window
00022 {
00023 public:
00024 FileFormat(MWindow *mwindow);
00025 ~FileFormat();
00026
00027 int create_objects(Asset *asset, char *string2);
00028
00029 int create_objects_(char *string2);
00030
00031 Asset *asset;
00032
00033 BitsPopup *bitspopup;
00034 FileFormatByteOrderLOHI *lohi;
00035 FileFormatByteOrderHILO *hilo;
00036 FileFormatSigned *signed_button;
00037 FileFormatHeader *header_button;
00038 FileFormatRate *rate_button;
00039 FileFormatChannels *channels_button;
00040 MWindow *mwindow;
00041 };
00042
00043 class FileFormatChannels : public BC_TumbleTextBox
00044 {
00045 public:
00046 FileFormatChannels(int x, int y, FileFormat *fwindow, char *text);
00047
00048 int handle_event();
00049
00050 FileFormat *fwindow;
00051 };
00052
00053 class FileFormatRate : public BC_TextBox
00054 {
00055 public:
00056 FileFormatRate(int x, int y, FileFormat *fwindow, char *text);
00057
00058 int handle_event();
00059
00060 FileFormat *fwindow;
00061 };
00062
00063 class FileFormatHeader : public BC_TextBox
00064 {
00065 public:
00066 FileFormatHeader(int x, int y, FileFormat *fwindow, char *text);
00067
00068 int handle_event();
00069
00070 FileFormat *fwindow;
00071 };
00072
00073 class FileFormatByteOrderLOHI : public BC_Radial
00074 {
00075 public:
00076 FileFormatByteOrderLOHI(int x, int y, FileFormat *fwindow, int value);
00077
00078 int handle_event();
00079
00080 FileFormat *fwindow;
00081 };
00082
00083 class FileFormatByteOrderHILO : public BC_Radial
00084 {
00085 public:
00086 FileFormatByteOrderHILO(int x, int y, FileFormat *fwindow, int value);
00087
00088 int handle_event();
00089
00090 FileFormat *fwindow;
00091 };
00092
00093 class FileFormatSigned : public BC_CheckBox
00094 {
00095 public:
00096 FileFormatSigned(int x, int y, FileFormat *fwindow, int value);
00097
00098 int handle_event();
00099
00100 FileFormat *fwindow;
00101 };
00102
00103 #endif
00104