7#ifndef XFA_FWL_CFWL_THEMETEXT_H_
8#define XFA_FWL_CFWL_THEMETEXT_H_
10#include "core/fxcrt/fx_memory.h"
11#include "core/fxcrt/unowned_ptr.h"
12#include "core/fxcrt/widestring.h"
13#include "xfa/fde/cfde_data.h"
14#include "xfa/fwl/cfwl_themepart.h"
40using pdfium::CFWL_ThemeText;
#define FWL_STATE_CKB_CheckMask
#define FWL_STATE_CKB_Hovered
#define FWL_STATE_CKB_Unchecked
#define FWL_STATE_CKB_Pressed
#define FWL_STATE_CKB_Neutral
#define FWL_STATE_CKB_Checked
#define FWL_STYLEEXT_CKB_3State
#define FWL_STYLEEXT_CKB_RadioButton
CFX_Matrix & operator=(const CFX_Matrix &other)=default
void Inflate(float x, float y)
CFX_RectF & operator=(const CFX_RectF &other)=default
constexpr CFX_RectF(float dst_left, float dst_top, float dst_width, float dst_height)
static WideString FromASCII(ByteStringView str)
void SetBoxSize(float fHeight)
FWL_Type GetClassID() const override
~CFWL_CheckBox() override
void OnProcessMessage(CFWL_Message *pMessage) override
void OnDrawWidget(CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix) override
void DrawWidget(CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix) override
~CFWL_MessageKey() override
CFWL_MessageKey(CFWL_Widget *pDstTarget, KeyCommand subtype, Mask< XFA_FWL_KeyFlag > flags, uint32_t dwKeyCodeOrChar)
const uint32_t m_dwKeyCodeOrChar
const Mask< XFA_FWL_KeyFlag > m_dwFlags
const MouseCommand m_dwCmd
CFWL_Widget * GetDstTarget() const
FDE_TextStyle m_dwTTOStyles
CFGAS_GEGraphics * GetGraphics() const
CFWL_ThemeText(Part iPart, CFWL_Widget *pWidget, CFGAS_GEGraphics *pGraphics)
FDE_TextAlignment m_iTTOAlign
virtual void DrawText(const CFWL_ThemeText &pParams)=0
virtual void DrawBackground(const CFWL_ThemeBackground &pParams)=0
int FXSYS_roundf(float f)
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
fxcrt::WideString WideString