NEW:Add search printer for debug

Change-Id: I3d8db835331e1ce4699f02a3571b3978544b8e77
This commit is contained in:
tao.jin 2022-08-19 18:36:57 +08:00 committed by Lane.Wei
parent 4601022aaa
commit fd8caee3db
2 changed files with 40 additions and 0 deletions

View file

@ -22,6 +22,7 @@
#include <wx/spinctrl.h>
#include <wx/artprov.h>
#include <wx/wrapsizer.h>
#include <wx/srchctrl.h>
#include "AmsMappingPopup.hpp"
#include "GUI_Utils.hpp"
@ -197,6 +198,8 @@ private:
wxBoxSizer * m_sizer_body{nullptr};
wxBoxSizer * m_sizer_my_devices{nullptr};
wxBoxSizer * m_sizer_other_devices{nullptr};
wxBoxSizer * m_sizer_search_bar{nullptr};
wxSearchCtrl* m_search_bar{nullptr};
wxScrolledWindow * m_scrolledWindow{nullptr};
wxWindow * m_panel_body{nullptr};
wxTimer * m_refresh_timer{nullptr};
@ -215,6 +218,7 @@ private:
void update_other_devices();
void update_user_devices();
bool search_for_printer(MachineObject* obj);
void on_dissmiss_win(wxCommandEvent &event);
wxWindow *create_title_panel(wxString text);
};