Add README and Edit menu

This commit is contained in:
Timothy Warren 2015-03-30 16:38:52 -04:00
parent 7ee0143418
commit cf8ac43354
2 changed files with 18 additions and 1 deletions

14
README.md Normal file
View File

@ -0,0 +1,14 @@
#Tyro
A Cross-platform Code Editor
### Planned Features
* Syntax Highlighting
* Line Numbers
* Custom Syntax themes
* SFTP editing
### Building
* Make sure wxWidgets is installed, version 2.8 or 3
* Open the Code::Blocks project and compile

View File

@ -53,12 +53,15 @@ TyroFrame::TyroFrame(wxFrame *frame, const wxString& title)
// create a menu bar // create a menu bar
wxMenuBar* mbar = new wxMenuBar(); wxMenuBar* mbar = new wxMenuBar();
wxMenu* fileMenu = new wxMenu(_T("")); wxMenu* fileMenu = new wxMenu(_T(""));
wxMenu* editMenu = new wxMenu(_T(""));
fileMenu->Append(wxID_EXIT, _("&Quit\tAlt-F4"), _("Quit the application")); fileMenu->Append(wxID_EXIT, _("&Quit\tAlt-F4"), _("Quit the application"));
mbar->Append(fileMenu, _("&File")); mbar->Append(fileMenu, _("&File"));
wxMenu* helpMenu = new wxMenu(_T("")); wxMenu* helpMenu = new wxMenu(_T(""));
helpMenu->Append(wxID_ABOUT, _("&About\tF1"), _("Show info about this application")); helpMenu->Append(wxID_ABOUT, _("&About\tF1"), _("Show info about this application"));
mbar->Append(editMenu, _("&Edit"));
mbar->Append(helpMenu, _("&Help")); mbar->Append(helpMenu, _("&Help"));
#ifdef __WXMAC__ #ifdef __WXMAC__