aboutsummaryrefslogtreecommitdiffstats
path: root/src/list_window.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-10-06include ncursesw/ncurses.h if availableMax Kellermann1-1/+6
When compiling with libncursesw, include <ncursesw/ncurses.h> instead of <ncurses.h> (if available).
2008-10-03list_window: remove list_window_state_tMax Kellermann1-13/+0
We do not need to save a stack of list window states. When we return to a parent directory, we just have to find the directory which we come from in the parent list. Note that this patch resets the cursor when going to the root directory, but I think it's not that important, and I will deal with that later.
2008-10-02list_window: removed unused macro "LW_ROW"Max Kellermann1-2/+0
2008-09-25list_window: removed property "repaint"Max Kellermann1-1/+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-2/+1
Without clearing previous screen contents, there may be corruptions, make this mandatory and optimize screen clearing.
2008-09-23list_window: converted several public functions to staticMax Kellermann1-6/+0
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/+11
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-2/+2
2008-09-17list_window: added list_window_center()Max Kellermann1-0/+2
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/+7
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-16screen: added struct namesMax Kellermann1-19/+21
Let us declare struct names in addition to typedef names, so we can forward-declare them.
2008-09-15use size_t and unsigned integersMax Kellermann1-14/+14
2008-09-15include cleanupMax Kellermann1-1/+4
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-21/+18
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-3/+0
Also remove some commented code and unused function parameters.
2007-01-03added a plugin system for lyrics sourcesAndreas Obergrusberger1-0/+2
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@5217 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-11-11Daniel rocked the houseAndreas Obergrusberger1-1/+1
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@5041 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-06-14Moved list window state code to list_window.cKalle Wallin1-0/+13
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3353 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-12Hide the cursor on the help screen (#247)Kalle Wallin1-0/+3
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-1/+5
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1612 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-03-31Moved cursor to main window (selected_row,0) when idle.Kalle Wallin1-0/+2
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@556 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-27Added function list_window_check_selected().Kalle Wallin1-0/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@510 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-03-26Added reversed and wrapped list search (find).Kalle Wallin1-1/+11
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-8/+14
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-22Added find (in page) functionality.Kalle Wallin1-0/+6
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@369 09075e82-0dd4-0310-85a5-a0d7c8717e4f