109 lines
4.2 KiB
C++
109 lines
4.2 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'uCEFTextfield.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFTextfieldHPP
|
|
#define uCEFTextfieldHPP
|
|
|
|
#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 Uceftextfield
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefTextfieldRef;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefTextfieldRef : public Ucefview::TCefViewRef
|
|
{
|
|
typedef Ucefview::TCefViewRef inherited;
|
|
|
|
protected:
|
|
void __fastcall SetPasswordInput(bool password_input);
|
|
bool __fastcall IsPasswordInput();
|
|
void __fastcall SetReadOnly(bool read_only);
|
|
bool __fastcall IsReadOnly();
|
|
Uceftypes::ustring __fastcall GetText();
|
|
void __fastcall SetText(const Uceftypes::ustring text_);
|
|
void __fastcall AppendText(const Uceftypes::ustring text_);
|
|
void __fastcall InsertOrReplaceText(const Uceftypes::ustring text_);
|
|
bool __fastcall HasSelection();
|
|
Uceftypes::ustring __fastcall GetSelectedText();
|
|
void __fastcall SelectAll(bool reversed);
|
|
void __fastcall ClearSelection();
|
|
Uceftypes::TCefRange __fastcall GetSelectedRange();
|
|
void __fastcall SelectRange(const Uceftypes::TCefRange &range);
|
|
System::NativeUInt __fastcall GetCursorPosition();
|
|
void __fastcall SetTextColor(Uceftypes::TCefColor color);
|
|
Uceftypes::TCefColor __fastcall GetTextColor();
|
|
void __fastcall SetSelectionTextColor(Uceftypes::TCefColor color);
|
|
Uceftypes::TCefColor __fastcall GetSelectionTextColor();
|
|
void __fastcall SetSelectionBackgroundColor(Uceftypes::TCefColor color);
|
|
Uceftypes::TCefColor __fastcall GetSelectionBackgroundColor();
|
|
void __fastcall SetFontList(const Uceftypes::ustring font_list);
|
|
void __fastcall ApplyTextColor(Uceftypes::TCefColor color, const Uceftypes::TCefRange &range);
|
|
void __fastcall ApplyTextStyle(Uceftypes::TCefTextStyle style, bool add, const Uceftypes::TCefRange &range);
|
|
bool __fastcall IsCommandEnabled(Uceftypes::TCefTextFieldCommands command_id);
|
|
void __fastcall ExecuteCommand(Uceftypes::TCefTextFieldCommands command_id);
|
|
void __fastcall ClearEditHistory();
|
|
void __fastcall SetPlaceholderText(const Uceftypes::ustring text_);
|
|
Uceftypes::ustring __fastcall GetPlaceholderText();
|
|
void __fastcall SetPlaceholderTextColor(Uceftypes::TCefColor color);
|
|
void __fastcall SetAccessibleName(const Uceftypes::ustring name);
|
|
|
|
public:
|
|
__classmethod Ucefinterfaces::_di_ICefTextfield __fastcall UnWrap(void * data);
|
|
__classmethod Ucefinterfaces::_di_ICefTextfield __fastcall CreateTextField(const Ucefinterfaces::_di_ICefTextfieldDelegate delegate);
|
|
public:
|
|
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefTextfieldRef(void * data) : Ucefview::TCefViewRef(data) { }
|
|
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefTextfieldRef() { }
|
|
|
|
private:
|
|
void *__ICefTextfield; // Ucefinterfaces::ICefTextfield
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {B5E30155-DEA5-4CBF-BC9D-578CBCA586D9}
|
|
operator Ucefinterfaces::_di_ICefTextfield()
|
|
{
|
|
Ucefinterfaces::_di_ICefTextfield intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefTextfield*(void) { return (Ucefinterfaces::ICefTextfield*)&__ICefTextfield; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Uceftextfield */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFTEXTFIELD)
|
|
using namespace Uceftextfield;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFTextfieldHPP
|