Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
theme/ | 04-Jul-2025 | - | 2,024 | 1,506 | ||
BUILD.gn | D | 04-Jul-2025 | 3.4 KiB | 135 | 130 | |
DEPS | D | 04-Jul-2025 | 102 | 5 | 4 | |
README.md | D | 04-Jul-2025 | 1.6 KiB | 57 | 46 | |
cfwl_app.cpp | D | 04-Jul-2025 | 1,023 | 35 | 22 | |
cfwl_app.h | D | 04-Jul-2025 | 1.9 KiB | 65 | 45 | |
cfwl_barcode.cpp | D | 04-Jul-2025 | 5.2 KiB | 189 | 146 | |
cfwl_barcode.h | D | 04-Jul-2025 | 2.2 KiB | 85 | 58 | |
cfwl_caret.cpp | D | 04-Jul-2025 | 2.3 KiB | 92 | 63 | |
cfwl_caret.h | D | 04-Jul-2025 | 1.3 KiB | 52 | 29 | |
cfwl_checkbox.cpp | D | 04-Jul-2025 | 9.7 KiB | 326 | 277 | |
cfwl_checkbox.h | D | 04-Jul-2025 | 2.5 KiB | 83 | 60 | |
cfwl_combobox.cpp | D | 04-Jul-2025 | 15.5 KiB | 534 | 462 | |
cfwl_combobox.h | D | 04-Jul-2025 | 4.6 KiB | 133 | 106 | |
cfwl_comboedit.cpp | D | 04-Jul-2025 | 1.7 KiB | 61 | 46 | |
cfwl_comboedit.h | D | 04-Jul-2025 | 889 | 38 | 20 | |
cfwl_combolist.cpp | D | 04-Jul-2025 | 6.9 KiB | 234 | 201 | |
cfwl_combolist.h | D | 04-Jul-2025 | 1.3 KiB | 48 | 28 | |
cfwl_datetimeedit.cpp | D | 04-Jul-2025 | 1.6 KiB | 47 | 32 | |
cfwl_datetimeedit.h | D | 04-Jul-2025 | 869 | 35 | 18 | |
cfwl_datetimepicker.cpp | D | 04-Jul-2025 | 13.3 KiB | 470 | 393 | |
cfwl_datetimepicker.h | D | 04-Jul-2025 | 3.9 KiB | 121 | 93 | |
cfwl_edit.cpp | D | 04-Jul-2025 | 32.4 KiB | 1,115 | 949 | |
cfwl_edit.h | D | 04-Jul-2025 | 5.6 KiB | 175 | 142 | |
cfwl_edit_embeddertest.cpp | D | 04-Jul-2025 | 11.1 KiB | 327 | 228 | |
cfwl_event.cpp | D | 04-Jul-2025 | 716 | 24 | 11 | |
cfwl_event.h | D | 04-Jul-2025 | 1.3 KiB | 57 | 38 | |
cfwl_eventmouse.cpp | D | 04-Jul-2025 | 629 | 20 | 9 | |
cfwl_eventmouse.h | D | 04-Jul-2025 | 888 | 34 | 18 | |
cfwl_eventscroll.cpp | D | 04-Jul-2025 | 613 | 21 | 10 | |
cfwl_eventscroll.h | D | 04-Jul-2025 | 971 | 46 | 29 | |
cfwl_eventselectchanged.cpp | D | 04-Jul-2025 | 1.1 KiB | 32 | 20 | |
cfwl_eventselectchanged.h | D | 04-Jul-2025 | 1.2 KiB | 46 | 26 | |
cfwl_eventtextwillchange.cpp | D | 04-Jul-2025 | 802 | 26 | 15 | |
cfwl_eventtextwillchange.h | D | 04-Jul-2025 | 1.8 KiB | 56 | 39 | |
cfwl_eventvalidate.cpp | D | 04-Jul-2025 | 582 | 19 | 8 | |
cfwl_eventvalidate.h | D | 04-Jul-2025 | 942 | 35 | 19 | |
cfwl_listbox.cpp | D | 04-Jul-2025 | 24.5 KiB | 869 | 752 | |
cfwl_listbox.h | D | 04-Jul-2025 | 5 KiB | 152 | 124 | |
cfwl_message.cpp | D | 04-Jul-2025 | 456 | 17 | 6 | |
cfwl_message.h | D | 04-Jul-2025 | 1.1 KiB | 46 | 26 | |
cfwl_messagekey.cpp | D | 04-Jul-2025 | 728 | 23 | 12 | |
cfwl_messagekey.h | D | 04-Jul-2025 | 976 | 37 | 21 | |
cfwl_messagekillfocus.cpp | D | 04-Jul-2025 | 508 | 17 | 6 | |
cfwl_messagekillfocus.h | D | 04-Jul-2025 | 879 | 34 | 18 | |
cfwl_messagemouse.cpp | D | 04-Jul-2025 | 720 | 23 | 12 | |
cfwl_messagemouse.h | D | 04-Jul-2025 | 1.1 KiB | 49 | 33 | |
cfwl_messagemousewheel.cpp | D | 04-Jul-2025 | 696 | 21 | 10 | |
cfwl_messagemousewheel.h | D | 04-Jul-2025 | 1,023 | 38 | 21 | |
cfwl_messagesetfocus.cpp | D | 04-Jul-2025 | 502 | 17 | 6 | |
cfwl_messagesetfocus.h | D | 04-Jul-2025 | 665 | 26 | 12 | |
cfwl_monthcalendar.cpp | D | 04-Jul-2025 | 23.6 KiB | 741 | 646 | |
cfwl_monthcalendar.h | D | 04-Jul-2025 | 5 KiB | 168 | 138 | |
cfwl_notedriver.cpp | D | 04-Jul-2025 | 8.1 KiB | 281 | 233 | |
cfwl_notedriver.h | D | 04-Jul-2025 | 2.5 KiB | 82 | 58 | |
cfwl_picturebox.cpp | D | 04-Jul-2025 | 1 KiB | 42 | 25 | |
cfwl_picturebox.h | D | 04-Jul-2025 | 1 KiB | 41 | 23 | |
cfwl_pushbutton.cpp | D | 04-Jul-2025 | 6.5 KiB | 222 | 188 | |
cfwl_pushbutton.h | D | 04-Jul-2025 | 1.7 KiB | 61 | 40 | |
cfwl_scrollbar.cpp | D | 04-Jul-2025 | 15 KiB | 472 | 400 | |
cfwl_scrollbar.h | D | 04-Jul-2025 | 4.7 KiB | 138 | 112 | |
cfwl_themebackground.cpp | D | 04-Jul-2025 | 625 | 19 | 8 | |
cfwl_themebackground.h | D | 04-Jul-2025 | 1.1 KiB | 43 | 25 | |
cfwl_themepart.cpp | D | 04-Jul-2025 | 797 | 27 | 15 | |
cfwl_themepart.h | D | 04-Jul-2025 | 2.2 KiB | 115 | 92 | |
cfwl_themetext.cpp | D | 04-Jul-2025 | 571 | 19 | 8 | |
cfwl_themetext.h | D | 04-Jul-2025 | 1.1 KiB | 43 | 24 | |
cfwl_widget.cpp | D | 04-Jul-2025 | 10.1 KiB | 358 | 292 | |
cfwl_widget.h | D | 04-Jul-2025 | 6.6 KiB | 215 | 171 | |
cfwl_widgetmgr.cpp | D | 04-Jul-2025 | 7.3 KiB | 248 | 197 | |
cfwl_widgetmgr.h | D | 04-Jul-2025 | 3.3 KiB | 110 | 75 | |
fwl_widgetdef.h | D | 04-Jul-2025 | 5.8 KiB | 207 | 188 | |
fwl_widgethit.h | D | 04-Jul-2025 | 716 | 43 | 30 | |
ifwl_themeprovider.cpp | D | 04-Jul-2025 | 3.3 KiB | 94 | 80 | |
ifwl_themeprovider.h | D | 04-Jul-2025 | 2.5 KiB | 75 | 53 | |
ifwl_widgetdelegate.h | D | 04-Jul-2025 | 949 | 36 | 19 |
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