git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.DevExpressVCL@8 05c56307-c608-d34a-929d-697000501d7a
65 lines
2.6 KiB
C++
65 lines
2.6 KiB
C++
//---------------------------------------------------------------------------
|
|
|
|
#ifndef CustomDrawMainH
|
|
#define CustomDrawMainH
|
|
//---------------------------------------------------------------------------
|
|
#include <Classes.hpp>
|
|
#include <Controls.hpp>
|
|
#include <StdCtrls.hpp>
|
|
#include <Forms.hpp>
|
|
#include "cxLookAndFeels.hpp"
|
|
#include "DemoBasicMain.h"
|
|
#include <Dialogs.hpp>
|
|
#include <Menus.hpp>
|
|
#include "cxControls.hpp"
|
|
#include "cxGraphics.hpp"
|
|
#include "cxCustomPivotGrid.hpp"
|
|
#include "cxDBPivotGrid.hpp"
|
|
#include "cxClasses.hpp"
|
|
#include "cxCustomData.hpp"
|
|
#include "cxStyles.hpp"
|
|
//---------------------------------------------------------------------------
|
|
class TfrmCustomDraw : public TfrmDemoBaisicMain
|
|
{
|
|
__published: // IDE-managed Components
|
|
TMenuItem *Drawing1;
|
|
TMenuItem *N3;
|
|
TMenuItem *Content1;
|
|
TMenuItem *FieldHeaders1;
|
|
TMenuItem *GroupHeaders1;
|
|
TMenuItem *N4;
|
|
TMenuItem *Background1;
|
|
TcxDBPivotGrid *DBPivotGrid;
|
|
TcxDBPivotGridField *pgfPaymentType;
|
|
TcxDBPivotGridField *pgfQuantity;
|
|
TcxDBPivotGridField *pgfCarName;
|
|
TcxDBPivotGridField *pgfUnitPrice;
|
|
TcxDBPivotGridField *pgfCompanyName;
|
|
TcxDBPivotGridField *pgfPaymentAmount;
|
|
void __fastcall DrawingClick(TObject *Sender);
|
|
void __fastcall DBPivotGridCustomDrawColumnHeader(
|
|
TcxCustomPivotGrid *Sender, TcxCanvas *ACanvas,
|
|
TcxPivotGridHeaderCellViewInfo *AViewInfo, bool &ADone);
|
|
void __fastcall DBPivotGridCustomDrawFieldHeader(
|
|
TcxCustomPivotGrid *Sender, TcxCanvas *ACanvas,
|
|
TcxPivotGridFieldHeaderCellViewInfo *AViewInfo, bool &ADone);
|
|
void __fastcall DBPivotGridCustomDrawPart(TcxCustomPivotGrid *Sender,
|
|
TcxCanvas *ACanvas, TcxPivotGridCustomCellViewInfo *AViewInfo,
|
|
bool &ADone);
|
|
void __fastcall DBPivotGridCustomDrawRowHeader(
|
|
TcxCustomPivotGrid *Sender, TcxCanvas *ACanvas,
|
|
TcxPivotGridHeaderCellViewInfo *AViewInfo, bool &ADone);
|
|
void __fastcall DBPivotGridCustomDrawCell(
|
|
TcxCustomPivotGrid *Sender, TcxCanvas *ACanvas,
|
|
TcxPivotGridDataCellViewInfo *AViewInfo, bool &ADone);
|
|
void __fastcall FormCreate(TObject *Sender);
|
|
private: // User declarations
|
|
TcxCustomPivotGrid* __fastcall PivotGrid();
|
|
public: // User declarations
|
|
__fastcall TfrmCustomDraw(TComponent* Owner);
|
|
};
|
|
//---------------------------------------------------------------------------
|
|
extern PACKAGE TfrmCustomDraw *frmCustomDraw;
|
|
//---------------------------------------------------------------------------
|
|
#endif
|