DolphinWX: Add ability to filter symbols (by name)

This allows the user to filter symbols by name, instead of having to
scroll through a very, very long listbox…
This commit is contained in:
Léo Lam
2016-12-04 14:47:08 +01:00
parent 827de2ed06
commit 59abfee11d
3 changed files with 32 additions and 8 deletions

View File

@ -28,6 +28,7 @@ class DolphinAuiToolBar;
class wxListBox;
class wxMenu;
class wxMenuBar;
class wxSearchCtrl;
class wxToolBar;
namespace Details
@ -132,6 +133,7 @@ private:
void OnCodeStep(wxCommandEvent& event);
void OnAddrBoxChange(wxCommandEvent& event);
void OnSymbolFilterText(wxCommandEvent& event);
void OnSymbolsMenu(wxCommandEvent& event);
void OnJitMenu(wxCommandEvent& event);
void OnProfilerMenu(wxCommandEvent& event);
@ -153,6 +155,8 @@ private:
void UpdateLists();
void UpdateCallstack();
void ReloadSymbolListBox();
wxPanel* CreateSiblingPanel(int id);
// Sibling debugger panels
@ -161,6 +165,7 @@ private:
CFrame* Parent;
CCodeView* codeview;
wxSearchCtrl* m_symbol_filter_ctrl;
wxListBox* callstack;
wxListBox* symbols;
wxListBox* callers;