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

86 lines
3.6 KiB
C++

// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'uCEFLabelButtonComponent.pas' rev: 37.00 (Windows)
#ifndef uCEFLabelButtonComponentHPP
#define uCEFLabelButtonComponentHPP
#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 <uCEFConstants.hpp>
#include <uCEFViewsFrameworkEvents.hpp>
#include <uCEFButtonComponent.hpp>
#include <uCEFViewComponent.hpp>
//-- user supplied -----------------------------------------------------------
namespace Uceflabelbuttoncomponent
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TCEFLabelButtonComponent;
//-- type declarations -------------------------------------------------------
class PASCALIMPLEMENTATION TCEFLabelButtonComponent : public Ucefbuttoncomponent::TCEFButtonComponent
{
typedef Ucefbuttoncomponent::TCEFButtonComponent inherited;
protected:
Ucefinterfaces::_di_ICefLabelButton FLabelButton;
Uceftypes::ustring FText;
virtual void __fastcall DestroyView();
virtual void __fastcall Initialize();
virtual bool __fastcall GetInitialized();
virtual Ucefinterfaces::_di_ICefView __fastcall GetAsView();
virtual Ucefinterfaces::_di_ICefButton __fastcall GetAsButton();
virtual Ucefinterfaces::_di_ICefLabelButton __fastcall GetAsLabelButton();
virtual Ucefinterfaces::_di_ICefMenuButton __fastcall GetAsMenuButton();
Uceftypes::ustring __fastcall GetText();
Ucefinterfaces::_di_ICefImage __fastcall GetImage(Uceftypes::TCefButtonState button_state);
void __fastcall SetText(const Uceftypes::ustring text_);
void __fastcall SetImage(Uceftypes::TCefButtonState button_state, const Ucefinterfaces::_di_ICefImage image);
virtual void __fastcall doCreateCustomView();
public:
void __fastcall CreateLabelButton(const Uceftypes::ustring aText);
void __fastcall SetTextColor(Uceftypes::TCefButtonState for_state, Uceftypes::TCefColor color);
void __fastcall SetEnabledTextColors(Uceftypes::TCefColor color);
void __fastcall SetFontList(const Uceftypes::ustring font_list);
void __fastcall SetHorizontalAlignment(Uceftypes::TCefHorizontalAlignment alignment);
void __fastcall SetMinimumSize(const Uceftypes::TCefSize &size_);
void __fastcall SetMaximumSize(const Uceftypes::TCefSize &size_);
__property Uceftypes::ustring Text = {read=GetText, write=SetText};
__property Ucefinterfaces::_di_ICefImage Image[Uceftypes::TCefButtonState button_state] = {read=GetImage, write=SetImage};
__property Ucefinterfaces::_di_ICefMenuButton AsMenuButton = {read=GetAsMenuButton};
public:
/* TCEFViewComponent.Create */ inline __fastcall virtual TCEFLabelButtonComponent(System::Classes::TComponent* AOwner) : Ucefbuttoncomponent::TCEFButtonComponent(AOwner) { }
public:
/* TComponent.Destroy */ inline __fastcall virtual ~TCEFLabelButtonComponent() { }
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Uceflabelbuttoncomponent */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFLABELBUTTONCOMPONENT)
using namespace Uceflabelbuttoncomponent;
#endif
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // uCEFLabelButtonComponentHPP