110 lines
4.2 KiB
C++
110 lines
4.2 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'ieview.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef ieviewHPP
|
|
#define ieviewHPP
|
|
|
|
#pragma delphiheader begin
|
|
#pragma option push
|
|
#if defined(__BORLANDC__) && !defined(__clang__)
|
|
#pragma option -w- // All warnings off
|
|
#pragma option -Vx // Zero-length empty class member
|
|
#endif
|
|
#pragma pack(push,8)
|
|
#include <System.hpp>
|
|
#include <SysInit.hpp>
|
|
#include <Winapi.Windows.hpp>
|
|
#include <Winapi.Messages.hpp>
|
|
#include <System.SysUtils.hpp>
|
|
#include <Vcl.Controls.hpp>
|
|
#include <Vcl.Forms.hpp>
|
|
#include <System.Classes.hpp>
|
|
#include <Vcl.Graphics.hpp>
|
|
#include <iexBitmaps.hpp>
|
|
#include <System.UITypes.hpp>
|
|
|
|
//-- user supplied -----------------------------------------------------------
|
|
|
|
namespace Ieview
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TIEView;
|
|
//-- type declarations -------------------------------------------------------
|
|
typedef void __fastcall (__closure *TIEBitmapChangeEvent)(System::TObject* Sender, bool destroying);
|
|
|
|
typedef TIEBitmapChangeEvent *PIEBitmapChangeEvent;
|
|
|
|
class PASCALIMPLEMENTATION TIEView : public Vcl::Controls::TCustomControl
|
|
{
|
|
typedef Vcl::Controls::TCustomControl inherited;
|
|
|
|
private:
|
|
Vcl::Forms::TBorderStyle fBorderStyle;
|
|
System::Classes::TList* fBmpChange;
|
|
System::Classes::TNotifyEvent fOnMouseEnter;
|
|
System::Classes::TNotifyEvent fOnMouseLeave;
|
|
void __fastcall SetBorderStyle(Vcl::Forms::TBorderStyle Value);
|
|
bool __fastcall GetCtl3D();
|
|
HIDESBASE void __fastcall SetCtl3D(bool v);
|
|
|
|
protected:
|
|
virtual void __fastcall SetBackground(System::Uitypes::TColor cl);
|
|
virtual Vcl::Graphics::TBitmap* __fastcall GetFBitmap();
|
|
virtual Iexbitmaps::TIEBitmap* __fastcall GetIEBitmap();
|
|
virtual void __fastcall CreateParams(Vcl::Controls::TCreateParams &Params);
|
|
HIDESBASE MESSAGE void __fastcall CMMouseEnter(Winapi::Messages::TMessage &Message);
|
|
HIDESBASE MESSAGE void __fastcall CMMouseLeave(Winapi::Messages::TMessage &Message);
|
|
HIDESBASE MESSAGE void __fastcall WMNCPaint(Winapi::Messages::TMessage &Message);
|
|
virtual Iexbitmaps::TIEBitmap* __fastcall GetAlphaChannel() = 0 ;
|
|
virtual bool __fastcall GetHasAlphaChannel() = 0 ;
|
|
|
|
public:
|
|
System::Uitypes::TColor fBackground;
|
|
virtual void __fastcall RemoveAlphaChannel(bool Merge) = 0 ;
|
|
virtual void __fastcall LockPaint() = 0 ;
|
|
virtual int __fastcall UnLockPaint() = 0 ;
|
|
virtual int __fastcall NPUnLockPaint() = 0 ;
|
|
virtual void __fastcall ImageChange();
|
|
__fastcall virtual TIEView(System::Classes::TComponent* Owner);
|
|
__fastcall virtual ~TIEView();
|
|
__property Vcl::Graphics::TBitmap* Bitmap = {read=GetFBitmap};
|
|
__property Iexbitmaps::TIEBitmap* IEBitmap = {read=GetIEBitmap};
|
|
virtual void __fastcall CallBitmapChangeEvents();
|
|
void * __fastcall RegisterBitmapChangeEvent(TIEBitmapChangeEvent callbackMethod);
|
|
void __fastcall RemoveBitmapChangeEvent(void * callbackHandle);
|
|
Vcl::Graphics::TCanvas* __fastcall GetCanvas();
|
|
__property Iexbitmaps::TIEBitmap* AlphaChannel = {read=GetAlphaChannel};
|
|
__property bool HasAlphaChannel = {read=GetHasAlphaChannel, nodefault};
|
|
|
|
__published:
|
|
__property System::Uitypes::TColor Background = {read=fBackground, write=SetBackground, nodefault};
|
|
__property Ctl3D = {read=GetCtl3D, write=SetCtl3D};
|
|
__property ParentCtl3D = {default=1};
|
|
__property System::Classes::TNotifyEvent OnMouseEnter = {read=fOnMouseEnter, write=fOnMouseEnter};
|
|
__property System::Classes::TNotifyEvent OnMouseLeave = {read=fOnMouseLeave, write=fOnMouseLeave};
|
|
__property Vcl::Forms::TBorderStyle BorderStyle = {read=fBorderStyle, write=SetBorderStyle, default=1};
|
|
__property OnEnter;
|
|
__property OnExit;
|
|
__property OnResize;
|
|
__property Touch;
|
|
public:
|
|
/* TWinControl.CreateParented */ inline __fastcall TIEView(HWND ParentWindow) : Vcl::Controls::TCustomControl(ParentWindow) { }
|
|
|
|
};
|
|
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Ieview */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_IEVIEW)
|
|
using namespace Ieview;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // ieviewHPP
|