📄 acedrop.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved
// (DO NOT EDIT: machine generated header) 'AceDrop.pas' rev: 4.00
#ifndef AceDropHPP
#define AceDropHPP
#pragma delphiheader begin
#pragma option push -w-
#include <Buttons.hpp> // Pascal unit
#include <Db.hpp> // Pascal unit
#include <Menus.hpp> // Pascal unit
#include <SctData.hpp> // Pascal unit
#include <SctVar.hpp> // Pascal unit
#include <SctCtrl.hpp> // Pascal unit
#include <ExtCtrls.hpp> // Pascal unit
#include <SctRep.hpp> // Pascal unit
#include <StdCtrls.hpp> // Pascal unit
#include <Dialogs.hpp> // Pascal unit
#include <Forms.hpp> // Pascal unit
#include <Controls.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <Classes.hpp> // Pascal unit
#include <SysUtils.hpp> // Pascal unit
#include <Messages.hpp> // Pascal unit
#include <DsgnIntf.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <SysInit.hpp> // Pascal unit
#include <System.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Acedrop
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TSctDropStyle { dropVertDiffBand, dropVertLeft, dropVertAbove, dropHorzDiffBand, dropHorzLeft,
dropHorzAbove };
#pragma option pop
class DELPHICLASS TAceDropLabels;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TAceDropLabels : public Forms::TForm
{
typedef Forms::TForm inherited;
__published:
Stdctrls::TListBox* AceVariableList;
Extctrls::TPanel* ToolPanel;
Extctrls::TPanel* Panel1;
Buttons::TSpeedButton* sbLeft;
Buttons::TSpeedButton* sbTop;
Stdctrls::TComboBox* TextBand;
Extctrls::TPanel* Panel2;
Buttons::TSpeedButton* sbHoriz;
Buttons::TSpeedButton* sbHorizdiv;
Buttons::TSpeedButton* sbVert;
Stdctrls::TComboBox* VariableSelection;
Extctrls::TPanel* UndoPanel;
Buttons::TSpeedButton* SpeedButton1;
Buttons::TSpeedButton* SpeedButton2;
Buttons::TSpeedButton* SpeedButton3;
void __fastcall FormCreate(System::TObject* Sender);
void __fastcall VariableSelectionChange(System::TObject* Sender);
void __fastcall Button1Click(System::TObject* Sender);
void __fastcall Stayontop1Click(System::TObject* Sender);
void __fastcall Hide1Click(System::TObject* Sender);
void __fastcall AceVariableListClick(System::TObject* Sender);
void __fastcall FormDestroy(System::TObject* Sender);
void __fastcall SpeedButton2Click(System::TObject* Sender);
void __fastcall SpeedButton3Click(System::TObject* Sender);
void __fastcall SpeedButton1Click(System::TObject* Sender);
private:
Classes::TStringList* SelectedList;
Classes::TList* TextLabelList;
Classes::TList* VarLabelList;
Classes::TList* TextDivList;
Classes::TList* VarDivList;
Sctrep::TSctBand* TextLabelBand;
Sctrep::TSctBand* VarLabelBand;
bool DropHorz;
bool TextAbove;
bool Dividers;
int xDrop;
int yDrop;
void __fastcall FillAll(void);
void __fastcall FillExpr(void);
void __fastcall FillTotal(void);
void __fastcall FillDB(void);
void __fastcall FillAutoDB(void);
void __fastcall FillSystem(void);
Sctrep::TSctBand* __fastcall GetTextBand(void);
Sctctrl::TSctLabel* __fastcall CreateLabel(Sctvar::TSctVar* MyVar, Sctdata::TSctDataTypes dtype);
Sctctrl::TSctLabel* __fastcall CreateVarLabel(Sctvar::TSctVar* V, Sctrep::TSctBand* bd);
void __fastcall FormatVarLabel(Sctctrl::TSctLabel* l, Sctvar::TSctVar* v, Sctdata::TSctDataTypes dtype
);
void __fastcall FormatTextLabel(Sctctrl::TSctvarlabel* l, Sctvar::TSctVar* v);
void __fastcall FormatLabelHW(Sctctrl::TSctLabel* l, Sctvar::TSctVar* v, System::TObject* f);
void __fastcall CreateLabels(void);
bool __fastcall ArrangeLabels(void);
void __fastcall CreateDividers(void);
void __fastcall ShrinkLabels(void);
bool __fastcall CheckWidth(void);
void __fastcall ArrangeHorzNoText(bool Wrap);
void __fastcall ArrangeHorzTextBand(bool Wrap);
void __fastcall ArrangeHorzTextAbove(bool Wrap);
void __fastcall ArrangeHorzTextLeft(bool Wrap);
void __fastcall ArrangeVertNoText(void);
void __fastcall ArrangeVertTextBand(void);
void __fastcall ArrangeVertTextAbove(void);
void __fastcall ArrangeVertTextLeft(void);
void __fastcall AdjustBandHeight(void);
void __fastcall DeleteRest(Classes::TList* LabelList, int Spot);
void __fastcall SelectComponents(void);
public:
Sctrep::TSctGrouppage* Page;
Stdctrls::TListBox* SList;
TSctDropStyle Style;
bool WrapLine;
Dsgnintf::_di_IFormDesigner PageDesigner;
void __fastcall FillComboBoxes(void);
void __fastcall DropLabels(Sctrep::TSctBand* bd, int x, int y);
public:
#pragma option push -w-inl
/* TCustomForm.Create */ inline __fastcall virtual TAceDropLabels(Classes::TComponent* AOwner) : Forms::TForm(
AOwner) { }
#pragma option pop
#pragma option push -w-inl
/* TCustomForm.CreateNew */ inline __fastcall virtual TAceDropLabels(Classes::TComponent* AOwner, int
Dummy) : Forms::TForm(AOwner, Dummy) { }
#pragma option pop
#pragma option push -w-inl
/* TCustomForm.Destroy */ inline __fastcall virtual ~TAceDropLabels(void) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TAceDropLabels(HWND ParentWindow) : Forms::TForm(
ParentWindow) { }
#pragma option pop
};
#pragma pack(pop)
//-- var, const, procedure ---------------------------------------------------
extern PACKAGE TAceDropLabels* AceDropLabels;
} /* namespace Acedrop */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Acedrop;
#endif
#pragma option pop // -w-
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // AceDrop
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -