• Home
Name Date Size #Lines LOC

..--

theme/03-May-2024-2,1631,709

BUILD.gnD03-May-20243.3 KiB131126

README.mdD03-May-20241.6 KiB5746

cfwl_app.cppD03-May-2024721 2313

cfwl_app.hD03-May-20241.4 KiB5236

cfwl_barcode.cppD03-May-20246.2 KiB211169

cfwl_barcode.hD03-May-20242.6 KiB9068

cfwl_caret.cppD03-May-20242.7 KiB9972

cfwl_caret.hD03-May-20241.4 KiB4930

cfwl_checkbox.cppD03-May-20249.7 KiB336284

cfwl_checkbox.hD03-May-20242.3 KiB7456

cfwl_combobox.cppD03-May-202416.9 KiB589507

cfwl_combobox.hD03-May-20244.5 KiB131105

cfwl_comboedit.cppD03-May-20241.8 KiB7558

cfwl_comboedit.hD03-May-2024884 3419

cfwl_combolist.cppD03-May-20246.9 KiB242210

cfwl_combolist.hD03-May-20241.3 KiB4226

cfwl_datetimeedit.cppD03-May-20241.6 KiB4733

cfwl_datetimeedit.hD03-May-2024810 2815

cfwl_datetimepicker.cppD03-May-202414.1 KiB495414

cfwl_datetimepicker.hD03-May-20243.6 KiB10985

cfwl_edit.cppD03-May-202439 KiB1,3411,144

cfwl_edit.hD03-May-20245.7 KiB174146

cfwl_edit_embeddertest.cppD03-May-20248.2 KiB243184

cfwl_event.cppD03-May-2024690 209

cfwl_event.hD03-May-20241.1 KiB4633

cfwl_eventmouse.cppD03-May-2024610 177

cfwl_eventmouse.hD03-May-2024703 2312

cfwl_eventscroll.cppD03-May-2024441 134

cfwl_eventscroll.hD03-May-2024762 3523

cfwl_eventselectchanged.cppD03-May-2024483 134

cfwl_eventselectchanged.hD03-May-2024725 2713

cfwl_eventtarget.cppD03-May-2024905 3219

cfwl_eventtarget.hD03-May-2024835 3520

cfwl_eventtextwillchange.cppD03-May-2024497 134

cfwl_eventtextwillchange.hD03-May-2024724 2514

cfwl_eventvalidate.cppD03-May-2024453 134

cfwl_eventvalidate.hD03-May-2024599 2211

cfwl_listbox.cppD03-May-202426.6 KiB934815

cfwl_listbox.hD03-May-20244.9 KiB136113

cfwl_listitem.cppD03-May-2024387 123

cfwl_listitem.hD03-May-2024883 3319

cfwl_message.cppD03-May-2024535 156

cfwl_message.hD03-May-20241.2 KiB4126

cfwl_messagekey.cppD03-May-2024738 2312

cfwl_messagekey.hD03-May-2024797 3017

cfwl_messagekillfocus.cppD03-May-2024745 219

cfwl_messagekillfocus.hD03-May-2024852 3017

cfwl_messagemouse.cppD03-May-2024964 2816

cfwl_messagemouse.hD03-May-20241 KiB4330

cfwl_messagemousewheel.cppD03-May-2024810 2312

cfwl_messagemousewheel.hD03-May-2024822 2917

cfwl_messagesetfocus.cppD03-May-2024615 197

cfwl_messagesetfocus.hD03-May-2024600 2110

cfwl_monthcalendar.cppD03-May-202425.2 KiB823720

cfwl_monthcalendar.hD03-May-20245.6 KiB182158

cfwl_notedriver.cppD03-May-20248.5 KiB293249

cfwl_notedriver.hD03-May-20242 KiB6244

cfwl_picturebox.cppD03-May-20241.3 KiB4831

cfwl_picturebox.hD03-May-2024960 3521

cfwl_pushbutton.cppD03-May-20246.8 KiB232199

cfwl_pushbutton.hD03-May-20241.6 KiB5337

cfwl_scrollbar.cppD03-May-202414.4 KiB470401

cfwl_scrollbar.hD03-May-20244.5 KiB135114

cfwl_themebackground.hD03-May-2024811 3016

cfwl_themepart.cppD03-May-2024499 168

cfwl_themepart.hD03-May-20241.7 KiB9478

cfwl_themetext.hD03-May-2024707 2514

cfwl_widget.cppD03-May-202411.6 KiB403335

cfwl_widget.hD03-May-20245.9 KiB192156

cfwl_widgetmgr.cppD03-May-202411.1 KiB387319

cfwl_widgetmgr.hD03-May-20243.3 KiB10679

cfwl_widgetproperties.cppD03-May-2024404 123

cfwl_widgetproperties.hD03-May-2024914 3220

fwl_widgetdef.hD03-May-20245.8 KiB199186

fwl_widgethit.hD03-May-2024623 3627

ifwl_themeprovider.hD03-May-20241.5 KiB4230

ifwl_widgetdelegate.hD03-May-2024777 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_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