mmvari/Term.h
2013-07-05 15:09:45 -05:00

79 lines
2.9 KiB
C++
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//Copyright+LGPL
//-----------------------------------------------------------------------------------------------------------------------------------------------
// Copyright 2000-2013 Makoto Mori, Nobuyuki Oba
//-----------------------------------------------------------------------------------------------------------------------------------------------
// This file is part of MMVARI.
// MMVARI is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
// MMVARI 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 Lesser General Public License for more details.
// You should have received a copy of the GNU Lesser General Public License along with MMTTY. If not, see
// <http://www.gnu.org/licenses/>.
//-----------------------------------------------------------------------------------------------------------------------------------------------
//---------------------------------------------------------------------------
#ifndef TermH
#define TermH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
#include "Dump.h"
//---------------------------------------------------------------------------
class TTermView : public TForm
{
__published: // IDE ŠÇ—<C387>̃Rƒ“ƒ|<7C>[ƒlƒ“ƒg
TPanel *PCB;
TScrollBar *SBar;
TPanel *PC;
TPaintBox *PB;
TSplitter *Splitter1;
TPanel *PCEB;
TPanel *PCE;
TScrollBar *SBarE;
TPaintBox *PBE;
void __fastcall FormKeyPress(TObject *Sender, char &Key);
void __fastcall PBPaint(TObject *Sender);
void __fastcall PCResize(TObject *Sender);
void __fastcall SBarChange(TObject *Sender);
void __fastcall PBClick(TObject *Sender);
void __fastcall PCEnter(TObject *Sender);
void __fastcall PCExit(TObject *Sender);
void __fastcall PBEPaint(TObject *Sender);
void __fastcall PCEEnter(TObject *Sender);
void __fastcall PCEExit(TObject *Sender);
void __fastcall SBarEChange(TObject *Sender);
void __fastcall PBEClick(TObject *Sender);
void __fastcall PCEResize(TObject *Sender);
void __fastcall FormActivate(TObject *Sender);
void __fastcall FormDeactivate(TObject *Sender);
private: // ƒ†<C692>[ƒU<C692>[<5B>錾
public:
CDump m_Dump;
CDump m_Edit;
private:
void __fastcall SetCompositionWindowPos();
public: // ƒ†<C692>[ƒU<C692>[<5B>錾
__fastcall TTermView(TComponent* Owner);
void PutChar(int c);
};
//---------------------------------------------------------------------------
//extern PACKAGE TTermView *TermView;
//---------------------------------------------------------------------------
#endif