Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cfwl_monthcalendartp.h
Go to the documentation of this file.
1// Copyright 2014 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#ifndef XFA_FWL_THEME_CFWL_MONTHCALENDARTP_H_
8#define XFA_FWL_THEME_CFWL_MONTHCALENDARTP_H_
9
10#include "fxjs/gc/heap.h"
11#include "xfa/fwl/theme/cfwl_widgettp.h"
12
13namespace pdfium {
14
15class CFWL_MonthCalendarTP final : public CFWL_WidgetTP {
16 public:
19
20 // CFWL_WidgetTP:
21 void DrawBackground(const CFWL_ThemeBackground& pParams) override;
22 void DrawText(const CFWL_ThemeText& pParams) override;
23
24 private:
25 CFWL_MonthCalendarTP();
26
27 void DrawTotalBK(const CFWL_ThemeBackground& pParams,
28 const CFX_Matrix& matrix);
29 void DrawHeadBk(const CFWL_ThemeBackground& pParams,
30 const CFX_Matrix& matrix);
31 void DrawLButton(const CFWL_ThemeBackground& pParams,
32 const CFX_Matrix& matrix);
33 void DrawRButton(const CFWL_ThemeBackground& pParams,
34 const CFX_Matrix& matrix);
35 void DrawDatesInBK(const CFWL_ThemeBackground& pParams,
36 const CFX_Matrix& matrix);
37 void DrawDatesInCircle(const CFWL_ThemeBackground& pParams,
38 const CFX_Matrix& matrix);
39 void DrawTodayCircle(const CFWL_ThemeBackground& pParams,
40 const CFX_Matrix& matrix);
41 void DrawHSeparator(const CFWL_ThemeBackground& pParams,
42 const CFX_Matrix& matrix);
43 void DrawWeekNumSep(const CFWL_ThemeBackground& pParams,
44 const CFX_Matrix& matrix);
45};
46
47} // namespace pdfium
48
49// TODO(crbug.com/42271761): Remove.
50using pdfium::CFWL_MonthCalendarTP;
51
52#endif // XFA_FWL_THEME_CFWL_MONTHCALENDARTP_H_
~CFWL_BarcodeTP() override
void DrawBackground(const CFWL_ThemeBackground &pParams) override
void DrawBackground(const CFWL_ThemeBackground &pParams) override
~CFWL_CaretTP() override
void DrawBackground(const CFWL_ThemeBackground &pParams) override
void DrawText(const CFWL_ThemeText &pParams) override
void DrawBackground(const CFWL_ThemeBackground &pParams) override
void DrawBackground(const CFWL_ThemeBackground &pParams) override
void DrawBackground(const CFWL_ThemeBackground &pParams) override
~CFWL_EditTP() override
void DrawBackground(const CFWL_ThemeBackground &pParams) override
~CFWL_ListBoxTP() override
void DrawBackground(const CFWL_ThemeBackground &pParams) override
void DrawText(const CFWL_ThemeText &pParams) override
void FillBackground(CFGAS_GEGraphics *pGraphics, const CFX_RectF &rect, const CFX_Matrix &matrix)
virtual void DrawBackground(const CFWL_ThemeBackground &pParams)
void DrawFocus(CFGAS_GEGraphics *pGraphics, const CFX_RectF &rect, const CFX_Matrix &matrix)
void EnsureTTOInitialized(IFWL_ThemeProvider *pProvider)
void DrawBtn(CFGAS_GEGraphics *pGraphics, const CFX_RectF &rect, FWLTHEME_STATE eState, const CFX_Matrix &matrix)
std::unique_ptr< CColorData > m_pColorData
virtual void DrawText(const CFWL_ThemeText &pParams)
std::unique_ptr< CFDE_TextOut > m_pTextOut
void DrawBorder(CFGAS_GEGraphics *pGraphics, const CFX_RectF &rect, const CFX_Matrix &matrix)
void Trace(cppgc::Visitor *visitor) const
void DrawArrowBtn(CFGAS_GEGraphics *pGraphics, const CFX_RectF &rect, FWLTHEME_DIRECTION eDict, FWLTHEME_STATE eState, const CFX_Matrix &matrix)
void FillSolidRect(CFGAS_GEGraphics *pGraphics, FX_ARGB fillColor, const CFX_RectF &rect, const CFX_Matrix &matrix)
void DrawArrow(CFGAS_GEGraphics *pGraphics, const CFX_RectF &rect, FWLTHEME_DIRECTION eDict, FX_ARGB argSign, const CFX_Matrix &matrix)
virtual FWL_Type GetClassID() const =0
CFWL_WidgetTP * GetTheme(const CFWL_Widget *pWidget) const
void Trace(cppgc::Visitor *visitor) const override
IFWL_ThemeProvider(cppgc::Heap *pHeap)
uint32_t FX_ARGB
Definition fx_dib.h:36
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Definition heap.h:32
Definition heap.h:12
FWLTHEME_DIRECTION
Definition cfwl_utils.h:19
FWLTHEME_STATE
Definition cfwl_utils.h:17
std::array< FX_ARGB, 4 > clrStart
std::array< FX_ARGB, 4 > clrBorder
std::array< FX_ARGB, 4 > clrSign
std::array< FX_ARGB, 4 > clrEnd