home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- #ifndef ChildWinH
- #define ChildWinH
- //----------------------------------------------------------------------------
- #include <vcl\Controls.hpp>
- #include <vcl\Forms.hpp>
- #include <vcl\Graphics.hpp>
- #include <vcl\Classes.hpp>
- #include <vcl\Windows.hpp>
- #include <vcl\System.hpp>
- #include <vcl\OleCtrls.hpp>
- #include "LTOCX10N.hpp"
- //----------------------------------------------------------------------------
- class TMDIChild : public TForm
- {
- __published:
- TLEAD *Lead1;
- TLEAD *Lead2;
- TLEAD *Lead3;
- void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
-
- void __fastcall Lead1ProgressStatus(TObject *Sender, short iPercent);
- void __fastcall Lead1MouseDown(TObject *Sender, TMouseButton Button,
- TShiftState Shift, int X, int Y);
- void __fastcall Lead1MouseMove(TObject *Sender, TShiftState Shift, int X,
- int Y);
- void __fastcall FormCreate(TObject *Sender);
- void __fastcall Lead1MouseUp(TObject *Sender, TMouseButton Button,
- TShiftState Shift, int X, int Y);
- private:
- public:
- int ZoomMode;
- int ZoomSize;
- int RegionTool;
- int xStart,yStart;
- bool MovingFloater;
- int rValue,sValue;
-
- virtual __fastcall TMDIChild(TComponent *Owner);
- void InitStatusProcess(String Title);
- void ZoomImage(int amount,bool up);
- void ProcessRegion(String what);
- void ResetStatusProcess(void);
- void SaveImage(void);
- void SaveBackground(void);
- void RestoreBackground(void);
- void CancelRegion(void);
- };
- //----------------------------------------------------------------------------
- #endif
-