https://github.com/jrincayc/ucblogo-code
Revision e21e43605dee2b49f4701fde229cc65c445439b9 authored by Joshua Cogliati on 27 December 2019, 15:07:13 UTC, committed by GitHub on 27 December 2019, 15:07:13 UTC
Release 6.1 Miscellaneous fixes. This updates the version to 6.1, and makes multiple changes. * Updates version to 6.1 * Adds more automatically generated files to .gitignore * Removes README and copyedits README.md * Removes automatically generated html, ps, and info documents from repository (Note that automatically generated PDF was left since otherwise tex is required to create it.) * Switched to using texi2pdf for usermanual since it allows interdocument links and fixes index file generation. * Added ucblogo.iss to use with Inno to generate a windows setup program. * Switched version getting from svn to git. * Updated windows build file.
Tip revision: e21e43605dee2b49f4701fde229cc65c445439b9 authored by Joshua Cogliati on 27 December 2019, 15:07:13 UTC
Merge pull request #19 from jrincayc/pre_release_6_1
Merge pull request #19 from jrincayc/pre_release_6_1
Tip revision: e21e436
LogoFrame.h
#ifndef BASIC_H
#define BASIC_H
#include <wx/wx.h>
#include <wx/evtloop.h>
#include "logo.h"
// This is the Top level Application Class
class LogoApplication : public wxApp
{
public:
virtual bool OnInit();
virtual int OnExit();
virtual int OnRun();
};
// This is the Event Manager for the logo application
// allows us to process events while waiting (single-thread wxLogo)
class LogoEventManager {
public:
LogoEventManager(LogoApplication *logoApp);
void ProcessEvents(int force_yield = 0);
private:
LogoApplication *m_logoApp;
};
// This is the Top level frame for logo
class LogoFrame : public wxFrame
{
public:
LogoFrame( const wxChar *title,
int xpos=50, int ypos=50,
int width=900, int height=500);
void AdjustSize();
void SetUpEditMenu();
void SetUpMenu();
void OnPrintText(wxCommandEvent&);
void OnPrintTextPrev(wxCommandEvent&);
void OnSelectFont(wxCommandEvent&);
void OnIncreaseFont(wxCommandEvent&);
void OnDecreaseFont(wxCommandEvent&);
private:
void OnQuit(wxCommandEvent& WXUNUSED(event));
void OnSave(wxCommandEvent& WXUNUSED(event));
void OnSaveAs(wxCommandEvent& WXUNUSED(event));
void OnLoad(wxCommandEvent& WXUNUSED(event));
void OnTurtlePrintPreview(wxCommandEvent& WXUNUSED(event));
void DoStop(wxCommandEvent& WXUNUSED(event));
void DoPause(wxCommandEvent& WXUNUSED(event));
void DoPaste(wxCommandEvent&);
void DoCopy(wxCommandEvent&);
void OnPrintTurtle(wxCommandEvent&);
void OnEditCloseAccept(wxCommandEvent& WXUNUSED(event));
void OnEditCloseReject(wxCommandEvent& WXUNUSED(event));
void OnEditPrint(wxCommandEvent& WXUNUSED(event));
void OnEditCopy(wxCommandEvent& WXUNUSED(event));
void OnEditCut(wxCommandEvent& WXUNUSED(event));
void OnEditFind(wxCommandEvent& WXUNUSED(event));
void OnEditFindNext(wxCommandEvent& WXUNUSED(event));
void OnEditPaste(wxCommandEvent& WXUNUSED(event));
void OnEditSave(wxCommandEvent& WXUNUSED(event));
void OnEditLoad(wxCommandEvent& WXUNUSED(event));
void OnCloseWindow(wxCloseEvent& event);
DECLARE_EVENT_TABLE()
};
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...