1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/src/bfu
2021-03-19 14:22:04 +01:00
..
button.c [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
button.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
checkbox.c [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01: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 [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
dialog.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
group.c [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
group.h [mozjs24] Allow build elinks with g++ 2020-10-05 20:14:55 +02:00
hierbox.c [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
hierbox.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
hotkey.c [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
hotkey.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
inpfield.c [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
inpfield.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
inphist.c [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
inphist.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
leds.c [time.h] time.h can be included unconditionally 2021-03-19 14:22:04 +01:00
leds.h [mozjs24] Allow build elinks with g++ 2020-10-05 20:14:55 +02:00
listbox.c [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01: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 [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
Makefile path_to_top -> top_builddir 2005-10-20 04:00:35 +02:00
menu.c [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01: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 [msgbox] const char * 2021-03-03 14:38:11 +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 [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
text.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
widget.c Remove now useless $Id: lines. 2005-10-21 09:14:07 +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.