//--------------------------------------------------------------------------- #ifndef Unit1H #define Unit1H //--------------------------------------------------------------------------- #include #include #include #include #include #include #include "IMGKITLib_TLB.h" #include "ImgSldLib_TLB.h" #include //--------------------------------------------------------------------------- class TForm1 : public TForm { __published: // IDE 管理のコンポーネント TImage *Image1; TImgKitFile *ImgKitFile1; TButton *Button2; TOpenDialog *OpenDialog1;void __fastcall Button2Click(TObject *Sender); private: // ユーザー宣言 HPALETTE CreateBIPalette(LPBITMAPINFOHEADER lpbi); int DibNumColors(LPVOID pv); public: // ユーザー宣言 __fastcall TForm1(TComponent* Owner); }; //--------------------------------------------------------------------------- extern TForm1 *Form1; //--------------------------------------------------------------------------- #endif