1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-13 00:38:32 -04:00
elinks/src/bfu
Kalle Olavi Niemitalo 3a7798d72b split_line: Define text_end only ifdef CONFIG_UTF8.
If CONFIG_UTF8 is not defined, then text_end is not used, and GCC
could warn about that.  Because configure can add -Werror to CFLAGS,
the warning could then cause the whole build to fail.
2006-12-03 22:23:42 +02:00
..
button.c Rename CONFIG_UTF_8 to CONFIG_UTF8. 2006-09-17 16:12:47 +03:00
button.h Added format_only parameter for distinguish between formating. 2006-03-06 06:01:12 +01:00
checkbox.c Added format_only parameter for distinguish between formating. 2006-03-06 06:01:12 +01:00
checkbox.h Added format_only parameter for distinguish between formating. 2006-03-06 06:01:12 +01:00
common.h
dialog.c Document how timer callbacks erase timer IDs; add some assertions. 2006-12-02 18:35:03 +02:00
dialog.h
group.c Rename CONFIG_UTF_8 to CONFIG_UTF8. 2006-09-17 16:12:47 +03:00
group.h Added format_only parameter for distinguish between formating. 2006-03-06 06:01:12 +01:00
hierbox.c done_listbox_item: if_assert_failed return 2006-06-16 21:13:32 +00:00
hierbox.h Bookmarks: Fix update after move 2006-06-16 21:13:31 +00:00
hotkey.c Trim some trailing whitespaces. 2006-09-29 00:07:54 +02:00
hotkey.h BFU UTF-8: check_hotkeys_common() compares hotkeys as Unicode. 2006-08-13 23:45:41 +03:00
inpfield.c Bug 821: kbd_field: CONFIG_UTF8 does not mean widget_data->cdata is UTF-8. 2006-10-22 17:18:26 +03:00
inpfield.h Added format_only parameter for distinguish between formating. 2006-03-06 06:01:12 +01:00
inphist.c Preserve the text when doing a prefix completion. 2006-04-29 22:55:32 +00:00
inphist.h
leds.c Document how timer callbacks erase timer IDs; add some assertions. 2006-12-02 18:35:03 +02:00
leds.h
listbox.c Rename CONFIG_UTF_8 to CONFIG_UTF8. 2006-09-17 16:12:47 +03:00
listbox.h Merge with utf8. src/document/plain/renderer.c replaced by utf8 version 2006-07-21 13:12:06 +02:00
listmenu.c
listmenu.h
Makefile
menu.c Use new macro UCS_ORPHAN_CELL for broken double-cell characters. 2006-11-13 00:49:59 +02:00
menu.h Properly deselect the main menu instead of crashing 2006-06-19 11:07:03 +00:00
msgbox.c
msgbox.h
README doc: Added src/bfu/README. 2006-05-13 17:01:20 +03:00
style.c Pass a pointer to a hash pointer to free_hash() to ensure hash pointer 2006-05-31 19:33:36 +02:00
style.h
text.c split_line: Define text_end only ifdef CONFIG_UTF8. 2006-12-03 22:23:42 +02:00
text.h Added format_only parameter for distinguish between formating. 2006-03-06 06:01:12 +01:00
widget.c
widget.h Bug 821: Document the charsets of buffers for BFU and form input fields. 2006-10-25 19:46:01 +03:00

OVERVIEW OF BFU
===============

BFU is the text-mode user interface used by ELinks.  It builds dialogs,
widgets and menus on top of the window system implemented at src/terminal/.

                                                 =====================
                                                 | struct widget_ops |
                                                 |   bfu/widget.h    |
                                                 =====================
                                                          1^
                                                           |
                                                          *|
 ====================  ======================      =================
 | struct menu_item |  | struct widget_data | *  1 | struct widget |
 |    bfu/menu.h    |  |    bfu/widget.h    | ---> |  bfu/widget.h |
 ====================  ======================      =================
       +^                     +^                       +^
        |                      |                        |
       ?|                     1|                       1|
 ===============     ======================       =================
 | struct menu |     | struct dialog_data | *   1 | struct dialog |
 |  bfu/menu.h |     |    bfu/dialog.h    | ----> |  bfu/dialog.h |
 ===============     ======================       =================
  ?^     ?^            ?^          ?|               1|      1|
   |      |             |           |                |       |
   |      |             |          1v                |      1v
   |     1v            1v    ======================  |  ========================
   |  =====================  | struct memory_list |  |  | struct dialog_layout |
   |  |   struct window   |  |   util/memlist.h   |  |  |     bfu/dialog.h     |
   |  | terminal/window.h |  ======================  |  ========================
   |  =====================                         ?v
   |               *^                             =========================
   |                |                             | struct dialog_refresh |
   |               1v                             |      bfu/dialog.h     |
   |          =======================             =========================
   |        ? |   struct terminal   |
   ---------- | terminal/terminal.h |
   main_menu  =======================
                   ?|           ?|
                    |            |
                   1v           ?v
 ==========================  =============================
 | struct terminal_screen |  | struct terminal_interlink |
 |   terminal/screen.h    |  |      terminal/event.c     |
 ==========================  =============================

                                    Legend:  ---> can be followed like a pointer
                                                ? zero or one      1 exactly one
 					        * zero or more     + one or more
                                    There may be errors in the quantifiers.