Permalink
Browse files

Add an explanation text in AndroidExportDialog and update translation…

… sources
1 parent 0d34568 commit 51a6c935d9f8b08e433976e9449d915e6650ed14 @4ian committed Apr 14, 2016
@@ -158,12 +158,21 @@ AndroidExportDialogBase::AndroidExportDialogBase(wxWindow* parent, wxWindowID id
flexGridSizer53->Add(m_staticText55, 0, wxALL, 5);
- m_hyperLink57 = new wxHyperlinkCtrl(this, wxID_ANY, _("How to compile your game exported files."), wxT(""), wxDefaultPosition, wxSize(-1,-1), wxHL_DEFAULT_STYLE);
+ wxStaticBoxSizer* staticBoxSizer83 = new wxStaticBoxSizer( new wxStaticBox(this, wxID_ANY, _("Note")), wxVERTICAL);
+
+ flexGridSizer53->Add(staticBoxSizer83, 1, wxALL|wxEXPAND, 5);
+
+ m_staticText85 = new wxStaticText(this, wxID_ANY, _("This exporter is experimental and requires you to use advanced tools to compile the game for Android. Read this article for more information:"), wxDefaultPosition, wxSize(-1,-1), 0);
+ m_staticText85->Wrap(450);
+
+ staticBoxSizer83->Add(m_staticText85, 0, wxALL, 5);
+
+ m_hyperLink57 = new wxHyperlinkCtrl(this, wxID_ANY, _("How to compile your game exported files"), wxT(""), wxDefaultPosition, wxSize(-1,-1), wxHL_DEFAULT_STYLE);
m_hyperLink57->SetNormalColour(wxColour(wxT("#0000FF")));
m_hyperLink57->SetHoverColour(wxColour(wxT("#0000FF")));
m_hyperLink57->SetVisitedColour(wxColour(wxT("#FF0000")));
- flexGridSizer53->Add(m_hyperLink57, 0, wxALL, 5);
+ staticBoxSizer83->Add(m_hyperLink57, 0, wxALL, 5);
m_staticLine59 = new wxStaticLine(this, wxID_ANY, wxDefaultPosition, wxSize(-1,-1), wxLI_HORIZONTAL);
@@ -212,7 +221,7 @@ AndroidExportDialogBase::AndroidExportDialogBase(wxWindow* parent, wxWindowID id
m_stdBtnSizer71->Realize();
SetName(wxT("AndroidExportDialogBase"));
- SetSize(-1,300);
+ SetSize(-1,-1);
if (GetSizer()) {
GetSizer()->Fit(this);
}
@@ -28,6 +28,7 @@
#include <wx/bmpbuttn.h>
#include <wx/dialog.h>
#include <wx/iconbndl.h>
+#include <wx/statbox.h>
#include <wx/hyperlink.h>
#include <wx/statline.h>
#include <wx/textctrl.h>
@@ -90,6 +91,7 @@ class AndroidExportDialogBase : public wxDialog
{
protected:
wxStaticText* m_staticText55;
+ wxStaticText* m_staticText85;
wxHyperlinkCtrl* m_hyperLink57;
wxStaticLine* m_staticLine59;
wxStaticText* m_staticText61;
@@ -105,12 +107,13 @@ class AndroidExportDialogBase : public wxDialog
public:
wxStaticText* GetStaticText55() { return m_staticText55; }
+ wxStaticText* GetStaticText85() { return m_staticText85; }
wxHyperlinkCtrl* GetHyperLink57() { return m_hyperLink57; }
wxStaticLine* GetStaticLine59() { return m_staticLine59; }
wxStaticText* GetStaticText61() { return m_staticText61; }
wxTextCtrl* GetExportFolderTextCtrl() { return m_exportFolderTextCtrl; }
wxButton* GetBrowserButton() { return m_browserButton; }
- AndroidExportDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Export to native Android"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,300), long style = wxDEFAULT_DIALOG_STYLE);
+ AndroidExportDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Export to native Android"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
virtual ~AndroidExportDialogBase();
};
Oops, something went wrong.

0 comments on commit 51a6c93

Please sign in to comment.