85 lines
2.8 KiB
C++
85 lines
2.8 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'uCEFScrollView.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFScrollViewHPP
|
|
#define uCEFScrollViewHPP
|
|
|
|
#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 <uCEFBaseRefCounted.hpp>
|
|
#include <uCEFInterfaces.hpp>
|
|
#include <uCEFTypes.hpp>
|
|
#include <uCEFView.hpp>
|
|
|
|
//-- user supplied -----------------------------------------------------------
|
|
|
|
namespace Ucefscrollview
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefScrollViewRef;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefScrollViewRef : public Ucefview::TCefViewRef
|
|
{
|
|
typedef Ucefview::TCefViewRef inherited;
|
|
|
|
protected:
|
|
void __fastcall SetContentView(const Ucefinterfaces::_di_ICefView view);
|
|
Ucefinterfaces::_di_ICefView __fastcall GetContentView();
|
|
Uceftypes::TCefRect __fastcall GetVisibleContentRect();
|
|
bool __fastcall HasHorizontalScrollbar();
|
|
int __fastcall GetHorizontalScrollbarHeight();
|
|
bool __fastcall HasVerticalScrollbar();
|
|
int __fastcall GetVerticalScrollbarWidth();
|
|
|
|
public:
|
|
__classmethod Ucefinterfaces::_di_ICefScrollView __fastcall UnWrap(void * data);
|
|
__classmethod Ucefinterfaces::_di_ICefScrollView __fastcall CreateScrollView(const Ucefinterfaces::_di_ICefViewDelegate delegate);
|
|
public:
|
|
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefScrollViewRef(void * data) : Ucefview::TCefViewRef(data) { }
|
|
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefScrollViewRef() { }
|
|
|
|
private:
|
|
void *__ICefScrollView; // Ucefinterfaces::ICefScrollView
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {55DF2883-0574-4F10-B6F5-DE4730964B5B}
|
|
operator Ucefinterfaces::_di_ICefScrollView()
|
|
{
|
|
Ucefinterfaces::_di_ICefScrollView intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefScrollView*(void) { return (Ucefinterfaces::ICefScrollView*)&__ICefScrollView; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Ucefscrollview */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFSCROLLVIEW)
|
|
using namespace Ucefscrollview;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFScrollViewHPP
|