From e5497a45ceddcdddb067232cc4315dc7e87d5cd1 Mon Sep 17 00:00:00 2001 From: Matthew Wilber Date: Mon, 7 Oct 2002 00:02:06 +0000 Subject: [PATCH] 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 --- src/add-ons/translators/tgatranslator/TGAView.h | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/add-ons/translators/tgatranslator/TGAView.h b/src/add-ons/translators/tgatranslator/TGAView.h index 32fbc42bbb..4972250b78 100644 --- a/src/add-ons/translators/tgatranslator/TGAView.h +++ b/src/add-ons/translators/tgatranslator/TGAView.h @@ -30,20 +30,29 @@ #define TGAVIEW_H #include -#include -#include +#include +#include "TGATranslatorSettings.h" class TGAView : public BView { public: TGAView(const BRect &frame, const char *name, uint32 resize, - uint32 flags); + uint32 flags, TGATranslatorSettings *psettings); // sets up the view ~TGAView(); - // does nothing + // releases the TGATranslator settings + + virtual void AllAttached(); + virtual void MessageReceived(BMessage *message); virtual void Draw(BRect area); // draws information about the TGATranslator + + enum { CHANGE_RLE }; +private: + BCheckBox *fpchkRLE; + + TGATranslatorSettings *fpsettings; }; #endif // #ifndef TGAVIEW_H