Initial commit
This commit is contained in:
@@ -0,0 +1,97 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFButtonComponent.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFButtonComponentHPP
|
||||
#define uCEFButtonComponentHPP
|
||||
|
||||
#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 <uCEFTypes.hpp>
|
||||
#include <uCEFInterfaces.hpp>
|
||||
#include <uCEFViewsFrameworkEvents.hpp>
|
||||
#include <uCEFViewComponent.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefbuttoncomponent
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCEFButtonComponent;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
class PASCALIMPLEMENTATION TCEFButtonComponent : public Ucefviewcomponent::TCEFViewComponent
|
||||
{
|
||||
typedef Ucefviewcomponent::TCEFViewComponent inherited;
|
||||
|
||||
protected:
|
||||
Ucefinterfaces::_di_ICefButton FButton;
|
||||
Ucefviewsframeworkevents::TOnButtonPressedEvent FOnButtonPressed;
|
||||
Ucefviewsframeworkevents::TOnButtonStateChangedEvent FOnButtonStateChanged;
|
||||
virtual void __fastcall DestroyView();
|
||||
virtual void __fastcall Initialize();
|
||||
virtual bool __fastcall GetInitialized();
|
||||
virtual Ucefinterfaces::_di_ICefView __fastcall GetAsView();
|
||||
Uceftypes::TCefButtonState __fastcall GetState();
|
||||
virtual Ucefinterfaces::_di_ICefButton __fastcall GetAsButton();
|
||||
virtual Ucefinterfaces::_di_ICefLabelButton __fastcall GetAsLabelButton();
|
||||
void __fastcall SetState(Uceftypes::TCefButtonState state_);
|
||||
void __fastcall doOnButtonPressed(const Ucefinterfaces::_di_ICefButton button);
|
||||
void __fastcall doOnButtonStateChanged(const Ucefinterfaces::_di_ICefButton button);
|
||||
|
||||
public:
|
||||
void __fastcall SetInkDropEnabled(bool enabled_);
|
||||
void __fastcall SetTooltipText(const Uceftypes::ustring tooltip_text);
|
||||
void __fastcall SetAccessibleName(const Uceftypes::ustring name_);
|
||||
__property Ucefinterfaces::_di_ICefLabelButton AsLabelButton = {read=GetAsLabelButton};
|
||||
__property Uceftypes::TCefButtonState State = {read=GetState, write=SetState, nodefault};
|
||||
|
||||
__published:
|
||||
__property Ucefviewsframeworkevents::TOnButtonPressedEvent OnButtonPressed = {read=FOnButtonPressed, write=FOnButtonPressed};
|
||||
__property Ucefviewsframeworkevents::TOnButtonStateChangedEvent OnButtonStateChanged = {read=FOnButtonStateChanged, write=FOnButtonStateChanged};
|
||||
public:
|
||||
/* TCEFViewComponent.Create */ inline __fastcall virtual TCEFButtonComponent(System::Classes::TComponent* AOwner) : Ucefviewcomponent::TCEFViewComponent(AOwner) { }
|
||||
|
||||
public:
|
||||
/* TComponent.Destroy */ inline __fastcall virtual ~TCEFButtonComponent() { }
|
||||
|
||||
private:
|
||||
void *__ICefButtonDelegateEvents; // Ucefinterfaces::ICefButtonDelegateEvents
|
||||
|
||||
public:
|
||||
#if defined(MANAGED_INTERFACE_OPERATORS)
|
||||
// {E8DF70BE-5DEB-42CF-AF86-B0FF1040498E}
|
||||
operator Ucefinterfaces::_di_ICefButtonDelegateEvents()
|
||||
{
|
||||
Ucefinterfaces::_di_ICefButtonDelegateEvents intf;
|
||||
this->GetInterface(intf);
|
||||
return intf;
|
||||
}
|
||||
#else
|
||||
operator Ucefinterfaces::ICefButtonDelegateEvents*(void) { return (Ucefinterfaces::ICefButtonDelegateEvents*)&__ICefButtonDelegateEvents; }
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefbuttoncomponent */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFBUTTONCOMPONENT)
|
||||
using namespace Ucefbuttoncomponent;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFButtonComponentHPP
|
||||
Reference in New Issue
Block a user