aboutsummaryrefslogtreecommitdiffstats
path: root/src/list_window.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* added missing copyright headersMax Kellermann2008-12-061-0/+19
|
* list_window: converted "flags" to one "bool" variableMax Kellermann2008-11-271-3/+2
| | | | | | Currently, there is only one known list_window flag ("hide_cursor"). Replace the "flags" bit field with a boolean variable. If we run out of space some day, we can convert that to bool:1.
* list_window: use "bool" instead of "int"Max Kellermann2008-11-271-11/+14
| | | | | For flags and return values, use the "bool" data type instead of "int".
* include ncursesw/ncurses.h if availableMax Kellermann2008-10-061-1/+6
| | | | | When compiling with libncursesw, include <ncursesw/ncurses.h> instead of <ncurses.h> (if available).
* list_window: remove list_window_state_tMax Kellermann2008-10-031-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.
* list_window: removed unused macro "LW_ROW"Max Kellermann2008-10-021-2/+0
|
* list_window: removed property "repaint"Max Kellermann2008-09-251-1/+0
| | | | | The property "repaint" is never read, since all callers repaint the list window on demand.
* list_window: removed property "clear"Max Kellermann2008-09-251-2/+1
| | | | | Without clearing previous screen contents, there may be corruptions, make this mandatory and optimize screen clearing.
* list_window: converted several public functions to staticMax Kellermann2008-09-231-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.
* screen: moved list_window mouse code to list_window.cMax Kellermann2008-09-221-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.
* make several functions return voidMax Kellermann2008-09-171-2/+2
|
* list_window: added list_window_center()Max Kellermann2008-09-171-0/+2
| | | | | Merge code which used to be duplicated in the screens "play", "help", "lyrics".
* list_window: added list_window_scroll_cmd()Max Kellermann2008-09-171-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.
* screen: added struct namesMax Kellermann2008-09-161-19/+21
| | | | | Let us declare struct names in addition to typedef names, so we can forward-declare them.
* use size_t and unsigned integersMax Kellermann2008-09-151-14/+14
|
* include cleanupMax Kellermann2008-09-151-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.
* const pointersMax Kellermann2008-09-151-5/+5
| | | | | Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings.
* code style, indent with tabsMax Kellermann2008-09-151-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.
* remove unused static functionsMax Kellermann2008-09-151-3/+0
| | | | Also remove some commented code and unused function parameters.
* added a plugin system for lyrics sourcesAndreas Obergrusberger2007-01-031-0/+2
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@5217 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Daniel rocked the houseAndreas Obergrusberger2006-11-111-1/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@5041 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Moved list window state code to list_window.cKalle Wallin2005-06-141-0/+13
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3353 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Hide the cursor on the help screen (#247)Kalle Wallin2004-07-121-0/+3
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1854 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* added screen_bell() for optional audible/visible bellsKalle Wallin2004-06-221-1/+5
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1612 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Changed directory layout (for future use of gettext)Kalle Wallin2004-06-051-0/+67
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1342 09075e82-0dd4-0310-85a5-a0d7c8717e4f