• Home
Name Date Size #Lines LOC

..--

theme/03-May-2024-2,4131,928

README.mdD03-May-20241.6 KiB5948

cfwl_app.cppD03-May-2024724 2313

cfwl_app.hD03-May-20241.2 KiB4631

cfwl_barcode.cppD03-May-20246.5 KiB220178

cfwl_barcode.hD03-May-20242.6 KiB9371

cfwl_caret.cppD03-May-20243 KiB11183

cfwl_caret.hD03-May-20241.5 KiB5637

cfwl_checkbox.cppD03-May-202410.6 KiB361309

cfwl_checkbox.hD03-May-20242.3 KiB7657

cfwl_combobox.cppD03-May-202428.8 KiB1,017874

cfwl_combobox.hD03-May-20245.6 KiB160133

cfwl_comboboxproxy.cppD03-May-20243.1 KiB11392

cfwl_comboboxproxy.hD03-May-20241.2 KiB4225

cfwl_comboedit.cppD03-May-20241.9 KiB7559

cfwl_comboedit.hD03-May-2024886 3620

cfwl_combolist.cppD03-May-20246.9 KiB242210

cfwl_combolist.hD03-May-20241.3 KiB4426

cfwl_datetimeedit.cppD03-May-20242 KiB6146

cfwl_datetimeedit.hD03-May-2024839 3016

cfwl_datetimepicker.cppD03-May-202417.6 KiB607516

cfwl_datetimepicker.hD03-May-20243.7 KiB10782

cfwl_edit.cppD03-May-202442 KiB1,4441,239

cfwl_edit.hD03-May-20245.8 KiB179151

cfwl_edit_embeddertest.cppD03-May-20242.6 KiB8057

cfwl_event.cppD03-May-2024707 2110

cfwl_event.hD03-May-20241.1 KiB5237

cfwl_eventcheckword.cppD03-May-2024459 134

cfwl_eventcheckword.hD03-May-2024590 2211

cfwl_eventmouse.cppD03-May-2024610 177

cfwl_eventmouse.hD03-May-2024623 2211

cfwl_eventscroll.cppD03-May-2024441 134

cfwl_eventscroll.hD03-May-2024736 3523

cfwl_eventselectchanged.cppD03-May-2024483 134

cfwl_eventselectchanged.hD03-May-2024696 2713

cfwl_eventtarget.cppD03-May-2024919 3219

cfwl_eventtarget.hD03-May-2024822 3520

cfwl_eventtextchanged.cppD03-May-2024471 134

cfwl_eventtextchanged.hD03-May-2024587 2110

cfwl_eventvalidate.cppD03-May-2024453 134

cfwl_eventvalidate.hD03-May-2024585 2211

cfwl_form.cppD03-May-20246.1 KiB251203

cfwl_form.hD03-May-20241.9 KiB6748

cfwl_formproxy.cppD03-May-20241.1 KiB4125

cfwl_formproxy.hD03-May-2024946 3218

cfwl_listbox.cppD03-May-202426.7 KiB941825

cfwl_listbox.hD03-May-20244.8 KiB136113

cfwl_listitem.cppD03-May-2024427 156

cfwl_listitem.hD03-May-2024879 3319

cfwl_message.cppD03-May-2024814 2513

cfwl_message.hD03-May-2024921 3721

cfwl_messagekey.cppD03-May-2024679 2210

cfwl_messagekey.hD03-May-2024759 3015

cfwl_messagekillfocus.cppD03-May-2024862 2512

cfwl_messagekillfocus.hD03-May-2024757 2713

cfwl_messagemouse.cppD03-May-2024780 2411

cfwl_messagemouse.hD03-May-2024987 4328

cfwl_messagemousewheel.cppD03-May-2024843 2512

cfwl_messagemousewheel.hD03-May-2024836 3016

cfwl_messagesetfocus.cppD03-May-2024729 2210

cfwl_messagesetfocus.hD03-May-2024663 2411

cfwl_monthcalendar.cppD03-May-202427.8 KiB897788

