Commit bcdd0102 authored by springob's avatar springob

update

git-svn-id: https://svn.code.sf.net/p/robodude/code/bobdude@33 bbe26285-3967-4f0a-9db1-5cc42c1bf15a
parent 48453306
......@@ -95,23 +95,23 @@ MainFrame::MainFrame(wxWindow* parent,wxWindowID id) {
HtmlWindowFile->SetPage(_("<body bgcolor=\"#039cd6\" text=\"#ffffff\">\n<font size=\"2\">\n<table cellspacing=\"0\" cellpadding=\"0\">\n<tr><td width=\"60\">File:</td><td><b>test1.xhex</b></td></tr>\n<tr><td>Flash:</td><td>12345 bytes</td></tr>\n<tr><td>EEPROM:</td><td>none</td></tr>\n<tr><td>Fuse-Bits:</td><td>HFUSE, LFUSE</td></tr>\n</table>\n</font>"));
HtmlWindowFile->SetMinSize(wxSize(-1,122));
HtmlWindowFile->SetMaxSize(wxSize(-1,122));
BoxSizer2->Add(HtmlWindowFile, 1, wxALL|wxEXPAND|wxFIXED_MINSIZE|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
BoxSizer2->Add(HtmlWindowFile, 1, wxALL|wxEXPAND|wxFIXED_MINSIZE|wxALIGN_LEFT|wxALIGN_TOP, 5);
HtmlWindowPlatform = new HTMLButton(this, ID_HTMLWINDOWPLATFORM, wxDefaultPosition, wxSize(212,122), wxHW_SCROLLBAR_NEVER|wxHW_NO_SELECTION, _T("ID_HTMLWINDOWPLATFORM"));
HtmlWindowPlatform->SetPage(_("<body bgcolor=\"#f2af13\" text=\"#ffffff\">\n<font size=\"2\">\n<table cellspacing=\"0\" cellpadding=\"0\">\n<tr><td width=\"80\">Platform:</td><td><b>niboburger-m16-15</b></td></tr>\n<tr><td>MCU:</td><td>ATmega16A</td></tr>\n<tr><td>Bitclock:</td><td>default</td></tr>\n<tr><td>Programmer:</td><td>usbasp</td></tr>\n<tr><td>Interface:</td><td>usb</td></tr>\n<tr><td>Baudrate:</td><td>none</td></tr>\n</table>\n</font>"));
HtmlWindowPlatform->SetMinSize(wxSize(-1,122));
HtmlWindowPlatform->SetMaxSize(wxSize(-1,122));
BoxSizer2->Add(HtmlWindowPlatform, 1, wxALL|wxEXPAND|wxFIXED_MINSIZE|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
BoxSizer1->Add(BoxSizer2, 0, wxEXPAND|wxFIXED_MINSIZE|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
BoxSizer2->Add(HtmlWindowPlatform, 1, wxALL|wxEXPAND|wxFIXED_MINSIZE|wxALIGN_LEFT|wxALIGN_TOP, 5);
BoxSizer1->Add(BoxSizer2, 0, wxEXPAND|wxFIXED_MINSIZE|wxALIGN_LEFT|wxALIGN_TOP, 5);
BoxSizer4 = new wxBoxSizer(wxVERTICAL);
HtmlWindowProgram = new HTMLButton(this, ID_HTMLWINDOWPROGRAM, wxDefaultPosition, wxSize(433,41), wxHW_SCROLLBAR_NEVER, _T("ID_HTMLWINDOWPROGRAM"));
HtmlWindowProgram->SetPage(_("<body bgcolor=\"#4b9a91\" text=\"#ffffff\">\n<div align=\"center\"><b>Program!</b></div>"));
BoxSizer4->Add(HtmlWindowProgram, 0, wxALL|wxEXPAND|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
BoxSizer4->Add(HtmlWindowProgram, 0, wxALL|wxEXPAND|wxALIGN_LEFT|wxALIGN_TOP, 5);
HtmlWindowLog = new wxHtmlWindow(this, ID_HTMLWINDOWLOG, wxDefaultPosition, wxSize(433,146), wxHW_SCROLLBAR_AUTO, _T("ID_HTMLWINDOWLOG"));
HtmlWindowLog->SetPage(_("<html><body>\n<font size=\"2\">\n"));
BoxSizer4->Add(HtmlWindowLog, 1, wxALL|wxEXPAND|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
BoxSizer1->Add(BoxSizer4, 1, wxALL|wxEXPAND|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 0);
BoxSizer4->Add(HtmlWindowLog, 1, wxALL|wxEXPAND|wxALIGN_LEFT|wxALIGN_TOP, 5);
BoxSizer1->Add(BoxSizer4, 1, wxALL|wxEXPAND|wxALIGN_LEFT|wxALIGN_TOP, 0);
GaugeProgress = new wxGauge(this, ID_GAUGE_PROGRESS, 100, wxDefaultPosition, wxSize(374,16), wxGA_SMOOTH|wxNO_BORDER, wxDefaultValidator, _T("ID_GAUGE_PROGRESS"));
BoxSizer1->Add(GaugeProgress, 0, wxALL|wxEXPAND|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
BoxSizer1->Add(GaugeProgress, 0, wxALL|wxEXPAND|wxALIGN_LEFT|wxALIGN_TOP, 5);
SetSizer(BoxSizer1);
MenuBar1 = new wxMenuBar();
MenuFile = new wxMenu();
......@@ -130,6 +130,7 @@ MainFrame::MainFrame(wxWindow* parent,wxWindowID id) {
MenuBar1->Append(MenuHelp, _("Help"));
SetMenuBar(MenuBar1);
FileDialog1 = new wxFileDialog(this, _("Select file"), wxEmptyString, wxEmptyString, _("All supported files|*.bob3;*.xhex;*.hex;*.srec|BOB3 files (*.bob3)|*.bob3|XHex files (*.xhex)|*.xhex|Intel HEX files (*.hex)|*.hex|Motorla S-record file (*.srec)|*.srec"), wxFD_DEFAULT_STYLE, wxDefaultPosition, wxDefaultSize, _T("wxFileDialog"));
FileDialog1 = new wxFileDialog(this, _("Select file"), wxEmptyString, wxEmptyString, _("All supported files|*.bob3;*.xhex;*.hex;*.srec|BOB3 files (*.bob3)|*.bob3|XHex files (*.xhex)|*.xhex|Intel HEX files (*.hex)|*.hex|Motorla S-record file (*.srec)|*.srec"), wxFD_DEFAULT_STYLE, wxDefaultPosition, wxDefaultSize, _T("wxFileDialog"));
SetSizer(BoxSizer1);
Layout();
Center();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment