7#ifndef XFA_FWL_CFWL_MESSAGEMOUSEWHEEL_H_
8#define XFA_FWL_CFWL_MESSAGEMOUSEWHEEL_H_
10#include "core/fxcrt/fx_coordinates.h"
11#include "xfa/fwl/cfwl_message.h"
16 const CFX_PointF& pos,
17 const CFX_Vector& delta);
20 void set_pos(
const CFX_PointF& pos) { pos_ = pos; }
21 const CFX_PointF&
pos()
const {
return pos_; }
23 const CFX_Vector&
delta()
const {
return delta_; }
27 const CFX_Vector delta_;
#define FWL_STYLEEXT_LTB_MultiSelection
#define FWL_STYLEEXT_LTB_AlignMask
#define FWL_STYLEEXT_LTB_ShowScrollBarFocus
#define FWL_STYLEEXT_LTB_CenterAlign
#define FWL_STYLEEXT_LTB_RightAlign
#define FWL_STYLEEXT_LTB_LeftAlign
StateRestorer(CFGAS_GEGraphics *graphics)
void SetClipRect(const CFX_RectF &rect)
CFWL_Widget * GetSrcTarget() const
void SetSelected(bool enable)
CFX_RectF GetRect() const
Item(const WideString &text)
void SetFocused(bool enable)
void SetRect(const CFX_RectF &rect)
WideString GetText() const
bool ScrollBarPropertiesPresent() const
void SetSelItem(Item *hItem, bool bSelect)
FWL_WidgetHit HitTest(const CFX_PointF &point) override
void Trace(cppgc::Visitor *visitor) const override
Item * GetSelItem(int32_t nIndexSel)
void OnDrawWidget(CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix) override
int32_t CountItems(const CFWL_Widget *pWidget) const
bool ScrollToVisible(Item *hItem)
int32_t GetItemIndex(CFWL_Widget *pWidget, Item *pItem)
void DrawWidget(CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix) override
void InitHorizontalScrollBar()
void SetSelection(Item *hStart, Item *hEnd, bool bSelected)
bool IsShowVertScrollBar() const
Item * GetItem(const CFWL_Widget *pWidget, int32_t nIndex) const
void RemoveAt(int32_t iIndex)
FWL_Type GetClassID() const override
bool IsShowHorzScrollBar() const
void OnProcessEvent(CFWL_Event *pEvent) override
Item * GetListItem(Item *hItem, XFA_FWL_VKEYCODE dwKeyCode)
void OnProcessMessage(CFWL_Message *pMessage) override
Item * GetItemAtPoint(const CFX_PointF &point)
CFWL_ListBox(CFWL_App *pApp, const Properties &properties, CFWL_Widget *pOuter)
void DeleteString(Item *pItem)
void InitVerticalScrollBar()
Item * AddString(const WideString &wsAdd)
int32_t GetSelIndex(int32_t nIndex)
const uint32_t m_dwKeyCodeOrChar
CFWL_MessageMouseWheel(CFWL_Widget *destination, const CFX_PointF &pos, const CFX_Vector &delta)
~CFWL_MessageMouseWheel() override
const CFX_PointF & pos() const
void set_pos(const CFX_PointF &pos)
const CFX_Vector & delta() const
const MouseCommand m_dwCmd
CFWL_Widget * GetDstTarget() const
FDE_TextStyle m_dwTTOStyles
FDE_TextAlignment m_iTTOAlign
CFX_Matrix & operator=(const CFX_Matrix &other)=default
CFX_RectF TransformRect(const CFX_RectF &rect) const
CFX_RectF(const CFX_RectF &other)=default
void Offset(float dx, float dy)
constexpr CFX_RectF()=default
void Deflate(float off_left, float off_top, float off_right, float off_bottom)
CFX_RectF & operator=(const CFX_RectF &other)=default
bool Contains(const PointType &p) const
constexpr CFX_RectF(float dst_left, float dst_top, float dst_width, float dst_height)
void Deflate(float x, float y)
virtual void DrawBackground(const CFWL_ThemeBackground &pParams)=0
virtual void DrawText(const CFWL_ThemeText &pParams)=0