![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cfwl_widgettp.h>
Classes | |
struct | CColorData |
Public Member Functions | |
virtual | ~CFWL_WidgetTP () |
virtual void | DrawBackground (const CFWL_ThemeBackground &pParams) |
virtual void | DrawText (const CFWL_ThemeText &pParams) |
void | Trace (cppgc::Visitor *visitor) const |
Protected Member Functions | |
CFWL_WidgetTP () | |
void | InitializeArrowColorData () |
void | EnsureTTOInitialized (IFWL_ThemeProvider *pProvider) |
void | DrawBorder (CFGAS_GEGraphics *pGraphics, const CFX_RectF &rect, const CFX_Matrix &matrix) |
void | FillBackground (CFGAS_GEGraphics *pGraphics, const CFX_RectF &rect, const CFX_Matrix &matrix) |
void | FillSolidRect (CFGAS_GEGraphics *pGraphics, FX_ARGB fillColor, const CFX_RectF &rect, const CFX_Matrix &matrix) |
void | DrawFocus (CFGAS_GEGraphics *pGraphics, 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) |
void | DrawBtn (CFGAS_GEGraphics *pGraphics, const CFX_RectF &rect, FWLTHEME_STATE eState, const CFX_Matrix &matrix) |
void | DrawArrowBtn (CFGAS_GEGraphics *pGraphics, const CFX_RectF &rect, FWLTHEME_DIRECTION eDict, FWLTHEME_STATE eState, const CFX_Matrix &matrix) |
Protected Attributes | |
std::unique_ptr< CFDE_TextOut > | m_pTextOut |
std::unique_ptr< CColorData > | m_pColorData |
Definition at line 29 of file cfwl_widgettp.h.
|
virtualdefault |
|
protecteddefault |
|
protected |
Definition at line 136 of file cfwl_widgettp.cpp.
References CFGAS_GEColor::CFGAS_GEColor(), CFGAS_GEGraphics::FillPath(), CFX_RectF::height, pdfium::kDown, pdfium::kLeft, pdfium::kRight, pdfium::kUp, CFX_FillRenderOptions::kWinding, CFX_RectF::left, CFGAS_GEPath::LineTo(), CFGAS_GEPath::MoveTo(), CFGAS_GEGraphics::SetFillColor(), CFX_RectF::top, and CFX_RectF::width.
|
protected |
Definition at line 200 of file cfwl_widgettp.cpp.
References DrawBtn(), and InitializeArrowColorData().
Referenced by pdfium::CFWL_ComboBoxTP::DrawBackground(), pdfium::CFWL_DateTimePickerTP::DrawBackground(), and pdfium::CFWL_MonthCalendarTP::DrawBackground().
|
virtual |
Reimplemented in CFWL_BarcodeTP, CFWL_CaretTP, CFWL_CheckBoxTP, CFWL_ComboBoxTP, CFWL_DateTimePickerTP, CFWL_EditTP, CFWL_ListBoxTP, CFWL_MonthCalendarTP, CFWL_PictureBoxTP, CFWL_PushButtonTP, CFWL_ScrollBarTP, pdfium::CFWL_BarcodeTP, pdfium::CFWL_CaretTP, pdfium::CFWL_CheckBoxTP, pdfium::CFWL_ComboBoxTP, pdfium::CFWL_DateTimePickerTP, pdfium::CFWL_EditTP, pdfium::CFWL_ListBoxTP, pdfium::CFWL_MonthCalendarTP, pdfium::CFWL_PictureBoxTP, pdfium::CFWL_PushButtonTP, and pdfium::CFWL_ScrollBarTP.
Definition at line 32 of file cfwl_widgettp.cpp.
|
protected |
Definition at line 83 of file cfwl_widgettp.cpp.
References CFGAS_GEColor::CFGAS_GEColor(), CFGAS_GEGraphics::StateRestorer::StateRestorer(), CFGAS_GEPath::AddRectangle(), ArgbEncode(), CFGAS_GEGraphics::FillPath(), CFX_RectF::height, CFX_FillRenderOptions::kEvenOdd, CFX_RectF::left, CFGAS_GEGraphics::SetFillColor(), CFX_RectF::top, and CFX_RectF::width.
Referenced by pdfium::CFWL_BarcodeTP::DrawBackground(), pdfium::CFWL_ComboBoxTP::DrawBackground(), pdfium::CFWL_DateTimePickerTP::DrawBackground(), pdfium::CFWL_EditTP::DrawBackground(), pdfium::CFWL_ListBoxTP::DrawBackground(), pdfium::CFWL_MonthCalendarTP::DrawBackground(), pdfium::CFWL_PictureBoxTP::DrawBackground(), and pdfium::CFWL_PushButtonTP::DrawBackground().
|
protected |
Definition at line 184 of file cfwl_widgettp.cpp.
References CFGAS_GEPath::AddRectangle(), CFX_RectF::height, InitializeArrowColorData(), CFX_RectF::left, CFGAS_GEGraphics::StrokePath(), CFX_RectF::top, and CFX_RectF::width.
Referenced by DrawArrowBtn().
|
protected |
Definition at line 120 of file cfwl_widgettp.cpp.
References CFGAS_GEColor::CFGAS_GEColor(), CFGAS_GEGraphics::StateRestorer::StateRestorer(), CFGAS_GEPath::AddRectangle(), CFX_RectF::height, CFX_RectF::left, CFGAS_GEGraphics::SetStrokeColor(), CFGAS_GEGraphics::StrokePath(), CFX_RectF::top, and CFX_RectF::width.
Referenced by pdfium::CFWL_PushButtonTP::DrawBackground().
|
virtual |
Reimplemented in CFWL_CheckBoxTP, CFWL_MonthCalendarTP, pdfium::CFWL_CheckBoxTP, and pdfium::CFWL_MonthCalendarTP.
Definition at line 34 of file cfwl_widgettp.cpp.
References CFX_Matrix::Concat(), EnsureTTOInitialized(), pdfium::CFWL_ThemeText::GetGraphics(), CFGAS_GEGraphics::GetMatrix(), pdfium::CFWL_ThemePart::GetWidget(), and pdfium::CFWL_ThemePart::m_matrix.
Referenced by pdfium::CFWL_CheckBoxTP::DrawText(), and pdfium::CFWL_MonthCalendarTP::DrawText().
|
protected |
Definition at line 73 of file cfwl_widgettp.cpp.
Referenced by pdfium::CFWL_CheckBoxTP::DrawText(), pdfium::CFWL_MonthCalendarTP::DrawText(), and DrawText().
|
protected |
Definition at line 99 of file cfwl_widgettp.cpp.
References FillSolidRect().
Referenced by pdfium::CFWL_BarcodeTP::DrawBackground().
|
protected |
Definition at line 105 of file cfwl_widgettp.cpp.
References CFGAS_GEColor::CFGAS_GEColor(), CFGAS_GEGraphics::StateRestorer::StateRestorer(), CFGAS_GEPath::AddRectangle(), CFGAS_GEGraphics::FillPath(), CFX_RectF::height, CFX_FillRenderOptions::kWinding, CFX_RectF::left, CFGAS_GEGraphics::SetFillColor(), CFX_RectF::top, and CFX_RectF::width.
Referenced by pdfium::CFWL_ListBoxTP::DrawBackground(), and FillBackground().
|
protected |
Definition at line 50 of file cfwl_widgettp.cpp.
Referenced by DrawArrowBtn(), and DrawBtn().
void pdfium::CFWL_WidgetTP::Trace | ( | cppgc::Visitor * | visitor | ) | const |
Definition at line 30 of file cfwl_widgettp.cpp.
|
protected |
Definition at line 81 of file cfwl_widgettp.h.
|
protected |
Definition at line 80 of file cfwl_widgettp.h.