aboutsummaryrefslogtreecommitdiff
path: root/src/gui.cpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-12-25 17:58:28 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-12-25 17:58:28 +0100
commit8cc460fd202703646f7c908a4fb2a485b21dc9e1 (patch)
tree572a1519ad528f3772f48ffcdf62e381d2349afc /src/gui.cpp
parentffeacf5c74b1c7fc51c850c1b5f5ea5af8f8d84a (diff)
Improve game list
Diffstat (limited to 'src/gui.cpp')
-rw-r--r--src/gui.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gui.cpp b/src/gui.cpp
index 7172171..db34ebb 100644
--- a/src/gui.cpp
+++ b/src/gui.cpp
@@ -542,6 +542,22 @@ TabBase_TabGames::TabBase_TabGames( wxWindow* parent, wxWindowID id, const wxPoi
separator_1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
main_sizer->Add( separator_1, 0, wxEXPAND | wxALL, 5 );
+ wxBoxSizer* bSizer34;
+ bSizer34 = new wxBoxSizer( wxHORIZONTAL );
+
+ m_staticText28 = new wxStaticText( this, wxID_ANY, wxT("Filter:"), wxDefaultPosition, wxDefaultSize, 0 );
+ m_staticText28->Wrap( -1 );
+ bSizer34->Add( m_staticText28, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+
+ search_terms = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
+ bSizer34->Add( search_terms, 1, wxALL|wxEXPAND, 5 );
+
+ apply_filter_button = new wxButton( this, wxID_ANY, wxT("Apply"), wxDefaultPosition, wxDefaultSize, 0 );
+ bSizer34->Add( apply_filter_button, 0, wxALL, 5 );
+
+
+ main_sizer->Add( bSizer34, 0, wxEXPAND, 5 );
+
game_list = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT );
main_sizer->Add( game_list, 1, wxALL|wxEXPAND, 5 );