00001 #ifndef FORMATWINDOW_H
00002 #define FORMATWINDOW_H
00003
00004
00005 class FormatHILO;
00006 class FormatLOHI;
00007
00008
00009
00010
00011 #include "assets.inc"
00012 #include "guicast.h"
00013 #include "bitspopup.h"
00014 #include "compresspopup.h"
00015
00016 class FormatAWindow : public BC_Window
00017 {
00018 public:
00019 FormatAWindow(Asset *asset, int *dither);
00020 ~FormatAWindow();
00021 int create_objects();
00022 int close_event();
00023
00024 Asset *asset;
00025 int *dither;
00026 FormatHILO *hilo_button;
00027 FormatLOHI *lohi_button;
00028 };
00029
00030 class FormatVWindow : public BC_Window
00031 {
00032 public:
00033 FormatVWindow(Asset *asset, int recording);
00034 ~FormatVWindow();
00035 int create_objects();
00036 int close_event();
00037
00038 Asset *asset;
00039 int recording;
00040 };
00041
00042
00043 class FormatCompress : public CompressPopup
00044 {
00045 public:
00046 FormatCompress(int x, int y, int recording, Asset *asset, char *default_);
00047 ~FormatCompress();
00048
00049 int handle_event();
00050 Asset *asset;
00051 };
00052
00053 class FormatQuality : public BC_ISlider
00054 {
00055 public:
00056 FormatQuality(int x, int y, Asset *asset, int default_);
00057 ~FormatQuality();
00058 int handle_event();
00059 Asset *asset;
00060 };
00061
00062 class FormatBits : public BitsPopup
00063 {
00064 public:
00065 FormatBits(int x, int y, Asset *asset);
00066 ~FormatBits();
00067
00068 int handle_event();
00069 Asset *asset;
00070 };
00071
00072 class FormatDither : public BC_CheckBox
00073 {
00074 public:
00075 FormatDither(int x, int y, int *dither);
00076 ~FormatDither();
00077
00078 int handle_event();
00079 int *dither;
00080 };
00081
00082 class FormatSigned : public BC_CheckBox
00083 {
00084 public:
00085 FormatSigned(int x, int y, Asset *asset);
00086 ~FormatSigned();
00087
00088 int handle_event();
00089 Asset *asset;
00090 };
00091
00092 class FormatHILO : public BC_Radial
00093 {
00094 public:
00095 FormatHILO(int x, int y, Asset *asset);
00096 ~FormatHILO();
00097
00098 int handle_event();
00099 FormatLOHI *lohi;
00100 Asset *asset;
00101 };
00102
00103 class FormatLOHI : public BC_Radial
00104 {
00105 public:
00106 FormatLOHI(int x, int y, FormatHILO *hilo, Asset *asset);
00107 ~FormatLOHI();
00108
00109 int handle_event();
00110 FormatHILO *hilo;
00111 Asset *asset;
00112 };
00113
00114
00115
00116 #endif