aboutsummaryrefslogtreecommitdiffstats
path: root/src/list_window.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-09-25list_window: removed property "repaint"Max Kellermann1-4/+0
The property "repaint" is never read, since all callers repaint the list window on demand.
2008-09-25list_window: removed property "clear"Max Kellermann1-15/+9
Without clearing previous screen contents, there may be corruptions, make this mandatory and optimize screen clearing.
2008-09-25code style, indent with tabs XMax Kellermann1-4/+4
Follow the same code style als MPD itself.
2008-09-23list_window: converted several public functions to staticMax Kellermann1-6/+6
There are lots of functions not being used outside of list_window.c. Make them static to make it easier for gcc to optimize.
2008-09-22screen: moved list_window mouse code to list_window.cMax Kellermann1-0/+30
Move the portion of screen_get_mouse_event() which handles list_window clicks to list_window.c. The code contained a NULL pointer dereference, which is now fixed.
2008-09-17make several functions return voidMax Kellermann1-7/+3
2008-09-17list_window: added list_window_center()Max Kellermann1-0/+18
Merge code which used to be duplicated in the screens "play", "help", "lyrics".
2008-09-17list_window: added list_window_scroll_cmd()Max Kellermann1-0/+50
It is similar to list_window_cmd(), but it scrolls the window instead of moving the selection. It is used by the "lyrics" and the "help" screen.
2008-09-17list_window: set repaint at the end of list_window_cmd()Max Kellermann1-6/+1
2008-09-16screen: added struct namesMax Kellermann1-21/+21
Let us declare struct names in addition to typedef names, so we can forward-declare them.
2008-09-16code style, indent with tabs IIMax Kellermann1-36/+35
Follow the same code style als MPD itself.
2008-09-16list_window: update variables without loopingMax Kellermann1-10/+14
Apparently, somebody was too lazy to derive the formulas for cursor movement, and wrote lots of while loops.
2008-09-15use size_t and unsigned integersMax Kellermann1-28/+26
2008-09-15include cleanupMax Kellermann1-7/+5
A header should include all headers which he needs. Move local includes on top, and let foo.c include foo.h in the first line, to automatically test its dependencies.
2008-09-15const pointersMax Kellermann1-5/+5
Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings.
2008-09-15code style, indent with tabsMax Kellermann1-196/+179
Follow the same code style als MPD itself. This patch only fixes parts of the code which are going to be touched in the following bunch of patches, i.e. there will be more "code style" patches in the future.
2008-09-15remove unused static functionsMax Kellermann1-13/+0
Also remove some commented code and unused function parameters.
2006-11-11Daniel rocked the houseAndreas Obergrusberger1-4/+4
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@5041 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-08-25fix a bug the makes utf8 names behave evilAndreas Obergrusberger1-2/+2
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4683 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-03-28typoKalle Wallin1-1/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3962 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-03-28unicode fixes from Dmitry Baryshkov/René van BevernKalle Wallin1-1/+2
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3960 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-06-14Moved list window state code to list_window.cKalle Wallin1-0/+59
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3353 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-06-11support wide-char ncurses library (ncursesw)Kalle Wallin1-1/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3325 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-06-03Added a "hide cursor" feature #0000417Kalle Wallin1-7/+4
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3307 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-12-19Bugfix from Niko Tyni, find operation with wrap turned on in an empty list Kalle Wallin1-0/+5
resulted in an infinite loop git-svn-id: https://svn.musicpd.org/ncmpc/trunk@2806 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-12Hide the cursor on the help screen (#247)Kalle Wallin1-6/+13
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1854 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-22added screen_bell() for optional audible/visible bellsKalle Wallin1-6/+27
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1612 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-09Fixed a small layout bug whith long strings in list_window_paint()Kalle Wallin1-4/+7
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1418 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-05Changed directory layout (for future use of gettext)Kalle Wallin1-0/+0
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1342 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-07Redesigned ncmpc's color supportKalle Wallin1-6/+10
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@937 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-22Fixed list_window_check_selected().Kalle Wallin1-0/+4
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@876 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-20Initialize highlight to zero.Kalle Wallin1-1/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@845 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-19Added copyright notice and license noticeKalle Wallin1-0/+18
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@833 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14Added optional support for a wide_cursor.Kalle Wallin1-1/+5
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@760 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13Use wclrtoeol instead of wclear in list_window_paint (wclear is slow).Kalle Wallin1-7/+5
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@732 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-05Fixed the list_window_check_selected() function.Kalle Wallin1-0/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@607 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-28We now allocate and free memory with glibKalle Wallin1-2/+2
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@526 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-27Include "config.h" before "support.h"Kalle Wallin1-0/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@517 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-27Added function list_window_check_selected().Kalle Wallin1-0/+10
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@510 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-26Fixed bug 0000212Kalle Wallin1-4/+12
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@505 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-26Added reversed and wrapped list search (find).Kalle Wallin1-6/+46
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@497 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-24Moved list window fuctions to list_window.c. Kalle Wallin1-71/+83
Added function list_window_cmd() for basic commands (movment). git-svn-id: https://svn.musicpd.org/ncmpc/trunk@454 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-23Use screen_status_printf() instead of screen_status_message().Kalle Wallin1-10/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@418 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-22Modified list_window_find() - case independet search (strcasecmp).Kalle Wallin1-5/+5
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@371 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-22Added find (in page) functionality.Kalle Wallin1-0/+51
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@369 09075e82-0dd4-0310-85a5-a0d7c8717e4f