1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-09 05:20:36 -04:00
elinks/src/bfu
2022-01-16 19:09:27 +01:00
..
button.c [gettext] try system gettext. Refs #62 2021-08-08 21:25:08 +02:00
button.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
checkbox.c [gettext] try system gettext. Refs #62 2021-08-08 21:25:08 +02:00
checkbox.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
common.h [mozjs24] Allow build elinks with g++ 2020-10-05 20:14:55 +02:00
dialog.c [mem_alloc] cast return value 2022-01-16 19:09:27 +01:00
dialog.h [dialogs] Make 9 / 10 ratio configurable at compile time. 2021-08-23 16:11:17 +02:00
group.c [gettext] try system gettext. Refs #62 2021-08-08 21:25:08 +02:00
group.h [mozjs24] Allow build elinks with g++ 2020-10-05 20:14:55 +02:00
hierbox.c [mem_alloc] cast return value 2022-01-16 19:09:27 +01:00
hierbox.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
hotkey.c [gettext] try system gettext. Refs #62 2021-08-08 21:25:08 +02:00
hotkey.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
inpfield.c [mem_alloc] cast return value 2022-01-16 19:09:27 +01:00
inpfield.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
inphist.c [mem_alloc] cast return value 2022-01-16 19:09:27 +01:00
inphist.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
leds.c [options] 0 (option_flags) -> OPT_ZERO 2022-01-15 20:10:37 +01:00
leds.h [mozjs24] Allow build elinks with g++ 2020-10-05 20:14:55 +02:00
listbox.c [gettext] try system gettext. Refs #62 2021-08-08 21:25:08 +02:00
listbox.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
listmenu.c [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
listmenu.h [select] Modifications related to select. test/select.html still broken 2021-06-29 21:58:04 +02:00
Makefile path_to_top -> top_builddir 2005-10-20 04:00:35 +02:00
menu.c [gettext] try system gettext. Refs #62 2021-08-08 21:25:08 +02:00
menu.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
meson.build [meson] meson build scripts. 2020-09-05 22:06:01 +02:00
msgbox.c [mem_alloc] cast return value 2022-01-16 19:09:27 +01:00
msgbox.h [msgbox] const char * 2021-03-03 14:38:11 +01:00
README doc: Added src/bfu/README. 2006-05-13 17:01:20 +03:00
style.c [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
style.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
text.c [gettext] try system gettext. Refs #62 2021-08-08 21:25:08 +02:00
text.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
widget.c [gettext] try system gettext. Refs #62 2021-08-08 21:25:08 +02:00
widget.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01: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.