• Home
Name Date Size #Lines LOC

..--

theme/03-May-2024-1,8831,443

BUILD.gnD03-May-20243.4 KiB135130

DEPSD03-May-2024102 54

README.mdD03-May-20241.6 KiB5746

cfwl_app.cppD03-May-2024979 3120

cfwl_app.hD03-May-20241.8 KiB5842

cfwl_barcode.cppD03-May-20245.3 KiB191149

cfwl_barcode.hD03-May-20242.3 KiB8057

cfwl_caret.cppD03-May-20242.3 KiB8861

cfwl_caret.hD03-May-20241.2 KiB4526

cfwl_checkbox.cppD03-May-20249.6 KiB321274

cfwl_checkbox.hD03-May-20242.4 KiB7657

cfwl_combobox.cppD03-May-202415.4 KiB530460

cfwl_combobox.hD03-May-20244.5 KiB126103

cfwl_comboedit.cppD03-May-20241.6 KiB5744

cfwl_comboedit.hD03-May-2024777 3117

cfwl_combolist.cppD03-May-20246.8 KiB230199

cfwl_combolist.hD03-May-20241.2 KiB4125

cfwl_datetimeedit.cppD03-May-20241.6 KiB4330

cfwl_datetimeedit.hD03-May-2024754 2815

cfwl_datetimepicker.cppD03-May-202413.3 KiB466391

cfwl_datetimepicker.hD03-May-20243.8 KiB11490

cfwl_edit.cppD03-May-202432.6 KiB1,119955

cfwl_edit.hD03-May-20245.5 KiB167139

cfwl_edit_embeddertest.cppD03-May-202410.8 KiB314214

cfwl_event.cppD03-May-2024672 209

cfwl_event.hD03-May-20241.1 KiB4934

cfwl_eventmouse.cppD03-May-2024585 167

cfwl_eventmouse.hD03-May-2024775 2715

cfwl_eventscroll.cppD03-May-2024569 178

cfwl_eventscroll.hD03-May-2024857 3926

cfwl_eventselectchanged.cppD03-May-20241 KiB2818

cfwl_eventselectchanged.hD03-May-20241.1 KiB3923

cfwl_eventtextwillchange.cppD03-May-2024758 2213

cfwl_eventtextwillchange.hD03-May-20241.6 KiB4936

cfwl_eventvalidate.cppD03-May-2024538 156

cfwl_eventvalidate.hD03-May-2024826 2816

cfwl_listbox.cppD03-May-202424.5 KiB868753

cfwl_listbox.hD03-May-20244.8 KiB144120

cfwl_message.cppD03-May-2024412 134

cfwl_message.hD03-May-20241 KiB3923

cfwl_messagekey.cppD03-May-2024684 1910

cfwl_messagekey.hD03-May-2024863 3018

cfwl_messagekillfocus.cppD03-May-2024464 134

cfwl_messagekillfocus.hD03-May-2024760 2715

cfwl_messagemouse.cppD03-May-2024676 1910

cfwl_messagemouse.hD03-May-20241 KiB4230

cfwl_messagemousewheel.cppD03-May-2024652 178

cfwl_messagemousewheel.hD03-May-2024903 3118

cfwl_messagesetfocus.cppD03-May-2024458 134

cfwl_messagesetfocus.hD03-May-2024547 199

cfwl_monthcalendar.cppD03-May-202423.4 KiB741647

cfwl_monthcalendar.hD03-May-20244.9 KiB161135

cfwl_notedriver.cppD03-May-20248.1 KiB279233

cfwl_notedriver.hD03-May-20242.4 KiB7555

cfwl_picturebox.cppD03-May-20241,007 3823

cfwl_picturebox.hD03-May-2024922 3420

cfwl_pushbutton.cppD03-May-20246.5 KiB218186

cfwl_pushbutton.hD03-May-20241.6 KiB5437

cfwl_scrollbar.cppD03-May-202415 KiB469399

cfwl_scrollbar.hD03-May-20244.6 KiB131109

cfwl_themebackground.cppD03-May-2024581 156

cfwl_themebackground.hD03-May-20241 KiB3622

cfwl_themepart.cppD03-May-2024753 2313

cfwl_themepart.hD03-May-20242.1 KiB10788

cfwl_themetext.cppD03-May-2024527 156

cfwl_themetext.hD03-May-2024965 3621

cfwl_widget.cppD03-May-202410.1 KiB354290

cfwl_widget.hD03-May-20246.5 KiB207167

cfwl_widgetmgr.cppD03-May-20247.3 KiB244195

cfwl_widgetmgr.hD03-May-20243.2 KiB10272

fwl_widgetdef.hD03-May-20245.6 KiB199184

fwl_widgethit.hD03-May-2024605 3627

ifwl_themeprovider.cppD03-May-20243.2 KiB9078

ifwl_themeprovider.hD03-May-20242.4 KiB6750

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