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>
43 void OnMoveUpClick(wxCommandEvent& event);
44 void OnMoveDownClick(wxCommandEvent& event);
45 void OnRefreshClick(wxCommandEvent& event);
46 void OnClearClick(wxCommandEvent& event);
47 void OnItemSelected(wxCommandEvent& event);
49 void ProcessMove(wxTreeItemId,
int dir);
52 void AddLeaves(
const std::vector<std::string> &map_list,
53 size_t map_index, std::string map_name,
54 wxTreeItemId leaf_parent);
55 void AdjustSatPriority();
56 void AdjustCOGSOGPriority();
58 wxButton *btnMoveUp, *btnMoveDown;
59 wxButton *btnRefresh, *btnClear;
60 wxTreeCtrl *m_prioTree;
61 std::vector<std::string> m_map;
63 size_t m_selmap_index;
66 int m_maxStringLength;