aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* initial draw without delayMax Kellermann2008-09-161-0/+2
| | | | | Due to a missing refresh() call, ncmpc painted the screen after one second. Add refresh(), make ncmpc display immediately.
* screen: added struct namesMax Kellermann2008-09-161-20/+17
| | | | | 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-5/+3
| | | | Follow the same code style als MPD itself.
* use size_t and unsigned integersMax Kellermann2008-09-151-3/+3
|
* fix shadow warningsMax Kellermann2008-09-151-16/+16
| | | | | Rename local variables and function parameters, so they don't shadow global variables.
* include cleanupMax Kellermann2008-09-151-11/+8
| | | | | | 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.
* fix function prototypesMax Kellermann2008-09-151-2/+3
| | | | | | Add missing prototypes, and fix wrong prototypes. Convert lots of functions to "static" when they are only used within the current source file.
* const pointersMax Kellermann2008-09-151-8/+8
| | | | | Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings.
* screen: moved code to paint_top_window2()Max Kellermann2008-09-151-68/+74
| | | | | | Nearly all of the code in paint_top_window() is on indent level 2, just because it depends on a condition. Make this more readable and move to indent level 1 by moving this code to a separate function.
* code style, indent with tabsMax Kellermann2008-09-151-792/+753
| | | | | | | 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-1/+0
| | | | Also remove some commented code and unused function parameters.
* way too much stuff to describe hereAndreas Obergrusberger2007-02-161-22/+26
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@5346 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* multi liner ;) fixed segfaultAndreas Obergrusberger2006-09-081-6/+5
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4749 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* due to bensonk's demand i added a splash screen.Andreas Obergrusberger2006-09-071-5/+10
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4741 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* the updated sourcesAndreas Obergrusberger2006-08-041-4/+18
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4543 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-7/+8
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3960 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* included patch from Jonathan ForsKalle Wallin2006-01-161-4/+18
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3832 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* New configuraton option: screen-listKalle Wallin2005-06-151-9/+50
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3358 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added an experimental artist (browser) screenKalle Wallin2005-06-061-0/+15
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3322 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* seek-time can now be defined in the conf fileKalle Wallin2005-06-031-2/+2
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3308 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added a search screenKalle Wallin2004-11-151-1/+16
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@2668 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added debug code for #291Kalle Wallin2004-07-211-3/+9
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1891 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Initialize dummy/last mode id to G_MAXINTKalle Wallin2004-07-211-1/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1890 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Use glib's functions (g_strlcat, g_strlcpy, g_snprintf, g_strdup_vprintf)Kalle Wallin2004-07-131-50/+25
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1867 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Crossfade time can now be definied in the rc file (crossfade-time)Kalle Wallin2004-07-131-91/+92
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1865 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Use my_wgetch() instead of wgetch(), added --[no-]mouse optionKalle Wallin2004-07-131-2/+2
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1864 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Mouse support is now optional (enable-mouse)Kalle Wallin2004-07-121-1/+2
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1861 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added configure option --disable-raw-modeKalle Wallin2004-07-121-0/+2
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1855 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added basic ncurses mouse supportKalle Wallin2004-07-021-1/+47
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1770 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Clear the main window on CMD_SCREEN_UPDATEKalle Wallin2004-06-221-0/+5
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1617 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added _utf8 suffix to all functions that take utf8 arguments.Kalle Wallin2004-06-201-1/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1587 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* libmpdclient updated (r1507) - added path to mpdclient_cmd_db_update() Kalle Wallin2004-06-161-1/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1508 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1497 ↵Kalle Wallin2004-06-151-2/+4
| | | | 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Major cleanup of the mpd client code (mpc->mpdclient)Kalle Wallin2004-06-141-108/+80
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1481 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Use the terminal in raw mode - ignore terminal control charactersKalle Wallin2004-06-091-51/+14
| | | | | | | Changed arguments to the get_title callback git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1420 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added an optional clock screen :)Kalle Wallin2004-06-061-1/+20
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1360 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added wreadln.c, wreadln.h a simple line editorKalle Wallin2004-06-061-8/+30
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1351 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* i18n - ncmpc is now bilingual (sv)Kalle Wallin2004-06-061-1/+5
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1349 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added initial i18n supportKalle Wallin2004-06-051-39/+30
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1346 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Addded support for the mpd update command (CMD_DB_UPDATE)Kalle Wallin2004-06-051-1/+13
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1343 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Changed directory layout (for future use of gettext)Kalle Wallin2004-06-051-0/+869
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1342 09075e82-0dd4-0310-85a5-a0d7c8717e4f