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

101 lines
4.8 KiB
C++

// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'uCEFWindowInfoWrapper.pas' rev: 37.00 (Windows)
#ifndef uCEFWindowInfoWrapperHPP
#define uCEFWindowInfoWrapperHPP
#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 <System.Classes.hpp>
#include <System.Types.hpp>
#include <System.SysUtils.hpp>
#include <uCEFTypes.hpp>
//-- user supplied -----------------------------------------------------------
namespace Ucefwindowinfowrapper
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TCEFWindowInfoWrapper;
//-- type declarations -------------------------------------------------------
#pragma pack(push,4)
class PASCALIMPLEMENTATION TCEFWindowInfoWrapper : public System::TObject
{
typedef System::TObject inherited;
protected:
Uceftypes::TCefWindowInfo FWindowInfo;
Uceftypes::ustring __fastcall GetWindowName();
Uceftypes::TCefRect __fastcall GetBounds();
Uceftypes::TCefWindowHandle __fastcall GetParentWindow();
bool __fastcall GetWindowlessRenderingEnabled();
bool __fastcall GetSharedTextureEnabled();
bool __fastcall GetExternalBeginFrameEnabled();
Uceftypes::TCefWindowHandle __fastcall GetWindow();
Uceftypes::TCefRuntimeStyle __fastcall GetRuntimeStyle();
unsigned __fastcall GetExStyle();
unsigned __fastcall GetStyle();
HMENU __fastcall GetMenu();
void __fastcall SetWindowName(const Uceftypes::ustring aValue);
void __fastcall SetBounds(const Uceftypes::TCefRect &aValue);
void __fastcall SetParentWindow(Uceftypes::TCefWindowHandle aValue);
void __fastcall SetWindowlessRenderingEnabled(bool aValue);
void __fastcall SetSharedTextureEnabled(bool aValue);
void __fastcall SetExternalBeginFrameEnabled(bool aValue);
void __fastcall SetWindow(Uceftypes::TCefWindowHandle aValue);
void __fastcall SetRuntimeStyle(Uceftypes::TCefRuntimeStyle aValue);
void __fastcall SetExStyle(unsigned aValue);
void __fastcall SetStyle(unsigned aValue);
void __fastcall SetMenu(HMENU aValue);
public:
__fastcall TCEFWindowInfoWrapper();
void __fastcall CopyFromWindowInfo(const Uceftypes::TCefWindowInfo &aSrcWindowInfo);
__classmethod void __fastcall AsChild(Uceftypes::TCefWindowInfo &aWindowInfo, Uceftypes::TCefWindowHandle aParent, const System::Types::TRect &aWindowBounds);
void __fastcall SetAsChild(Uceftypes::TCefWindowHandle aParent, const System::Types::TRect &aWindowBounds);
__classmethod void __fastcall AsPopup(Uceftypes::TCefWindowInfo &aWindowInfo, Uceftypes::TCefWindowHandle aParent, const Uceftypes::ustring aWindowName);
void __fastcall SetAsPopup(Uceftypes::TCefWindowHandle aParent, const Uceftypes::ustring aWindowName);
__classmethod void __fastcall AsWindowless(Uceftypes::TCefWindowInfo &aWindowInfo, Uceftypes::TCefWindowHandle aParent);
void __fastcall SetAsWindowless(Uceftypes::TCefWindowHandle aParent);
__property Uceftypes::TCefWindowInfo WindowInfoRecord = {read=FWindowInfo, write=FWindowInfo};
__property Uceftypes::ustring WindowName = {read=GetWindowName, write=SetWindowName};
__property Uceftypes::TCefRect Bounds = {read=GetBounds, write=SetBounds};
__property bool WindowlessRenderingEnabled = {read=GetWindowlessRenderingEnabled, write=SetWindowlessRenderingEnabled, nodefault};
__property bool SharedTextureEnabled = {read=GetSharedTextureEnabled, write=SetSharedTextureEnabled, nodefault};
__property bool ExternalBeginFrameEnabled = {read=GetExternalBeginFrameEnabled, write=SetExternalBeginFrameEnabled, nodefault};
__property Uceftypes::TCefRuntimeStyle RuntimeStyle = {read=GetRuntimeStyle, write=SetRuntimeStyle, nodefault};
__property unsigned ExStyle = {read=GetExStyle, write=SetExStyle, nodefault};
__property unsigned Style = {read=GetStyle, write=SetStyle, nodefault};
__property HMENU Menu = {read=GetMenu, write=SetMenu, nodefault};
__property Uceftypes::TCefWindowHandle ParentWindow = {read=GetParentWindow, write=SetParentWindow, nodefault};
__property Uceftypes::TCefWindowHandle Window = {read=GetWindow, write=SetWindow, nodefault};
public:
/* TObject.Destroy */ inline __fastcall virtual ~TCEFWindowInfoWrapper() { }
};
#pragma pack(pop)
//-- var, const, procedure ---------------------------------------------------
} /* namespace Ucefwindowinfowrapper */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFWINDOWINFOWRAPPER)
using namespace Ucefwindowinfowrapper;
#endif
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // uCEFWindowInfoWrapperHPP