1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
README.md Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_barcodetp.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_barcodetp.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_carettp.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_carettp.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_checkboxtp.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_checkboxtp.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_comboboxtp.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_comboboxtp.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_datetimepickertp.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_datetimepickertp.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_edittp.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_edittp.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_listboxtp.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_listboxtp.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_monthcalendartp.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_monthcalendartp.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_pictureboxtp.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_pictureboxtp.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_pushbuttontp.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_pushbuttontp.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_scrollbartp.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_scrollbartp.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_utils.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_widgettp.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
cfwl_widgettp.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

README.md

xfa/fwl/theme contains code for rendering XFA widgets.

TP stands for Theme Part.

CFWL_WidgetTP contains much of the code common to more than one widget.

The other CFWL_TP classes derive from it and know how to draw the pieces specific to their respective widget.

The inheritance hierarchy for this directory is:

  • CFWL_WidgetTP
    • CFWL_BarcodeTP
    • CFWL_CaretTP
    • CFWL_CheckboxTP
    • CFWL_ComboBowTP
    • CFWL_DateTimePickerTP
    • CFWL_EditTP
    • CFWL_ListBoxTP
    • CFWL_MonthCalendarTP
    • CFWL_PictureBoxTP
    • CFWL_PushButtonTP
    • CFWL_ScrollBarTP

All these widget TP classes are composed into CXFA_FWLTheme, which implements IFWL_ThemeProvider (and is the only class that does). CXFA_FWLTheme receives DrawBackground() calls from CFWL widgets to draw themselves and routes them to the TP (Theme Part) corresponding to that widget.