From e0a1894928abb8361f959a147066e94e2cda996b Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sat, 26 Feb 2022 12:30:07 +0100 Subject: Improve database game import --- tools/wxframebuilder/AppendGameDialog.fbp | 358 ++++++++++++++++++++++++++++++ tools/wxframebuilder/BasePanel.fbp | 141 +----------- 2 files changed, 366 insertions(+), 133 deletions(-) create mode 100644 tools/wxframebuilder/AppendGameDialog.fbp (limited to 'tools') diff --git a/tools/wxframebuilder/AppendGameDialog.fbp b/tools/wxframebuilder/AppendGameDialog.fbp new file mode 100644 index 0000000..0b65ea8 --- /dev/null +++ b/tools/wxframebuilder/AppendGameDialog.fbp @@ -0,0 +1,358 @@ + + + + + ; + C++ + 1 + source_name + 0 + 0 + res + UTF-8 + connect + AppendGameDialogBF + 1000 + none + + + 0 + AppendGameDialogBF + + ../../src/base_tab + + 1 + 1 + 1 + 1 + UI + 0 + 0 + 0 + + 0 + wxAUI_MGR_DEFAULT + + wxBOTH + + 1 + 1 + impl_virtual + + + + 0 + wxID_ANY + + + AppendGameDialogBF + + 388,263 + wxDEFAULT_DIALOG_STYLE + ; ; forward_declare + + + 0 + + + + + + main_sizer + wxVERTICAL + none + + 5 + wxALL|wxEXPAND + 0 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + Please select games to import: + 0 + + 0 + + + 0 + + 1 + main_label + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + + + -1 + + + + 5 + wxALL|wxEXPAND + 1 + + 1 + 1 + 1 + 1 + + + + + + + + 1 + 0 + + 1 + + 1 + 0 + Dock + 0 + Left + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + game_list + 1 + + + protected + 1 + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + 5 + wxEXPAND + 0 + + + bSizer5 + wxHORIZONTAL + none + + 5 + wxEXPAND + 1 + + 0 + protected + 0 + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + 0 + + + + + 1 + 0 + 1 + + 1 + + 0 + 0 + + Dock + 0 + Left + 1 + + 1 + + + 0 + 0 + ID_DIALOG_CANCEL_BUTTON + Cancel + + 0 + + 0 + + + 0 + + 1 + cancel_button + 1 + + + protected + 1 + + + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + 5 + wxALL + 0 + + 1 + 1 + 1 + 1 + + + + + 0 + + + + + 1 + 0 + 1 + + 1 + + 0 + 0 + + Dock + 0 + Left + 1 + + 1 + + + 0 + 0 + ID_DIALOG_IMPORT_BUTTON + Import + + 0 + + 0 + + + 0 + + 1 + import_button + 1 + + + protected + 1 + + + + Resizable + 1 + + + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + + + + + + + + + + + diff --git a/tools/wxframebuilder/BasePanel.fbp b/tools/wxframebuilder/BasePanel.fbp index c7ab989..ae395ef 100644 --- a/tools/wxframebuilder/BasePanel.fbp +++ b/tools/wxframebuilder/BasePanel.fbp @@ -344,127 +344,12 @@ none 5 - wxALIGN_CENTER_VERTICAL|wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - Import games from: - 0 - - 0 - - - 0 - - 1 - append_choice_label - 1 - - - protected - 1 - - Resizable - 1 - - - ; ; forward_declare - 0 - - - - - -1 - - - - 5 - wxALIGN_CENTER_VERTICAL|wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - append_choice - 1 - - + wxEXPAND + 1 + + 0 protected - 1 - - Resizable - 0 - 1 - - - ; ; forward_declare - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - + 0 @@ -504,8 +389,8 @@ 0 0 - wxID_ANY - Append + ID_IMPORT_BUTTON + Import games 0 @@ -515,7 +400,7 @@ 0 1 - append_button + import_button 1 @@ -540,16 +425,6 @@ - - 5 - wxEXPAND - 1 - - 0 - protected - 0 - - 5 wxALL -- cgit v1.2.3