//--------------------------------------------------------------------------- #ifndef Bars1H #define Bars1H //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include "OlectraChart3D_TLB.h" //--------------------------------------------------------------------------- class TfrmBars : public TForm { __published: // IDE-managed Components TChart3D *Chart3D1; TTimer *Timer1; TMainMenu *MainMenu1; TMenuItem *mnuFile; TMenuItem *mnuExit; TMenuItem *mnuHelp; TMenuItem *mnuAboutThisDemo; TMenuItem *N1; TMenuItem *mnuAboutOlectraChart; TMenuItem *mnuFonts; TMenuItem *mnuStrokeFonts; TMenuItem *mnuTrueTypeFonts; void __fastcall mnuExitClick(TObject *Sender); void __fastcall FormCreate(TObject *Sender); void __fastcall Chart3D1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y); void __fastcall Chart3D1MouseMove(TObject *Sender, TShiftState Shift, int X, int Y); void __fastcall Chart3D1MouseUp(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y); void __fastcall Timer1Timer(TObject *Sender); void __fastcall FormDestroy(TObject *Sender); void __fastcall mnuAboutThisDemoClick(TObject *Sender); void __fastcall mnuAboutOlectraChartClick(TObject *Sender); void __fastcall mnuStrokeFontsClick(TObject *Sender); void __fastcall mnuTrueTypeFontsClick(TObject *Sender); private: // User declarations public: // User declarations int LastRow; int LastCol; int PickRow; int PickCol; bool IsModifying; int HeaderColor; int FooterColor; int RegionSaveColor; int HiLiteColor; int Region; int OldRegion; Variant vTitleInterior; Variant vCG1; void SetupTheChart(); void UpdateTheFooter(int Row, int Col); void AddHiLite(int px, int py); void RemoveHiLite(); void RemoveLabel(); __fastcall TfrmBars(TComponent* Owner); }; //--------------------------------------------------------------------------- extern TfrmBars *frmBars; //--------------------------------------------------------------------------- #endif