1 #ifndef __SRC_TPEDITWINDOW_H_
2 #define __SRC_TPEDITWINDOW_H_
4 #include <lib/gui/listbox.h>
10 class eTextInputField
;
12 class eTransponderWidget
;
15 class eListBoxEntryTransponder
: public eListBoxEntry
17 friend class eListBox
<eListBoxEntryTransponder
>;
19 const eString
&redraw(gPainter
*, const eRect
&, gColor
, gColor
, gColor
, gColor
, int);
22 bool operator < ( const eListBoxEntry
& e
)const;
23 static int getEntryHeight();
24 eListBoxEntryTransponder( eListBox
<eListBoxEntryTransponder
>*, eTransponder
* );
25 eTransponder
*getTransponder() { return tp
; }
28 class eTransponderEditWindow
: public eWindow
30 eListBox
<eListBoxEntryText
> *satellites
;
31 eListBox
<eListBoxEntryTransponder
> *transponders
;
32 eButton
*sat
, *add
, *edit
, *remove
;
35 eTransponderEditWindow();
36 ~eTransponderEditWindow();
37 void satSelChanged( eListBoxEntryText
* );
42 void focusChanged( const eWidget
* w
);
45 int eventHandler( const eWidgetEvent
& e
);
48 class eTPEditDialog
: public eWindow
50 eTransponderWidget
*tpWidget
;
55 eTPEditDialog( eTransponder
*tp
);
58 class eSatEditDialog
: public eWindow
60 eTextInputField
*name
;
62 eCheckbox
*useBAT
, *useONIT
, *doNetworkSearch
;
69 eSatEditDialog( tpPacket
*tp
);
72 #endif // __SRC_TPEDITWINDOW_H_