24 #ifndef __DSPORTTYPE_H__
25 #include "model/ds_porttype.h"
28 #ifndef __CONN_PARAMS_PANEL_H__
29 #define __CONN_PARAMS_PANEL_H__
31 #include <wx/wxprec.h>
37 #include "model/conn_params.h"
49 void OnSelected(wxMouseEvent &event);
50 void SetSelected(
bool selected);
51 void OnPaint(wxPaintEvent &event);
52 void OnEraseBackground(wxEraseEvent &event);
53 void CreateControls(
void);
54 void OnEnableCBClick(wxCommandEvent &event);
56 void SetEnableCheckbox(
bool value){ m_cbEnable->SetValue(value); }
58 bool GetSelected() {
return m_bSelected; }
59 int GetUnselectedHeight() {
return m_unselectedHeight; }
65 wxStaticText *m_pName;
67 int m_unselectedHeight;
68 wxCheckBox *m_cbEnable;