Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
theme/ | 23-Nov-2023 | - | 2,104 | 1,662 | ||
BUILD.gn | D | 23-Nov-2023 | 3.3 KiB | 131 | 126 | |
README.md | D | 23-Nov-2023 | 1.6 KiB | 57 | 46 | |
cfwl_app.cpp | D | 23-Nov-2023 | 721 | 23 | 13 | |
cfwl_app.h | D | 23-Nov-2023 | 1.4 KiB | 52 | 36 | |
cfwl_barcode.cpp | D | 23-Nov-2023 | 6.2 KiB | 211 | 169 | |
cfwl_barcode.h | D | 23-Nov-2023 | 2.6 KiB | 90 | 68 | |
cfwl_caret.cpp | D | 23-Nov-2023 | 2.7 KiB | 99 | 72 | |
cfwl_caret.h | D | 23-Nov-2023 | 1.4 KiB | 49 | 30 | |
cfwl_checkbox.cpp | D | 23-Nov-2023 | 9.7 KiB | 336 | 284 | |
cfwl_checkbox.h | D | 23-Nov-2023 | 2.3 KiB | 74 | 56 | |
cfwl_combobox.cpp | D | 23-Nov-2023 | 16.9 KiB | 589 | 507 | |
cfwl_combobox.h | D | 23-Nov-2023 | 4.5 KiB | 131 | 105 | |
cfwl_comboedit.cpp | D | 23-Nov-2023 | 1.8 KiB | 75 | 58 | |
cfwl_comboedit.h | D | 23-Nov-2023 | 884 | 34 | 19 | |
cfwl_combolist.cpp | D | 23-Nov-2023 | 6.9 KiB | 242 | 210 | |
cfwl_combolist.h | D | 23-Nov-2023 | 1.3 KiB | 42 | 26 | |
cfwl_datetimeedit.cpp | D | 23-Nov-2023 | 1.6 KiB | 47 | 33 | |
cfwl_datetimeedit.h | D | 23-Nov-2023 | 810 | 28 | 15 | |
cfwl_datetimepicker.cpp | D | 23-Nov-2023 | 14.1 KiB | 495 | 414 | |
cfwl_datetimepicker.h | D | 23-Nov-2023 | 3.6 KiB | 109 | 85 | |
cfwl_edit.cpp | D | 23-Nov-2023 | 39 KiB | 1,341 | 1,144 | |
cfwl_edit.h | D | 23-Nov-2023 | 5.7 KiB | 174 | 146 | |
cfwl_edit_embeddertest.cpp | D | 23-Nov-2023 | 8.2 KiB | 243 | 184 | |
cfwl_event.cpp | D | 23-Nov-2023 | 690 | 20 | 9 | |
cfwl_event.h | D | 23-Nov-2023 | 1.1 KiB | 46 | 33 | |
cfwl_eventmouse.cpp | D | 23-Nov-2023 | 610 | 17 | 7 | |
cfwl_eventmouse.h | D | 23-Nov-2023 | 703 | 23 | 12 | |
cfwl_eventscroll.cpp | D | 23-Nov-2023 | 441 | 13 | 4 | |
cfwl_eventscroll.h | D | 23-Nov-2023 | 762 | 35 | 23 | |
cfwl_eventselectchanged.cpp | D | 23-Nov-2023 | 483 | 13 | 4 | |
cfwl_eventselectchanged.h | D | 23-Nov-2023 | 725 | 27 | 13 | |
cfwl_eventtarget.cpp | D | 23-Nov-2023 | 905 | 32 | 19 | |
cfwl_eventtarget.h | D | 23-Nov-2023 | 835 | 35 | 20 | |
cfwl_eventtextwillchange.cpp | D | 23-Nov-2023 | 497 | 13 | 4 | |
cfwl_eventtextwillchange.h | D | 23-Nov-2023 | 724 | 25 | 14 | |
cfwl_eventvalidate.cpp | D | 23-Nov-2023 | 453 | 13 | 4 | |
cfwl_eventvalidate.h | D | 23-Nov-2023 | 599 | 22 | 11 | |
cfwl_listbox.cpp | D | 23-Nov-2023 | 26.6 KiB | 934 | 815 | |
cfwl_listbox.h | D | 23-Nov-2023 | 4.9 KiB | 136 | 113 | |
cfwl_listitem.cpp | D | 23-Nov-2023 | 387 | 12 | 3 | |
cfwl_listitem.h | D | 23-Nov-2023 | 883 | 33 | 19 | |
cfwl_message.cpp | D | 23-Nov-2023 | 535 | 15 | 6 | |
cfwl_message.h | D | 23-Nov-2023 | 1.2 KiB | 41 | 26 | |
cfwl_messagekey.cpp | D | 23-Nov-2023 | 738 | 23 | 12 | |
cfwl_messagekey.h | D | 23-Nov-2023 | 797 | 30 | 17 | |
cfwl_messagekillfocus.cpp | D | 23-Nov-2023 | 745 | 21 | 9 | |
cfwl_messagekillfocus.h | D | 23-Nov-2023 | 852 | 30 | 17 | |
cfwl_messagemouse.cpp | D | 23-Nov-2023 | 964 | 28 | 16 | |
cfwl_messagemouse.h | D | 23-Nov-2023 | 1 KiB | 43 | 30 | |
cfwl_messagemousewheel.cpp | D | 23-Nov-2023 | 810 | 23 | 12 | |
cfwl_messagemousewheel.h | D | 23-Nov-2023 | 822 | 29 | 17 | |
cfwl_messagesetfocus.cpp | D | 23-Nov-2023 | 615 | 19 | 7 | |
cfwl_messagesetfocus.h | D | 23-Nov-2023 | 600 | 21 | 10 | |
cfwl_monthcalendar.cpp | D | 23-Nov-2023 | 25.2 KiB | 823 | 720 | |
cfwl_monthcalendar.h | D | 23-Nov-2023 | 5.6 KiB | 182 | 158 | |
cfwl_notedriver.cpp | D | 23-Nov-2023 | 8.5 KiB | 293 | 249 | |
cfwl_notedriver.h | D | 23-Nov-2023 | 2 KiB | 62 | 44 | |
cfwl_picturebox.cpp | D | 23-Nov-2023 | 1.3 KiB | 48 | 31 | |
cfwl_picturebox.h | D | 23-Nov-2023 | 960 | 35 | 21 | |
cfwl_pushbutton.cpp | D | 23-Nov-2023 | 6.8 KiB | 232 | 199 | |
cfwl_pushbutton.h | D | 23-Nov-2023 | 1.6 KiB | 53 | 37 | |
cfwl_scrollbar.cpp | D | 23-Nov-2023 | 14.4 KiB | 470 | 401 | |
cfwl_scrollbar.h | D | 23-Nov-2023 | 4.5 KiB | 135 | 114 | |
cfwl_themebackground.h | D | 23-Nov-2023 | 811 | 30 | 16 | |
cfwl_themepart.cpp | D | 23-Nov-2023 | 499 | 16 | 8 | |
cfwl_themepart.h | D | 23-Nov-2023 | 1.7 KiB | 94 | 78 | |
cfwl_themetext.h | D | 23-Nov-2023 | 707 | 25 | 14 | |
cfwl_widget.cpp | D | 23-Nov-2023 | 11.6 KiB | 403 | 335 | |
cfwl_widget.h | D | 23-Nov-2023 | 5.9 KiB | 192 | 156 | |
cfwl_widgetmgr.cpp | D | 23-Nov-2023 | 11.1 KiB | 387 | 319 | |
cfwl_widgetmgr.h | D | 23-Nov-2023 | 3.3 KiB | 106 | 79 | |
cfwl_widgetproperties.cpp | D | 23-Nov-2023 | 404 | 12 | 3 | |
cfwl_widgetproperties.h | D | 23-Nov-2023 | 914 | 32 | 20 | |
fwl_widgetdef.h | D | 23-Nov-2023 | 5.8 KiB | 199 | 186 | |
fwl_widgethit.h | D | 23-Nov-2023 | 623 | 36 | 27 | |
ifwl_themeprovider.h | D | 23-Nov-2023 | 1.5 KiB | 42 | 30 | |
ifwl_widgetdelegate.h | D | 23-Nov-2023 | 777 | 28 | 16 |
README.md
1xfa/fwl is a Widget Library for XFA Forms. 2 3CFWL_Widget is the base class that widget classes extend. The derived widget 4classes are both controllers and renderers for each widget. The hierarchy is: 5 6* CFWL_Widget 7 * CFWL_Form 8 * CFWL_Caret 9 * CFWL_CheckBox 10 * CFWL_ComboBox 11 * CFWL_DateTimePicker 12 * CFWL_Edit 13 * CFWL_Barcode 14 * CFWL_ComboEdit 15 * CFWL_DateTimeEdit 16 * CFWL_ListBox 17 * CFWL_ComboList 18 * CFWL_MonthCalendar 19 * CFWL_PictureBox 20 * CFWL_PushButton 21 * CFWL_ScrollBar 22 * CFWL_SpinButton 23 24These CFWL widgets are instantiated by and closely related to the CXFA classes 25in the xfa/fxfa directory. See xfa/fxfa/README.md. 26 27CFWL_Widget implements IFWL_WidgetDelegate through which it receives messages, 28events and draw calls. 29 30Messages consist of user input for a widget to handle. Each type of message is 31identified by an enum value in Message::Type and has its own class derived from 32the base CFWL_Message. 33 34* CFWL_Message 35 * CFWL_MessageKey 36 * CFWL_MessageKillFocus 37 * CFWL_MessageMouse 38 * CFWL_MessageMouseWheel 39 * CFWL_MessageSetFocus 40 41Events are originated in the widgets and are then handled by other CFWL_Widget 42and CXFA classes. 43 44* CFWL_Event 45 * CFWL_EventCheckWord 46 * CFWL_EventMouse 47 * CFWL_EventScroll 48 * CFWL_EventSelectChanged 49 * CFWL_EventTextWillChange 50 * CFWL_EventValidate 51 52The widgets use IFWL_ThemeProvider for rendering everything, calling 53DrawBackground() and DrawText() and passing many options in their parameters, 54respectively of types CFWL_ThemeBackground and CFWL_ThemeText. See 55xfa/fwl/theme/README.md. 56 57