/**********************************************************************/
/*                                                                    */
/* File name: Advanced.h                                              */
/*                                                                    */
/* Since:     2002/12/03                                              */
/*                                                                    */
/* Version:   1.0                                                     */
/*                                                                    */
/* Author:    MONTAGNE Xavier [XM] {link xavier.montagne@wanadoo.fr}  */
/*                                                                    */
/* Purpose: Manage the Advanced Window to program easily the          */
/*          the configuration of the LPT port.                        */
/*                                                                    */
/* Distribution: This file is part of PP18.                           */
/*               PP18 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, or (at your option)    */
/*               any later version.                                   */
/*                                                                    */
/*               PP18 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 PP18; see the file         */
/*               COPYING.txt. If not, write to the Free Software      */
/*               Foundation, 59 Temple Place - Suite 330,             */
/*               Boston, MA 02111-1307, USA.                          */
/*                                                                    */
/* History:                                                           */
/*      2002/12/03  [XM] Create this file                             */
/*                                                                    */
/**********************************************************************/

#ifndef __Advanced_H__
#define __Advanced_H__

/***********************************************************************
 * INCLUDES
 **********************************************************************/
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include <ComCtrls.hpp>

/***********************************************************************
 * TAdvancedWindow object definition.
 **********************************************************************/
class TAdvancedWindow : public TForm
{
__published:
    TButton *Button1;
    TPanel *Panel1;
    TImage *Image1;
    TBitBtn *ButtonCancel;
    TBitBtn *ButtonOK;
    TStaticText *StaticText1;
    TStaticText *StaticText2;
    TStaticText *StaticText3;
    TStaticText *StaticText4;
    TStaticText *StaticText5;
    TComboBox *ComboBox_CLOCK;
    TGroupBox *GroupBox1;
    TBevel *Bevel1;
    TTrackBar *TrackBar_IO;
    TStaticText *StaticText6;
    TStaticText *StaticText7;
    TStaticText *StaticText8;
    TStaticText *StaticText9;
    TComboBox *ComboBox_DataFromPIC;
    TComboBox *ComboBox_DataToPIC;
    TComboBox *ComboBox_VPP;
    TComboBox *ComboBox_VCC;
    TEdit *AdrOutBox;
    TLabel *Label1;
    TStaticText *StaticText10;
    TBevel *Bevel2;
    TStaticText *StaticText11;
    TStaticText *StaticText12;
    TStaticText *StaticText13;
    TTrackBar *TrackBar_Prog;
    TBitBtn *AutoButton;
    void __fastcall ButtonOKClick(TObject *Sender);
    void __fastcall ButtonCancelClick(TObject *Sender);
    void __fastcall FormShow(TObject *Sender);
    void __fastcall TrackBar_IOChange(TObject *Sender);

    void __fastcall TrackBar_ProgChange(TObject *Sender);
    void __fastcall AutoButtonClick(TObject *Sender);
private:
public:
    __fastcall TAdvancedWindow(TComponent* Owner);
};

extern PACKAGE TAdvancedWindow *AdvancedWindow;

#endif  /* __Advanced_H__ */
