1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
elinks/src/bfu
2022-01-28 14:47:36 +01:00
..
button.c [bfu] cast 2022-01-24 21:53:18 +01: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 [bfu] enum menu_action -> action_id_T 2022-01-28 14:05:46 +01:00
dialog.h [dialogs] Make 9 / 10 ratio configurable at compile time. 2021-08-23 16:11:17 +02:00
group.c [bfu] cast 2022-01-24 21:53:18 +01:00
group.h [mozjs24] Allow build elinks with g++ 2020-10-05 20:14:55 +02:00
hierbox.c [bfu] enum menu_action -> action_id_T 2022-01-28 14:05:46 +01:00
hierbox.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
hotkey.c [strchr] casting first parameter to const char * was not a good idea 2022-01-18 20:30:48 +01:00
hotkey.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
inpfield.c [kbd] enum keymap_id -> keymap_id_T 2022-01-28 14:20:06 +01:00
inpfield.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
inphist.c [bfu] cast 2022-01-24 21:53:18 +01:00
inphist.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
leds.c [bfu] cast 2022-01-24 21:53:18 +01:00
leds.h [mozjs24] Allow build elinks with g++ 2020-10-05 20:14:55 +02:00
listbox.c [draw] enum border_char -> border_char_T 2022-01-28 14:30:01 +01:00
listbox.h [cflags] Removed -Wno-pointer-sign 2021-01-02 16:20:27 +01:00
listmenu.c [bfu] cast 2022-01-24 21:53:18 +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 [draw] enum screen_char_attr -> screen_char_attr_T 2022-01-28 14:47:36 +01:00
menu.h [bfu] enum menu_item_flags -> menu_item_flags_T 2022-01-28 14:35:18 +01:00
meson.build [meson] meson build scripts. 2020-09-05 22:06:01 +02:00
msgbox.c [msgbox] enum msgbox_flags -> unsigned int 2022-01-26 18:27:11 +01:00
msgbox.h [msgbox] enum msgbox_flags -> unsigned int 2022-01-26 18:27:11 +01:00
README doc: Added src/bfu/README. 2006-05-13 17:01:20 +03:00
style.c [color] enum color_mode -> color_mode_T 2022-01-28 14:42:48 +01:00
style.h [bfu] const char * in get_bfu_color 2022-01-21 20:29:30 +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.