File "Settings.h"
Full Path: /home/analogde/www/VirtualKeyboardSample/PIC18F452/Settings.h
File size: 5.38 KB
MIME-type: text/x-c++
Charset: utf-8
/**********************************************************************/
/* */
/* File name: Settings.h */
/* */
/* Since: 2002/12/03 */
/* */
/* Version: 1.0 */
/* */
/* Author: MONTAGNE Xavier [XM] {link xavier.montagne@wanadoo.fr} */
/* */
/* Purpose: Manage the Settings Window to program easily the */
/* the configuration of the programmer. */
/* */
/* 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 __Settings_H__
#define __Settings_H__
/***********************************************************************
* INCLUDES
**********************************************************************/
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Buttons.hpp>
/***********************************************************************
* TSettingsWindow object definition.
**********************************************************************/
class TSettingsWindow : public TForm
{
__published:
TButton *Button1;
TButton *ButtonAdv;
TPanel *Panel1;
TImage *Image1;
TStaticText *StaticText1;
TStaticText *StaticText2;
TStaticText *StaticText3;
TStaticText *StaticText4;
TStaticText *StaticText5;
TPanel *Panel2;
TPanel *Panel3;
TBitBtn *ButtonOK;
TBitBtn *ButtonCancel;
TPanel *Panel4;
TPanel *Panel5;
TPanel *Panel6;
TSpeedButton *SB_CLOCK;
TSpeedButton *SB_DataToPIC;
TSpeedButton *SB_VPP;
TSpeedButton *SB_VCC;
TPanel *Panel7;
TRadioButton *RB_CLOCK_Inv;
TRadioButton *RB_CLOCK_NInv;
TPanel *Panel8;
TRadioButton *RB_DataToPIC_Inv;
TRadioButton *RB_DataToPIC_NInv;
TPanel *Panel9;
TRadioButton *RB_DataFromPIC_Inv;
TRadioButton *RB_DataFromPIC_NInv;
TPanel *Panel10;
TRadioButton *RB_VPP_Inv;
TRadioButton *RB_VPP_NInv;
TPanel *Panel11;
TRadioButton *RB_VCC_Inv;
TRadioButton *RB_VCC_NInv;
TImage *Im_DataFromPIC_OFF;
TImage *Im_DataFromPIC_ON;
void __fastcall ButtonOKClick(TObject *Sender);
void __fastcall ButtonCancelClick(TObject *Sender);
void __fastcall SB_CLOCKClick(TObject *Sender);
void __fastcall SB_DataToPICClick(TObject *Sender);
void __fastcall SB_VPPClick(TObject *Sender);
void __fastcall SB_VCCClick(TObject *Sender);
void __fastcall RB_CLOCK_InvClick(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
void __fastcall RB_VPP_NInvClick(TObject *Sender);
void __fastcall RB_CLOCK_NInvClick(TObject *Sender);
void __fastcall RB_DataToPIC_InvClick(TObject *Sender);
void __fastcall RB_DataToPIC_NInvClick(TObject *Sender);
void __fastcall RB_DataFromPIC_InvClick(TObject *Sender);
void __fastcall RB_DataFromPIC_NInvClick(TObject *Sender);
void __fastcall RB_VPP_InvClick(TObject *Sender);
void __fastcall RB_VCC_InvClick(TObject *Sender);
void __fastcall RB_VCC_NInvClick(TObject *Sender);
void __fastcall ButtonAdvClick(TObject *Sender);
private:
public:
__fastcall TSettingsWindow(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TSettingsWindow *SettingsWindow;
//---------------------------------------------------------------------------
#endif /* __Settings_H__ */