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