source: trunk/beos/TRPrefsWindow.h @ 1125

Last change on this file since 1125 was 261, checked in by titer, 16 years ago

Updated svn:keywords

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