mc/lib/widget
Andrew Borodin 7df67031a2 Refactoring of WListbox widget.
Use GQueue instead of GList to store listbox entries.

g_list_append() function is slow because it uses g_list_last()
internally to traverse from the beginning to the end of a list, so
forming a list of results has O(n*n) complexity instead of O(n).
GQueue contains pointers to head and tail of list and list length.
So in this case we don't need seach end of list every time when we
want append listbox entry to the listbox.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-01-14 14:13:38 +04:00
..
button.c Rename functions: 2013-06-28 09:21:17 +04:00
button.h Ticket #2111: allow pause in copy/move/delete file operation. 2012-12-21 13:37:39 +04:00
buttonbar.c cppcheck: reduce variable scope. 2013-11-25 13:47:39 +04:00
buttonbar.h Clarify widget redraw in runtime. 2013-03-09 16:04:19 +04:00
check.c Rename functions: 2013-06-28 09:21:17 +04:00
check.h Add useful macros for widget type cast. 2012-11-19 21:44:14 +04:00
dialog-switch.c Rename functions: 2013-06-28 09:21:17 +04:00
dialog-switch.h Rename Dlg_head to WDialog. 2012-11-19 21:42:47 +04:00
dialog.c Use g_list_free_full(). 2013-11-25 13:47:40 +04:00
dialog.h Typo fixes. 2013-07-23 14:15:24 +04:00
gauge.c Rename functions: 2013-06-28 09:21:17 +04:00
gauge.h Ticket #2076: make copy/move/delete progress dialog wider. 2013-01-14 16:23:17 +04:00
groupbox.c Rename functions: 2013-06-28 09:21:17 +04:00
groupbox.h lib/widget/*.[ch]: fix indentation. 2012-11-20 13:27:10 +04:00
history.c Refactoring of WListbox widget. 2014-01-14 14:13:38 +04:00
history.h fixed doxygen documentation 2012-09-10 14:29:53 +03:00
hline.c (hline_callback): fix of MSG_INIT and MSG_RESIZE messages handling. 2013-08-02 21:58:45 +04:00
hline.h WHLine: allow draw text over horizontal line. 2013-01-14 16:23:17 +04:00
input_complete.c Refactoring of WListbox widget. 2014-01-14 14:13:38 +04:00
input_complete.h Move src/filemanager/complete.c to lib/widget/input_complete.c 2011-03-21 23:55:51 +02:00
input.c Use g_list_free_full(). 2013-11-25 13:47:40 +04:00
input.h Refactoring of WInput history. 2013-11-07 15:53:53 +04:00
label.c Rename functions: 2013-06-28 09:21:17 +04:00
label.h Add useful macros for widget type cast. 2012-11-19 21:44:14 +04:00
listbox-window.c cppcheck: reduce variable scope. 2013-11-25 13:47:39 +04:00
listbox-window.h Rename Dlg_head to WDialog. 2012-11-19 21:42:47 +04:00
listbox.c Refactoring of WListbox widget. 2014-01-14 14:13:38 +04:00
listbox.h Refactoring of WListbox widget. 2014-01-14 14:13:38 +04:00
Makefile.am PCRE_CFLAGS are CPPFLAGS, actually. 2012-12-18 16:27:49 +04:00
menu.c Use g_list_free_full(). 2013-11-25 13:47:40 +04:00
menu.h (menubar_new): add 3rd 'visible' argument. 2013-08-02 21:58:45 +04:00
quick.c Remove input_set_origin(). Use widget_set_size() instead. 2013-10-04 09:14:08 +04:00
quick.h Extend QUICK_INPUT and QUICK_LABELED_INPUT macros for getting completion flags via parameters instead of using hardcoded value 2013-02-04 15:29:15 +03:00
radio.c Rename functions: 2013-06-28 09:21:17 +04:00
radio.h Add useful macros for widget type cast. 2012-11-19 21:44:14 +04:00
widget-common.c (widget_init): init pos_flags member to WPOS_KEEP_DEFAULT. 2013-10-04 09:14:07 +04:00
widget-common.h Rename functions: 2013-06-28 09:21:17 +04:00
wtools.c cppcheck: reduce variable scope. 2013-11-25 13:47:39 +04:00
wtools.h Extend QUICK_INPUT and QUICK_LABELED_INPUT macros for getting completion flags via parameters instead of using hardcoded value 2013-02-04 15:29:15 +03:00