source: trunk/beos/TRPrefsWindow.h @ 21

Last change on this file since 21 was 14, checked in by root, 16 years ago

Update 2005-12-13

File size: 596 bytes
Line 
1#ifndef TR_PREF_WIND
2#define TR_PREF_WIND
3
4#include <Button.h>
5#include <TextControl.h>
6#include <Slider.h>
7#include <Window.h>
8
9#define TR_PREF_SAVE 'tSve'
10#define TR_PREF_CANCEL 'tCan'
11#define TR_PREF_DEFAULTS 'tDef'
12
13class TRPrefsWindow : public BWindow {
14public:
15        TRPrefsWindow();
16        ~TRPrefsWindow();
17       
18        virtual void MessageReceived(BMessage *msg);
19       
20        virtual void Show();
21private:
22        void ReadPrefs();
23        bool WritePrefs();
24       
25        BTextControl *txtFolder;
26        BTextControl *txtPort;
27        BTextControl *txtUpload;
28       
29        BButton *btnSave;
30        BButton *btnCancel;
31        BButton *btnDefaults;
32};
33
34#endif /* TR_PREF_WIND */
Note: See TracBrowser for help on using the repository browser.