// -*- C++ -*- generated by wxGlade 0.6.3 on Wed Apr  8 12:58:54 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:	jWiz.h
  Purpose:	Helps users to configure joystick parameters.
  Reference:	http://www.ibiblio.org/apollo/index.html
  Mode:		2009-04-08 RSB	Began.
*/


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


#ifndef JWIZ_H
#define JWIZ_H


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


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

    MainFrameClass(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE);
    enum { 
      ID_TESTBUTTON, ID_TEST3BUTTON, ID_SET3BUTTON, ID_FINISHBUTTON,
      ID_DEFAULTBUTTON, ID_DEFAULT3BUTTON, ID_TEST2BUTTON,
      ID_ROLL3AXIS, ID_ROLL3SENSE,
      ID_PITCH3AXIS, ID_PITCH3SENSE,
      ID_YAW3AXIS, ID_YAW3SENSE,
      ID_ROLLSTICK, ID_ROLLAXIS, ID_ROLLFACTOR, ID_ROLLOFFSET,
      ID_PITCHSTICK, ID_PITCHAXIS, ID_PITCHFACTOR, ID_PITCHOFFSET,
      ID_YAWSTICK, ID_YAWAXIS, ID_YAWFACTOR, ID_YAWOFFSET
    };

    void DefaultParameters3 (void);
    void GetParameters3 (int ControllerNumber);
    void DefaultParameters (void);
    void GetParameters (int ControllerNumber);

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

protected:
    // begin wxGlade: MainFrameClass::attributes
    wxStaticBox* sizer_9_copy_staticbox;
    wxStaticBox* sizer_4_copy_copy_staticbox;
    wxStaticBox* sizer_7_copy_2_copy_1_copy_staticbox;
    wxStaticBox* sizer_7_copy_2_copy_copy_staticbox;
    wxStaticBox* sizer_7_copy_2_copy_2_staticbox;
    wxStaticBox* sizer_3_copy_copy_staticbox;
    wxStaticBox* sizer_7_copy_1_copy_staticbox;
    wxStaticBox* sizer_7_copy_copy_staticbox;
    wxStaticBox* sizer_7_copy_3_staticbox;
    wxStaticText* Label1a_copy;
    wxPanel* panel_1_copy_copy_copy_2;
    wxStaticText* Label1b_copy;
    wxStaticBitmap* Checkmark3;
    wxStaticText* label_1_copy_2;
    wxSpinCtrl* Roll3Axis;
    wxRadioBox* Roll3Sense;
    wxStaticText* label_1_copy_copy;
    wxSpinCtrl* Pitch3Axis;
    wxRadioBox* Pitch3Sense;
    wxStaticText* label_1_copy_1_copy;
    wxSpinCtrl* Yaw3Axis;
    wxRadioBox* Yaw3Sense;
    wxButton* Default3Button;
    wxButton* Test3Button;
    wxButton* Set3Button;
    wxPanel* Panel1;
    wxStaticText* Label2a;
    wxPanel* panel_1_copy_copy_copy_copy;
    wxStaticText* Label2b;
    wxStaticBitmap* Checkmark1;
    wxStaticText* RollStickLabel_copy;
    wxSpinCtrl* RollStick;
    wxStaticText* RollAxisLabel_copy;
    wxSpinCtrl* RollAxis;
    wxStaticText* label_1_copy_2_copy_copy_copy_2;
    wxSpinCtrl* RollFactor;
    wxStaticText* label_1_copy_2_copy_copy_1_copy_2;
    wxSpinCtrl* RollOffset;
    wxStaticText* label_1_copy_2_copy_1_copy;
    wxSpinCtrl* PitchStick;
    wxStaticText* label_1_copy_2_copy_copy_2_copy;
    wxSpinCtrl* PitchAxis;
    wxStaticText* label_1_copy_2_copy_copy_copy_copy;
    wxSpinCtrl* PitchFactor;
    wxStaticText* label_1_copy_2_copy_copy_1_copy_copy;
    wxSpinCtrl* PitchOffset;
    wxStaticText* label_1_copy_2_copy_2_copy;
    wxSpinCtrl* YawStick;
    wxStaticText* label_1_copy_2_copy_copy_3_copy;
    wxSpinCtrl* YawAxis;
    wxStaticText* label_1_copy_2_copy_copy_copy_1_copy;
    wxSpinCtrl* YawFactor;
    wxStaticText* label_1_copy_2_copy_copy_1_copy_1_copy;
    wxSpinCtrl* YawOffset;
    wxButton* DefaultButton;
    wxButton* TestButton;
    wxPanel* Panel3;
    wxStaticText* Label3a_copy_copy_copy;
    wxPanel* panel_1_copy_copy_copy_1_copy_copy_copy;
    wxStaticText* Label3b_copy_copy_copy;
    wxStaticBitmap* Checkmark2;
    wxButton* Test2Button;
    wxPanel* Panel2;
    wxStaticText* Label3a_copy;
    wxPanel* panel_1_copy_copy_copy_1_copy;
    wxStaticText* Label3b_copy;
    wxButton* FinishButton;
    wxPanel* panel_3;
    // end wxGlade

    DECLARE_EVENT_TABLE();

