Add README and Edit menu
This commit is contained in:
parent
7ee0143418
commit
cf8ac43354
14
README.md
Normal file
14
README.md
Normal 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
|
@ -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__
|
||||||
|
Loading…
Reference in New Issue
Block a user