📄 statuspage.h
字号:
/*
This file is part of KCeasy (http://www.kceasy.com)
Copyright (C) 2002-2004 Markus Kern <mkern@kceasy.com>
This program 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.
This program 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.
*/
//---------------------------------------------------------------------------
#ifndef StatusPageH
#define StatusPageH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <ImgList.hpp>
#include <OleCtrls.hpp>
#include <ExtCtrls.hpp>
#include <Buttons.hpp>
#include "KCeasy.h"
#include "Engine.h"
#include "VirtualTrees.hpp"
//---------------------------------------------------------------------------
class TStatusForm : public TForm
{
__published: // IDE-managed Components
TMemo *InterfaceMemo;
TSpeedButton *NetworksUpdateBtn;
TPanel *TopPanel;
TSplitter *VSplitter1;
TSpeedButton *ClearInterfaceLogBtn;
TMemo *LogMemo;
TSpeedButton *GiftLoggingBtn;
TSpeedButton *InterfaceLoggingBtn;
TSpeedButton *ClearGiftLogBtn;
TVirtualStringTree *NetworksTree;
TSplitter *VSplitter2;
TPanel *CtrlPanel;
TSplitter *CtrlSplitter;
TBevel *Bevel1;
TBevel *Bevel2;
void __fastcall NetworksUpdateBtnClick(TObject *Sender);
void __fastcall ClearInterfaceLogBtnClick(TObject *Sender);
void __fastcall GiftLoggingBtnClick(TObject *Sender);
void __fastcall InterfaceLoggingBtnClick(TObject *Sender);
void __fastcall ClearGiftLogBtnClick(TObject *Sender);
void __fastcall NetworksTreeGetText(TBaseVirtualTree *Sender,
PVirtualNode Node, TColumnIndex Column, TVSTTextType TextType,
WideString &CellText);
void __fastcall NetworksTreePaintText(TBaseVirtualTree *Sender,
const TCanvas *TargetCanvas, PVirtualNode Node,
TColumnIndex Column, TVSTTextType TextType);
void __fastcall NetworksTreeGetImageIndex(TBaseVirtualTree *Sender,
PVirtualNode Node, TVTImageKind Kind, TColumnIndex Column,
bool &Ghosted, int &ImageIndex);
private: // User declarations
public: // User declarations
__fastcall TStatusForm(TComponent* Owner);
__fastcall ~TStatusForm();
bool __fastcall EngineCallback(TCallbackInfo* CbInfo);
};
//---------------------------------------------------------------------------
extern PACKAGE TStatusForm *StatusForm;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -