added a checkbox for turning on/off save as RLE, saves TGA Translator settings to a file

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1426 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Matthew Wilber 2002-10-07 00:02:06 +00:00
parent 34bec321e8
commit e5497a45ce

View File

@ -30,20 +30,29 @@
#define TGAVIEW_H #define TGAVIEW_H
#include <View.h> #include <View.h>
#include <MenuField.h> #include <CheckBox.h>
#include <MenuItem.h> #include "TGATranslatorSettings.h"
class TGAView : public BView { class TGAView : public BView {
public: public:
TGAView(const BRect &frame, const char *name, uint32 resize, TGAView(const BRect &frame, const char *name, uint32 resize,
uint32 flags); uint32 flags, TGATranslatorSettings *psettings);
// sets up the view // sets up the view
~TGAView(); ~TGAView();
// does nothing // releases the TGATranslator settings
virtual void AllAttached();
virtual void MessageReceived(BMessage *message);
virtual void Draw(BRect area); virtual void Draw(BRect area);
// draws information about the TGATranslator // draws information about the TGATranslator
enum { CHANGE_RLE };
private:
BCheckBox *fpchkRLE;
TGATranslatorSettings *fpsettings;
}; };
#endif // #ifndef TGAVIEW_H #endif // #ifndef TGAVIEW_H