Files
common/CEF4Delphi/win32/hpps/uCEFDisplay.hpp
T
2026-06-12 23:18:12 +08:00

93 lines
3.5 KiB
C++

// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'uCEFDisplay.pas' rev: 37.00 (Windows)
#ifndef uCEFDisplayHPP
#define uCEFDisplayHPP
#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 <System.Classes.hpp>
#include <System.SysUtils.hpp>
#include <System.Types.hpp>
#include <uCEFBaseRefCounted.hpp>
#include <uCEFInterfaces.hpp>
#include <uCEFTypes.hpp>
//-- user supplied -----------------------------------------------------------
namespace Ucefdisplay
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TCefDisplayRef;
//-- type declarations -------------------------------------------------------
#pragma pack(push,4)
class PASCALIMPLEMENTATION TCefDisplayRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
{
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
protected:
__int64 __fastcall GetID();
float __fastcall GetDeviceScaleFactor();
void __fastcall ConvertPointToPixels(Uceftypes::TCefPoint &point);
void __fastcall ConvertPointFromPixels(Uceftypes::TCefPoint &point);
Uceftypes::TCefRect __fastcall GetBounds();
Uceftypes::TCefRect __fastcall GetWorkArea();
int __fastcall GetRotation();
public:
__classmethod Ucefinterfaces::_di_ICefDisplay __fastcall UnWrap(void * data);
__classmethod Ucefinterfaces::_di_ICefDisplay __fastcall Primary();
__classmethod Ucefinterfaces::_di_ICefDisplay __fastcall NearestPoint(const Uceftypes::TCefPoint &point, bool input_pixel_coords);
__classmethod Ucefinterfaces::_di_ICefDisplay __fastcall MatchingBounds(const Uceftypes::TCefRect &bounds, bool input_pixel_coords);
__classmethod System::NativeUInt __fastcall GetCount();
__classmethod bool __fastcall GetAlls(Ucefinterfaces::TCefDisplayArray &aDisplayArray);
__classmethod System::Types::TPoint __fastcall ScreenPointToPixels(const System::Types::TPoint &aScreenPoint);
__classmethod System::Types::TPoint __fastcall ScreenPointFromPixels(const System::Types::TPoint &aPixelsPoint);
__classmethod System::Types::TRect __fastcall ScreenRectToPixels(const System::Types::TRect &aScreenRect);
__classmethod System::Types::TRect __fastcall ScreenRectFromPixels(const System::Types::TRect &aPixelsRect);
public:
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefDisplayRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefDisplayRef() { }
private:
void *__ICefDisplay; // Ucefinterfaces::ICefDisplay
public:
#if defined(MANAGED_INTERFACE_OPERATORS)
// {EC2D3606-DB4C-4894-8D38-B8F99E091965}
operator Ucefinterfaces::_di_ICefDisplay()
{
Ucefinterfaces::_di_ICefDisplay intf;
this->GetInterface(intf);
return intf;
}
#else
operator Ucefinterfaces::ICefDisplay*(void) { return (Ucefinterfaces::ICefDisplay*)&__ICefDisplay; }
#endif
};
#pragma pack(pop)
//-- var, const, procedure ---------------------------------------------------
} /* namespace Ucefdisplay */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDISPLAY)
using namespace Ucefdisplay;
#endif
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // uCEFDisplayHPP