public:
    virtual void Test3Clicked(wxCommandEvent &event); // wxGlade: <event_handler>
    virtual void Set3Clicked(wxCommandEvent &event); // wxGlade: <event_handler>
    virtual void TestClicked(wxCommandEvent &event); // wxGlade: <event_handler>
    virtual void Roll3AxisEvent(wxSpinEvent &event); // wxGlade: <event_handler>
    virtual void Roll3SenseEvent(wxCommandEvent &event); // wxGlade: <event_handler>
    virtual void Pitch3AxisEvent(wxSpinEvent &event); // wxGlade: <event_handler>
    virtual void Pitch3SenseEvent(wxCommandEvent &event); // wxGlade: <event_handler>
    virtual void Yaw3AxisEvent(wxSpinEvent &event); // wxGlade: <event_handler>
    virtual void Yaw3SenseEvent(wxCommandEvent &event); // wxGlade: <event_handler>
    virtual void RollStickEvent(wxSpinEvent &event); // wxGlade: <event_handler>
    virtual void RollAxisEvent(wxSpinEvent &event); // wxGlade: <event_handler>
    virtual void RollFactorEvent(wxSpinEvent &event); // wxGlade: <event_handler>
    virtual void RollOffsetEvent(wxSpinEvent &event); // wxGlade: <event_handler>
    virtual void PitchStickEvent(wxSpinEvent &event); // wxGlade: <event_handler>
    virtual void PitchAxisEvent(wxSpinEvent &event); // wxGlade: <event_handler>
    virtual void PitchFactorEvent(wxSpinEvent &event); // wxGlade: <event_handler>
    virtual void PitchOffsetEvent(wxSpinEvent &event); // wxGlade: <event_handler>
    virtual void YawStickEvent(wxSpinEvent &event); // wxGlade: <event_handler>
    virtual void YawAxisEvent(wxSpinEvent &event); // wxGlade: <event_handler>
    virtual void YawFactorEvent(wxSpinEvent &event); // wxGlade: <event_handler>
    virtual void YawOffsetEvent(wxSpinEvent &event); // wxGlade: <event_handler>
    virtual void FinishClicked(wxCommandEvent &event); // wxGlade: <event_handler>
    virtual void Default3Clicked(wxCommandEvent &event); // wxGlade: <event_handler>
    virtual void DefaultClicked(wxCommandEvent &event); // wxGlade: <event_handler>
    virtual void Test2Clicked(wxCommandEvent &event); // wxGlade: <event_handler>
}; // wxGlade: end class


#endif // JWIZ_H