cfwl_monthcalendar.hD03-May-20245.6 KiB187163

cfwl_notedriver.cppD03-May-202412.9 KiB449382

cfwl_notedriver.hD03-May-20242.5 KiB8058

cfwl_noteloop.cppD03-May-2024337 102

cfwl_noteloop.hD03-May-2024723 2816

cfwl_picturebox.cppD03-May-20241.3 KiB5134

cfwl_picturebox.hD03-May-2024973 3722

cfwl_pushbutton.cppD03-May-20246.7 KiB231199

cfwl_pushbutton.hD03-May-20241.6 KiB5538

cfwl_scrollbar.cppD03-May-202415.1 KiB495424

cfwl_scrollbar.hD03-May-20244.4 KiB140119

cfwl_themebackground.hD03-May-2024776 3016

cfwl_themepart.cppD03-May-2024544 1911

cfwl_themepart.hD03-May-20241.7 KiB9579

cfwl_themetext.hD03-May-2024676 2514

cfwl_timer.cppD03-May-20241 KiB3622

cfwl_timer.hD03-May-2024717 2916

cfwl_timerinfo.cppD03-May-2024511 209

cfwl_timerinfo.hD03-May-2024642 2714

cfwl_widget.cppD03-May-202417.7 KiB617520

cfwl_widget.hD03-May-20246 KiB191158

cfwl_widgetmgr.cppD03-May-202418.2 KiB617521

cfwl_widgetmgr.hD03-May-20243.9 KiB12392

cfwl_widgetproperties.cppD03-May-2024554 189

cfwl_widgetproperties.hD03-May-2024843 3321

cfx_barcode.cppD03-May-20248.1 KiB305270

cfx_barcode.hD03-May-20241.5 KiB6341

cfx_barcode_unittest.cppD03-May-20243.9 KiB146119

fwl_widgetdef.hD03-May-20245.6 KiB198187

fwl_widgethit.hD03-May-2024623 3627

ifwl_adaptertimermgr.hD03-May-2024670 2212

ifwl_themeprovider.hD03-May-20241.4 KiB3927

ifwl_widgetdelegate.hD03-May-2024769 2816

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_FormProxy
9            * CFWL_ComboBoxProxy
10    * CFWL_Caret
11    * CFWL_CheckBox
12    * CFWL_ComboBox
13    * CFWL_DateTimePicker
14    * CFWL_Edit
15        * CFWL_Barcode
16        * CFWL_ComboEdit
17        * CFWL_DateTimeEdit
18    * CFWL_ListBox
19        * CFWL_ComboList
20    * CFWL_MonthCalendar
21    * CFWL_PictureBox
22    * CFWL_PushButton
23    * CFWL_ScrollBar
24    * CFWL_SpinButton
25
26These CFWL widgets are instantiated by and closely related to the CXFA classes
27in the xfa/fxfa directory. See xfa/fxfa/README.md.
28
29CFWL_Widget implements IFWL_WidgetDelegate through which it receives messages,
30events and draw calls.
31
32Messages consist of user input for a widget to handle. Each type of message is
33identified by an enum value in Message::Type and has its own class derived from
34the base CFWL_Message.
35
36* CFWL_Message
37    * CFWL_MessageKey
38    * CFWL_MessageKillFocus
39    * CFWL_MessageMouse
40    * CFWL_MessageMouseWheel
41    * CFWL_MessageSetFocus
42
43Events are originated in the widgets and are then handled by other CFWL_Widget
44and CXFA classes.
45
46* CFWL_Event
47    * CFWL_EventCheckWord
48    * CFWL_EventMouse
49    * CFWL_EventScroll
50    * CFWL_EventSelectChanged
51    * CFWL_EventTextChanged
52    * CFWL_EventValidate
53
54The widgets use IFWL_ThemeProvider for rendering everything, calling
55DrawBackground() and DrawText() and passing many options in their parameters,
56respectively of types CFWL_ThemeBackground and CFWL_ThemeText. See
57xfa/fwl/theme/README.md.
58
59