7#include "xfa/fwl/theme/cfwl_listboxtp.h"
9#include "build/build_config.h"
10#include "xfa/fgas/graphics/cfgas_gecolor.h"
11#include "xfa/fgas/graphics/cfgas_gegraphics.h"
12#include "xfa/fgas/graphics/cfgas_gepath.h"
13#include "xfa/fwl/cfwl_listbox.h"
14#include "xfa/fwl/cfwl_themebackground.h"
15#include "xfa/fwl/cfwl_widget.h"
17CFWL_ListBoxTP::CFWL_ListBoxTP() =
default;
30 if (pParams.m_pRtData) {
42 uint32_t color = 0xFF000000;
66#if BUILDFLAG(IS_APPLE)
67 path.AddRectangle(rtItem.left, rtItem.top, rtItem.width - 1,
#define FWLTHEME_COLOR_BKSelected
#define FWLTHEME_COLOR_Background
CFGAS_GEColor(const FX_ARGB argb)
StateRestorer(CFGAS_GEGraphics *graphics)
void FillPath(const CFGAS_GEPath &path, CFX_FillRenderOptions::FillType fill_type, const CFX_Matrix &matrix)
void SetFillColor(const CFGAS_GEColor &color)
void AddRectangle(float left, float top, float width, float height)
~CFWL_ListBoxTP() override
void DrawBackground(const CFWL_ThemeBackground &pParams) override
CFGAS_GEGraphics * GetGraphics() const
constexpr FX_ARGB ArgbEncode(uint32_t a, uint32_t r, uint32_t g, uint32_t b)