7#include "xfa/fwl/cfwl_caret.h"
11#include "xfa/fwl/cfwl_app.h"
12#include "xfa/fwl/cfwl_notedriver.h"
13#include "xfa/fwl/cfwl_themebackground.h"
14#include "xfa/fwl/ifwl_themeprovider.h"
18const uint32_t kBlinkPeriodMs = 600;
20constexpr int kStateHighlight = (1 << 0);
24CFWL_Caret::CFWL_Caret(CFWL_App* app,
44 DrawCaretBK(pGraphics, matrix);
48 m_pTimer = std::make_unique<CFX_Timer>(GetFWLApp()->GetTimerHandler(),
this,
FWL_Type GetClassID() const override
void DrawWidget(CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix) override
void OnDrawWidget(CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix) override
void OnProcessMessage(CFWL_Message *pMessage) override
void OnTimerFired() override
CFX_Matrix & operator=(const CFX_Matrix &other)=default
CFX_RectF & operator=(const CFX_RectF &other)=default
constexpr CFX_RectF(float dst_left, float dst_top, float dst_width, float dst_height)