tree: 76b4e5188899d5f2df59ccdf9aeadc9936620c6e [path history] [tgz]
  1. cfwl_barcodetp.cpp
  2. cfwl_barcodetp.h
  3. cfwl_carettp.cpp
  4. cfwl_carettp.h
  5. cfwl_checkboxtp.cpp
  6. cfwl_checkboxtp.h
  7. cfwl_comboboxtp.cpp
  8. cfwl_comboboxtp.h
  9. cfwl_datetimepickertp.cpp
  10. cfwl_datetimepickertp.h
  11. cfwl_edittp.cpp
  12. cfwl_edittp.h
  13. cfwl_listboxtp.cpp
  14. cfwl_listboxtp.h
  15. cfwl_monthcalendartp.cpp
  16. cfwl_monthcalendartp.h
  17. cfwl_pictureboxtp.cpp
  18. cfwl_pictureboxtp.h
  19. cfwl_pushbuttontp.cpp
  20. cfwl_pushbuttontp.h
  21. cfwl_scrollbartp.cpp
  22. cfwl_scrollbartp.h
  23. cfwl_utils.h
  24. cfwl_widgettp.cpp
  25. cfwl_widgettp.h
  26. README.md
xfa/fwl/theme/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.