27 #ifndef _PRIORITY_DIALOG_H
28 #define _PRIORITY_DIALOG_H
31 #include <wx/checkbox.h>
32 #include <wx/listctrl.h>
33 #include <wx/radiobut.h>
34 #include <wx/stattext.h>
36 #include <wx/treectrl.h>
44 void OnMoveUpClick(wxCommandEvent& event);
45 void OnMoveDownClick(wxCommandEvent& event);
46 void OnRefreshClick(wxCommandEvent& event);
47 void OnClearClick(wxCommandEvent& event);
48 void OnItemSelected(wxCommandEvent& event);
50 void ProcessMove(wxTreeItemId,
int dir);
53 void AddLeaves(
const std::vector<std::string> &map_list,
54 size_t map_index, std::string map_name,
55 wxTreeItemId leaf_parent);
56 void AdjustSatPriority();
57 void AdjustCOGSOGPriority();
59 wxButton *btnMoveUp, *btnMoveDown;
60 wxButton *btnRefresh, *btnClear;
61 wxTreeCtrl *m_prioTree;
62 std::vector<std::string> m_map;
64 size_t m_selmap_index;
67 int m_maxStringLength;
68 wxString m_max_string;