90 lines
3.3 KiB
C++
90 lines
3.3 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'uCEFLabelButton.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFLabelButtonHPP
|
|
#define uCEFLabelButtonHPP
|
|
|
|
#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 <uCEFButton.hpp>
|
|
#include <uCEFView.hpp>
|
|
|
|
//-- user supplied -----------------------------------------------------------
|
|
|
|
namespace Uceflabelbutton
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefLabelButtonRef;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefLabelButtonRef : public Ucefbutton::TCefButtonRef
|
|
{
|
|
typedef Ucefbutton::TCefButtonRef inherited;
|
|
|
|
protected:
|
|
Ucefinterfaces::_di_ICefMenuButton __fastcall AsMenuButton();
|
|
void __fastcall SetText(const Uceftypes::ustring text_);
|
|
Uceftypes::ustring __fastcall GetText();
|
|
void __fastcall SetImage(Uceftypes::TCefButtonState button_state, const Ucefinterfaces::_di_ICefImage image);
|
|
Ucefinterfaces::_di_ICefImage __fastcall GetImage(Uceftypes::TCefButtonState button_state);
|
|
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_);
|
|
|
|
public:
|
|
__classmethod Ucefinterfaces::_di_ICefLabelButton __fastcall UnWrap(void * data);
|
|
__classmethod Ucefinterfaces::_di_ICefLabelButton __fastcall CreateLabelButton(const Ucefinterfaces::_di_ICefButtonDelegate delegate, const Uceftypes::ustring text);
|
|
public:
|
|
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefLabelButtonRef(void * data) : Ucefbutton::TCefButtonRef(data) { }
|
|
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefLabelButtonRef() { }
|
|
|
|
private:
|
|
void *__ICefLabelButton; // Ucefinterfaces::ICefLabelButton
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {A99FD4F3-7EE6-4796-8BF6-EC367D51EED8}
|
|
operator Ucefinterfaces::_di_ICefLabelButton()
|
|
{
|
|
Ucefinterfaces::_di_ICefLabelButton intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefLabelButton*(void) { return (Ucefinterfaces::ICefLabelButton*)&__ICefLabelButton; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Uceflabelbutton */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFLABELBUTTON)
|
|
using namespace Uceflabelbutton;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFLabelButtonHPP
|