1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/src/bfu
2022-03-02 19:02:47 +01:00
..
button.c [align] enum format_align -> format_align_T 2022-01-28 16:05:35 +01:00
button.h [align] enum format_align -> format_align_T 2022-01-28 16:05:35 +01:00
checkbox.c [draw] const char * in draw_text 2022-01-31 16:18:43 +01:00
checkbox.h [align] enum format_align -> format_align_T 2022-01-28 16:05:35 +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 [bfu] cast in call of add_dlg_button 2022-02-21 16:03:31 +01:00
inpfield.h [bfu] const in input_dialog 2022-01-30 18:21:52 +01:00
inphist.c [bfu] const in load_input_history and save_input_history 2022-02-11 19:57:36 +01:00
inphist.h [bfu] const in load_input_history and save_input_history 2022-02-11 19:57:36 +01:00
leds.c [options] No need for C_ macro in INIT_OPT_* 2022-03-02 19:02:47 +01:00
leds.h [mozjs24] Allow build elinks with g++ 2020-10-05 20:14:55 +02:00
listbox.c [align] enum format_align -> format_align_T 2022-01-28 16:05:35 +01:00
listbox.h [align] enum format_align -> format_align_T 2022-01-28 16:05:35 +01:00
listmenu.c [bfu] const in menu_labels 2022-02-18 15:04:46 +01:00
listmenu.h [bfu] const in menu_labels 2022-02-18 15:04:46 +01:00
Makefile
menu.c [intl] const language_to_iso639 2022-02-17 21:02:27 +01:00
menu.h [intl] const language_to_iso639 2022-02-17 21:02:27 +01:00
meson.build [meson] meson build scripts. 2020-09-05 22:06:01 +02:00
msgbox.c [bfu] cast in call of refresh_dialog 2022-02-21 15:54:02 +01:00
msgbox.h [bfu] msgbox_flags_T 2022-01-28 16:41:23 +01:00
README
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 [bfu] const 2022-01-31 16:41:29 +01:00
text.h [bfu] const 2022-01-31 16:41:29 +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.