1
0
Fork 0
elinks/src/bfu
Witold Filipczyk f8d08d1db3 [osdep] os_get_free_mem_in_mib
DOS and Linux implementation. Called in bfu/leds.c
2024-05-02 14:31:27 +02:00
..
Makefile path_to_top -> top_builddir 2005-10-20 04:00:35 +02:00
README doc: Added src/bfu/README. 2006-05-13 17:01:20 +03:00
button.c [color] Removed code related to draw_text_node 2022-10-16 15:18:34 +02:00
button.h [align] enum format_align -> format_align_T 2022-01-28 16:05:35 +01:00
checkbox.c [color] Removed code related to draw_text_node 2022-10-16 15:18:34 +02: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 Allow building with -Dlibsixel=false 2023-05-28 10:52:07 +01:59
dialog.h [bfu] clang's warning 2024-04-18 17:09:11 +02:00
group.c [color] Removed code related to draw_text_node 2022-10-16 15:18:34 +02:00
group.h [mozjs24] Allow build elinks with g++ 2020-10-05 20:14:55 +02:00
hierbox.c [bookmarks] Added option "document.browse.links.hierbox_goto" . Refs #237 2023-06-20 14:40:02 +02:00
hierbox.h [lists] LIST_HEAD -> LIST_HEAD_EL to not clash with libevent's LIST_HEAD. Also added curl implementation of ftpes and sftp 2023-06-19 18:43:53 +02: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 [cast] (unsigned char) for isspace 2022-10-16 16:04:00 +02:00
inpfield.h [bfu] const in input_dialog 2022-01-30 18:21:52 +01:00
inphist.c [.config] Read/write configuration from ~/.config/elinks . Refs #199 2022-12-26 17:48:55 +01:00
inphist.h [lists] LIST_HEAD -> LIST_HEAD_EL to not clash with libevent's LIST_HEAD. Also added curl implementation of ftpes and sftp 2023-06-19 18:43:53 +02:00
leds.c [osdep] os_get_free_mem_in_mib 2024-05-02 14:31:27 +02:00
leds.h [mozjs24] Allow build elinks with g++ 2020-10-05 20:14:55 +02:00
listbox.c [color] Removed code related to draw_text_node 2022-10-16 15:18:34 +02:00
listbox.h [lists] LIST_HEAD -> LIST_HEAD_EL to not clash with libevent's LIST_HEAD. Also added curl implementation of ftpes and sftp 2023-06-19 18:43:53 +02: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
menu.c Allow building with -Dlibsixel=false 2023-05-28 10:52:07 +01:59
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
style.c [terminal] Added terminfo for 24 bit color 2023-07-19 19:00:26 +02:00
style.h [color] Revert changes in bfu/style.c related to draw_text_node Refs #195 2022-10-17 21:42:51 +02:00
text.c [cast] (unsigned char) for isspace 2022-10-16 16:04:00 +02:00
text.h [color] Missing declaration 2022-10-16 16:06:48 +02: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

README

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.