Set missing icons and update titles

This commit is contained in:
Florin9doi 2021-06-17 23:45:44 +03:00 committed by Kojin
parent 8628993fb0
commit 2925f3635f
6 changed files with 7 additions and 3 deletions

View File

@ -240,7 +240,7 @@ END
IDD_CONFIG DIALOGEX 0, 0, 242, 315 IDD_CONFIG DIALOGEX 0, 0, 242, 315
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "GS Settings" CAPTION "Graphical Settings"
FONT 8, "MS Shell Dlg", 400, 0, 0x1 FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN BEGIN
// General Settings: // General Settings:

View File

@ -643,7 +643,7 @@ bool RunLinuxDialog()
/* Create the widgets */ /* Create the widgets */
dialog = gtk_dialog_new_with_buttons( dialog = gtk_dialog_new_with_buttons(
"GS Config", "Graphical Settings",
NULL, /* parent window*/ NULL, /* parent window*/
(GtkDialogFlags)(GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), (GtkDialogFlags)(GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT),
"OK", GTK_RESPONSE_ACCEPT, "OK", GTK_RESPONSE_ACCEPT,

View File

@ -192,7 +192,7 @@ static std::string KeyName(int pad, int key, int keysym)
PADDialog::PADDialog() PADDialog::PADDialog()
: wxDialog(NULL, // Parent : wxDialog(NULL, // Parent
wxID_ANY, // ID wxID_ANY, // ID
_T("GamePad configuration"), // Title _T("GamePad Settings"), // Title
wxDefaultPosition, // Position wxDefaultPosition, // Position
wxSize(DEFAULT_WIDTH, DEFAULT_HEIGHT), // Width + Lenght wxSize(DEFAULT_WIDTH, DEFAULT_HEIGHT), // Width + Lenght
// Style // Style

View File

@ -239,6 +239,7 @@ DisassemblyDialog::DisassemblyDialog(wxWindow* parent) :
topSizer = new wxBoxSizer(wxVERTICAL); topSizer = new wxBoxSizer(wxVERTICAL);
wxPanel* panel = new wxPanel(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL, _("panel")); wxPanel* panel = new wxPanel(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL, _("panel"));
panel->SetSizer(topSizer); panel->SetSizer(topSizer);
SetIcons(wxGetApp().GetIconBundle());
// create top row // create top row
wxBoxSizer* topRowSizer = new wxBoxSizer(wxHORIZONTAL); wxBoxSizer* topRowSizer = new wxBoxSizer(wxHORIZONTAL);

View File

@ -101,6 +101,7 @@ Dialogs::McdConfigDialog::McdConfigDialog( wxWindow* parent )
: BaseConfigurationDialog( parent, _("MemoryCard Manager"), 600 ) : BaseConfigurationDialog( parent, _("MemoryCard Manager"), 600 )
{ {
m_panel_mcdlist = new MemoryCardListPanel_Simple( this ); m_panel_mcdlist = new MemoryCardListPanel_Simple( this );
SetIcons(wxGetApp().GetIconBundle());
wxFlexGridSizer* s_flex=new wxFlexGridSizer(3,1, 0, 0); wxFlexGridSizer* s_flex=new wxFlexGridSizer(3,1, 0, 0);
s_flex->AddGrowableCol(0); s_flex->AddGrowableCol(0);

View File

@ -198,6 +198,7 @@ Dialogs::SysConfigDialog::SysConfigDialog(wxWindow* parent)
CreateListbook( wxGetApp().GetImgList_Config() ); CreateListbook( wxGetApp().GetImgList_Config() );
const AppImageIds::ConfigIds& cfgid( wxGetApp().GetImgId().Config ); const AppImageIds::ConfigIds& cfgid( wxGetApp().GetImgId().Config );
SetIcons(wxGetApp().GetIconBundle());
//NOTE: all pages which are added to SysConfigDialog must be of class BaseApplicableConfigPanel or derived. //NOTE: all pages which are added to SysConfigDialog must be of class BaseApplicableConfigPanel or derived.
// see comment inside UpdateGuiForPreset implementation for more info. // see comment inside UpdateGuiForPreset implementation for more info.
@ -225,6 +226,7 @@ Dialogs::ComponentsConfigDialog::ComponentsConfigDialog(wxWindow* parent)
CreateListbook( wxGetApp().GetImgList_Config() ); CreateListbook( wxGetApp().GetImgList_Config() );
const AppImageIds::ConfigIds& cfgid( wxGetApp().GetImgId().Config ); const AppImageIds::ConfigIds& cfgid( wxGetApp().GetImgId().Config );
SetIcons(wxGetApp().GetIconBundle());
AddPage<BiosSelectorPanel> ( pxL("BIOS"), cfgid.Cpu ); AddPage<BiosSelectorPanel> ( pxL("BIOS"), cfgid.Cpu );
AddPage<StandardPathsPanel> ( pxL("Folders"), cfgid.Paths ); AddPage<StandardPathsPanel> ( pxL("Folders"), cfgid.Paths );