Last change
on this file since 260 was
260,
checked in by titer, 16 years ago
|
Added $Id$ keywords and updated a few headers
|
File size:
606 bytes
|
Line | |
---|
1 | // $Id$ |
---|
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 | |
---|
15 | class TRPrefsWindow : public BWindow { |
---|
16 | public: |
---|
17 | TRPrefsWindow(); |
---|
18 | ~TRPrefsWindow(); |
---|
19 | |
---|
20 | virtual void MessageReceived(BMessage *msg); |
---|
21 | |
---|
22 | virtual void Show(); |
---|
23 | private: |
---|
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.