Revision 62edbcc8c6021789df156749d71229308ba4313a authored by Ronald Burkey on 08 August 2021, 00:25:00 UTC, committed by GitHub on 08 August 2021, 00:25:00 UTC
yaAGCb1: Fixed a few errors identified by SELF-CHECK
2 parent s 1bd6f8f + b8b57e2
Raw File
sterm.h
// -*- C++ -*- generated by wxGlade 0.6.3 on Thu Mar 19 15:10:50 2009
/*
  Copyright 2009 Ronald S. Burkey <info@sandroid.org>
  
  This file is part of yaAGC. 

  yaAGC is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.

  yaAGC is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with yaAGC; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

  Filename:	sterm.h
  Purpose:	Header file for sterm.cpp.
  Reference:	http://www.ibiblio.org/apollo/index.html
  Mode:		2009-03-19 RSB.	Began.
*/

#include <wx/wx.h>
#include <wx/image.h>
// begin wxGlade: ::dependencies
// end wxGlade


#ifndef STERM_H
#define STERM_H


// begin wxGlade: ::extracode
// end wxGlade


class StermFrameClass: public wxFrame {
public:
    // begin wxGlade: StermFrameClass::ids
    // end wxGlade

    StermFrameClass(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE);

    enum { ID_BIGGER, ID_SMALLER, ID_TEXT };
    void FontSize (int Points);
    int Points;

private:
    // begin wxGlade: StermFrameClass::methods
    void set_properties();
    void do_layout();
    // end wxGlade

protected:
    // begin wxGlade: StermFrameClass::attributes
    wxButton* BiggerButton;
    wxButton* SmallerButton;
    wxTextCtrl* TextCtrl;
    // end wxGlade

    DECLARE_EVENT_TABLE();

public:
    virtual void OnBiggerPress(wxCommandEvent &event); // wxGlade: <event_handler>
    virtual void OnSmallerPress(wxCommandEvent &event); // wxGlade: <event_handler>
    virtual void OnTextMaxlen(wxCommandEvent &event); // wxGlade: <event_handler>
    virtual void OnTextEnter(wxCommandEvent &event); // wxGlade: <event_handler>
}; // wxGlade: end class


#endif // STERM_H
back to top