Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
theme/ | 03-May-2024 | - | 2,163 | 1,709 | ||
BUILD.gn | D | 03-May-2024 | 3.3 KiB | 131 | 126 | |
README.md | D | 03-May-2024 | 1.6 KiB | 57 | 46 | |
cfwl_app.cpp | D | 03-May-2024 | 721 | 23 | 13 | |
cfwl_app.h | D | 03-May-2024 | 1.4 KiB | 52 | 36 | |
cfwl_barcode.cpp | D | 03-May-2024 | 6.2 KiB | 211 | 169 | |
cfwl_barcode.h | D | 03-May-2024 | 2.6 KiB | 90 | 68 | |
cfwl_caret.cpp | D | 03-May-2024 | 2.7 KiB | 99 | 72 | |
cfwl_caret.h | D | 03-May-2024 | 1.4 KiB | 49 | 30 | |
cfwl_checkbox.cpp | D | 03-May-2024 | 9.7 KiB | 336 | 284 | |
cfwl_checkbox.h | D | 03-May-2024 | 2.3 KiB | 74 | 56 | |
cfwl_combobox.cpp | D | 03-May-2024 | 16.9 KiB | 589 | 507 | |
cfwl_combobox.h | D | 03-May-2024 | 4.5 KiB | 131 | 105 | |
cfwl_comboedit.cpp | D | 03-May-2024 | 1.8 KiB | 75 | 58 | |
cfwl_comboedit.h | D | 03-May-2024 | 884 | 34 | 19 | |
cfwl_combolist.cpp | D | 03-May-2024 | 6.9 KiB | 242 | 210 | |
cfwl_combolist.h | D | 03-May-2024 | 1.3 KiB | 42 | 26 | |
cfwl_datetimeedit.cpp | D | 03-May-2024 | 1.6 KiB | 47 | 33 | |
cfwl_datetimeedit.h | D | 03-May-2024 | 810 | 28 | 15 | |
cfwl_datetimepicker.cpp | D | 03-May-2024 | 14.1 KiB | 495 | 414 | |
cfwl_datetimepicker.h | D | 03-May-2024 | 3.6 KiB | 109 | 85 | |
cfwl_edit.cpp | D | 03-May-2024 | 39 KiB | 1,341 | 1,144 | |
cfwl_edit.h | D | 03-May-2024 | 5.7 KiB | 174 | 146 | |
cfwl_edit_embeddertest.cpp | D | 03-May-2024 | 8.2 KiB | 243 | 184 | |
cfwl_event.cpp | D | 03-May-2024 | 690 | 20 | 9 | |
cfwl_event.h | D | 03-May-2024 | 1.1 KiB | 46 | 33 | |
cfwl_eventmouse.cpp | D | 03-May-2024 | 610 | 17 | 7 | |
cfwl_eventmouse.h | D | 03-May-2024 | 703 | 23 | 12 | |
cfwl_eventscroll.cpp | D | 03-May-2024 | 441 | 13 | 4 | |
cfwl_eventscroll.h | D | 03-May-2024 | 762 | 35 | 23 | |
cfwl_eventselectchanged.cpp | D | 03-May-2024 | 483 | 13 | 4 | |
cfwl_eventselectchanged.h | D | 03-May-2024 | 725 | 27 | 13 | |
cfwl_eventtarget.cpp | D | 03-May-2024 | 905 | 32 | 19 | |
cfwl_eventtarget.h | D | 03-May-2024 | 835 | 35 | 20 | |
cfwl_eventtextwillchange.cpp | D | 03-May-2024 | 497 | 13 | 4 | |
cfwl_eventtextwillchange.h | D | 03-May-2024 | 724 | 25 | 14 | |
cfwl_eventvalidate.cpp | D | 03-May-2024 | 453 | 13 | 4 | |
cfwl_eventvalidate.h | D | 03-May-2024 | 599 | 22 | 11 | |
cfwl_listbox.cpp | D | 03-May-2024 | 26.6 KiB | 934 | 815 | |
cfwl_listbox.h | D | 03-May-2024 | 4.9 KiB | 136 | 113 | |
cfwl_listitem.cpp | D | 03-May-2024 | 387 | 12 | 3 | |
cfwl_listitem.h | D | 03-May-2024 | 883 | 33 | 19 | |
cfwl_message.cpp | D | 03-May-2024 | 535 | 15 | 6 | |
cfwl_message.h | D | 03-May-2024 | 1.2 KiB | 41 | 26 | |
cfwl_messagekey.cpp | D | 03-May-2024 | 738 | 23 | 12 | |
cfwl_messagekey.h | D | 03-May-2024 | 797 | 30 | 17 | |
cfwl_messagekillfocus.cpp | D | 03-May-2024 | 745 | 21 | 9 | |
cfwl_messagekillfocus.h | D | 03-May-2024 | 852 | 30 | 17 | |
cfwl_messagemouse.cpp | D | 03-May-2024 | 964 | 28 | 16 | |
cfwl_messagemouse.h | D | 03-May-2024 | 1 KiB | 43 | 30 | |
cfwl_messagemousewheel.cpp | D | 03-May-2024 | 810 | 23 | 12 | |
cfwl_messagemousewheel.h | D | 03-May-2024 | 822 | 29 | 17 | |
cfwl_messagesetfocus.cpp | D | 03-May-2024 | 615 | 19 | 7 | |
cfwl_messagesetfocus.h | D | 03-May-2024 | 600 | 21 | 10 | |
cfwl_monthcalendar.cpp | D | 03-May-2024 | 25.2 KiB | 823 | 720 | |
cfwl_monthcalendar.h | D | 03-May-2024 | 5.6 KiB | 182 | 158 | |
cfwl_notedriver.cpp | D | 03-May-2024 | 8.5 KiB | 293 | 249 | |
cfwl_notedriver.h | D | 03-May-2024 | 2 KiB | 62 | 44 | |
cfwl_picturebox.cpp | D | 03-May-2024 | 1.3 KiB | 48 | 31 | |
cfwl_picturebox.h | D | 03-May-2024 | 960 | 35 | 21 | |
cfwl_pushbutton.cpp | D | 03-May-2024 | 6.8 KiB | 232 | 199 | |
cfwl_pushbutton.h | D | 03-May-2024 | 1.6 KiB | 53 | 37 | |
cfwl_scrollbar.cpp | D | 03-May-2024 | 14.4 KiB | 470 | 401 | |
cfwl_scrollbar.h | D | 03-May-2024 | 4.5 KiB | 135 | 114 | |
cfwl_themebackground.h | D | 03-May-2024 | 811 | 30 | 16 | |
cfwl_themepart.cpp | D | 03-May-2024 | 499 | 16 | 8 | |
cfwl_themepart.h | D | 03-May-2024 | 1.7 KiB | 94 | 78 | |
cfwl_themetext.h | D | 03-May-2024 | 707 | 25 | 14 | |
cfwl_widget.cpp | D | 03-May-2024 | 11.6 KiB | 403 | 335 | |
cfwl_widget.h | D | 03-May-2024 | 5.9 KiB | 192 | 156 | |
cfwl_widgetmgr.cpp | D | 03-May-2024 | 11.1 KiB | 387 | 319 | |
cfwl_widgetmgr.h | D | 03-May-2024 | 3.3 KiB | 106 | 79 | |
cfwl_widgetproperties.cpp | D | 03-May-2024 | 404 | 12 | 3 | |
cfwl_widgetproperties.h | D | 03-May-2024 | 914 | 32 | 20 | |
fwl_widgetdef.h | D | 03-May-2024 | 5.8 KiB | 199 | 186 | |
fwl_widgethit.h | D | 03-May-2024 | 623 | 36 | 27 | |
ifwl_themeprovider.h | D | 03-May-2024 | 1.5 KiB | 42 | 30 | |
ifwl_widgetdelegate.h | D | 03-May-2024 | 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