home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'Misc.pas' rev: 3.00
-
- #ifndef MiscHPP
- #define MiscHPP
- #include <ShellAPI.hpp>
- #include <Graphics.hpp>
- #include <Forms.hpp>
- #include <Dialogs.hpp>
- #include <Controls.hpp>
- #include <Clipbrd.hpp>
- #include <Windows.hpp>
- #include <NoMath.hpp>
- #include <TypInfo.hpp>
- #include <SysUtils.hpp>
- #include <Classes.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Misc
- {
- //-- type declarations -------------------------------------------------------
- typedef float *pSingle;
-
- typedef double *pDouble;
-
- typedef int TIntegerArray[536870911];
-
- typedef float TSingleArray[536870911];
-
- typedef double TDoubleArray[268435455];
-
- typedef TIntegerArray *pIntegerArray;
-
- typedef TSingleArray *pSingleArray;
-
- typedef TDoubleArray *pDoubleArray;
-
- typedef Shortint TPercent;
-
- struct TXYPoint
- {
- float X;
- float Y;
- } ;
-
- typedef TXYPoint *pXYPoint;
-
- typedef TXYPoint TXYArray[268435455];
-
- typedef TXYArray *pXYArray;
-
- struct TIdentMapEntry
- {
- Graphics::TColor Value;
- System::AnsiString Name;
- } ;
-
- typedef tagRGBTRIPLE TRGBArray[20001];
-
- typedef TRGBArray *pRGBArray;
-
- struct TRainbowColor
- {
- int R;
- int G;
- int B;
- } ;
-
- class DELPHICLASS TFileList;
- class PASCALIMPLEMENTATION TFileList : public Classes::TStringList
- {
- typedef Classes::TStringList inherited;
-
- public:
- virtual void __fastcall AppendToFile(const System::AnsiString FileName);
- public:
- /* TStringList.Destroy */ __fastcall virtual ~TFileList(void) { }
-
- public:
- /* TObject.Create */ __fastcall TFileList(void) : Classes::TStringList() { }
-
- };
-
- class DELPHICLASS TMemoryStreamEx;
- class PASCALIMPLEMENTATION TMemoryStreamEx : public Classes::TMemoryStream
- {
- typedef Classes::TMemoryStream inherited;
-
- public:
- virtual void __fastcall AppendToFile(const System::AnsiString FileName);
- public:
- /* TMemoryStream.Destroy */ __fastcall virtual ~TMemoryStreamEx(void) { }
-
- public:
- /* TObject.Create */ __fastcall TMemoryStreamEx(void) : Classes::TMemoryStream() { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
- #define TWO_PI (6.283185E+00)
- #define CRLF "\x02\r\n\x03\x06E╛"
- #define MY_COLORS_MAX (Byte)(15)
- extern PACKAGE Graphics::TColor MyColorValues[16];
- #define MAX_RAINBOW_COLORS (Byte)(5)
- extern PACKAGE int RainbowColors[6][3];
- extern PACKAGE int __fastcall GetLineLengthFromStream(Classes::TMemoryStream* AStream);
- extern PACKAGE System::AnsiString __fastcall ReadLine(Classes::TMemoryStream* AStream);
- extern PACKAGE bool __fastcall FindStringInStream(System::AnsiString TheString, Classes::TMemoryStream*
- AStream);
- extern PACKAGE System::AnsiString __fastcall CleanString(System::AnsiString AString, char TheChar);
- extern PACKAGE System::AnsiString __fastcall StrRev(System::AnsiString TheStr);
- extern PACKAGE void __fastcall DeSci(Extended ExtNumber, Extended &Mantissa, int &Exponent);
- extern PACKAGE System::AnsiString __fastcall GetWord(System::AnsiString &This_Line, System::AnsiString
- Delimiter);
- extern PACKAGE int __fastcall IndexOfColorValue(Graphics::TColor Value);
- extern PACKAGE int __fastcall IndexOfColorName(System::AnsiString Name);
- extern PACKAGE Graphics::TColor __fastcall GetPalerColor(Graphics::TColor Value, int Brightness);
- extern PACKAGE Graphics::TColor __fastcall GetDarkerColor(Graphics::TColor Value, int Brightness);
- extern PACKAGE Graphics::TColor __fastcall GetInverseColor(Graphics::TColor Value);
- extern PACKAGE Graphics::TColor __fastcall Rainbow(float Fraction);
- extern PACKAGE bool __fastcall InputColor(Graphics::TColor &AColor);
- extern PACKAGE void __fastcall SetDialogGeometry(Forms::TForm* AForm, Controls::TControl* AButton, int
- BorderWidth);
- extern PACKAGE int __fastcall BinToInt(System::AnsiString Value);
- extern PACKAGE System::AnsiString __fastcall IntToBin(int Value);
- extern PACKAGE bool __fastcall IsInteger(System::AnsiString Value);
- extern PACKAGE bool __fastcall IsFixed(System::AnsiString Value);
- extern PACKAGE bool __fastcall IsReal(System::AnsiString Value);
- extern PACKAGE void __fastcall TextOutAnglePersist(Graphics::TCanvas* ACanvas, int Angle, int Left,
- int Top, System::AnsiString TheText);
- extern PACKAGE void __fastcall TextOutAngle(Graphics::TCanvas* ACanvas, int Angle, int Left, int Top
- , System::AnsiString TheText);
- extern PACKAGE void __fastcall ShellExec(System::AnsiString Cmd);
-
- } /* namespace Misc */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Misc;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // Misc
-