aboutsummaryrefslogtreecommitdiffstats
path: root/src/list_window.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* list_window: converted several public functions to staticMax Kellermann2008-09-231-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.
* screen: moved list_window mouse code to list_window.cMax Kellermann2008-09-221-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.
* make several functions return voidMax Kellermann2008-09-171-7/+3
|
* list_window: added list_window_center()Max Kellermann2008-09-171-0/+18
| | | | | 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/+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.
* list_window: set repaint at the end of list_window_cmd()Max Kellermann2008-09-171-6/+1
|
* screen: added struct namesMax Kellermann2008-09-161-21/+21
| | | | | Let us declare struct names in addition to typedef names, so we can forward-declare them.
* code style, indent with tabs IIMax Kellermann2008-09-161-36/+35
| | | | Follow the same code style als MPD itself.
* list_window: update variables without loopingMax Kellermann2008-09-161-10/+14
| | | | | Apparently, somebody was too lazy to derive the formulas for cursor movement, and wrote lots of while loops.
* use size_t and unsigned integersMax Kellermann2008-09-151-28/+26
|
* include cleanupMax Kellermann2008-09-151-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.
* 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-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.
* remove unused static functionsMax Kellermann2008-09-151-13/+0
| | | | Also remove some commented code and unused function parameters.
* Daniel rocked the houseAndreas Obergrusberger2006-11-111-4/+4
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@5041 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix a bug the makes utf8 names behave evilAndreas Obergrusberger2006-08-251-2/+2
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4683 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* typoKalle Wallin2006-03-281-1/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3962 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* unicode fixes from Dmitry Baryshkov/René van BevernKalle Wallin2006-03-281-1/+2
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3960 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Moved list window state code to list_window.cKalle Wallin2005-06-141-0/+59
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3353 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* support wide-char ncurses library (ncursesw)Kalle Wallin2005-06-111-1/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3325 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added a "hide cursor" feature #0000417Kalle Wallin2005-06-031-7/+4
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3307 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Bugfix from Niko Tyni, find operation with wrap turned on in an empty list Kalle Wallin2004-12-191-0/+5
| | | | | | | resulted in an infinite loop git-svn-id: https://svn.musicpd.org/ncmpc/trunk@2806 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Hide the cursor on the help screen (#247)Kalle Wallin2004-07-121-6/+13
| | | | 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-6/+27
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1612 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Fixed a small layout bug whith long strings in list_window_paint()Kalle Wallin2004-06-091-4/+7
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1418 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Changed directory layout (for future use of gettext)Kalle Wallin2004-06-051-0/+296
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1342 09075e82-0dd4-0310-85a5-a0d7c8717e4f