1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
elinks/src/bfu
Witold Filipczyk 361b8f661d [long] long -> intptr_t . Refs #8304
AFAIK on Windows long is sizeof 4, while void * is sizeof 8.
intptr_t is the same sizeof as void *.
2022-08-17 20:48:58 +02:00
..
button.c [button] _node 2022-03-19 10:20:41 +01:00
button.h [align] enum format_align -> format_align_T 2022-01-28 16:05:35 +01:00
checkbox.c [checkbox] Removed commented code 2022-03-19 10:07:54 +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 Revert "Revert "[dialog] _node"" 2022-03-19 18:56:01 +01:00
dialog.h [dialogs] Make 9 / 10 ratio configurable at compile time. 2021-08-23 16:11:17 +02:00
group.c [group] _node 2022-03-18 18:46:34 +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 [isspace] Some implementations of isspace require unsigned char 2022-06-28 20:25:06 +02:00
inpfield.h [bfu] const in input_dialog 2022-01-30 18:21:52 +01:00
inphist.c [input] Fix input history under DOS. 2022-05-22 14:12:27 +02:00
inphist.h [bfu] const in load_input_history and save_input_history 2022-02-11 19:57:36 +01:00
leds.c [leds] Check return value of fscanf 2022-06-24 22:03:07 +02:00
leds.h [mozjs24] Allow build elinks with g++ 2020-10-05 20:14:55 +02:00
listbox.c [listbox] _node 2022-03-18 18:51:43 +01:00
listbox.h [align] enum format_align -> format_align_T 2022-01-28 16:05:35 +01:00
listmenu.c [long] long -> intptr_t . Refs #8304 2022-08-17 20:48:58 +02:00
listmenu.h [bfu] const in menu_labels 2022-02-18 15:04:46 +01:00
Makefile path_to_top -> top_builddir 2005-10-20 04:00:35 +02:00
menu.c [menu] Removed unused functions 2022-03-19 10:34:00 +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 doc: Added src/bfu/README. 2006-05-13 17:01:20 +03:00
style.c [colors] Fix issue with mono colors and menu 2022-03-24 16:05:33 +01:00
style.h [colors] config.h is usually included first 2022-03-23 19:08:43 +01:00
text.c [isspace] Some implementations of isspace require unsigned char 2022-06-28 20:25:06 +02:00
text.h [text] Removed unused function 2022-03-19 10:52:50 +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.