aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-09-15use size_t and unsigned integersMax Kellermann1-3/+3
2008-09-15fix shadow warningsMax Kellermann1-16/+16
Rename local variables and function parameters, so they don't shadow global variables.
2008-09-15include cleanupMax Kellermann1-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.
2008-09-15fix function prototypesMax Kellermann1-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.
2008-09-15const pointersMax Kellermann1-8/+8
Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings.
2008-09-15screen: moved code to paint_top_window2()Max Kellermann1-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.
2008-09-15code style, indent with tabsMax Kellermann1-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.
2008-09-15remove unused static functionsMax Kellermann1-1/+0
Also remove some commented code and unused function parameters.
2007-02-16way too much stuff to describe hereAndreas Obergrusberger1-22/+26
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@5346 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-09-08multi liner ;) fixed segfaultAndreas Obergrusberger1-6/+5
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4749 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-09-07due to bensonk's demand i added a splash screen.Andreas Obergrusberger1-5/+10
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4741 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-08-04the updated sourcesAndreas Obergrusberger1-4/+18
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4543 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-7/+8
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3960 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-01-16included patch from Jonathan ForsKalle Wallin1-4/+18
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3832 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-06-15New configuraton option: screen-listKalle Wallin1-9/+50
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3358 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-06-06Added an experimental artist (browser) screenKalle Wallin1-0/+15
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3322 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2005-06-03seek-time can now be defined in the conf fileKalle Wallin1-2/+2
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3308 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-15Added a search screenKalle Wallin1-1/+16
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@2668 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-21Added debug code for #291Kalle Wallin1-3/+9
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1891 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-21Initialize dummy/last mode id to G_MAXINTKalle Wallin1-1/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1890 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-13Use glib's functions (g_strlcat, g_strlcpy, g_snprintf, g_strdup_vprintf)Kalle Wallin1-50/+25
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1867 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-13Crossfade time can now be definied in the rc file (crossfade-time)Kalle Wallin1-91/+92
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1865 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-13Use my_wgetch() instead of wgetch(), added --[no-]mouse optionKalle Wallin1-2/+2
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1864 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-12Mouse support is now optional (enable-mouse)Kalle Wallin1-1/+2
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1861 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-12Added configure option --disable-raw-modeKalle Wallin1-0/+2
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1855 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-07-02Added basic ncurses mouse supportKalle Wallin1-1/+47
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1770 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-22Clear the main window on CMD_SCREEN_UPDATEKalle Wallin1-0/+5
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1617 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-20Added _utf8 suffix to all functions that take utf8 arguments.Kalle Wallin1-1/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1587 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-16libmpdclient updated (r1507) - added path to mpdclient_cmd_db_update() Kalle Wallin1-1/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1508 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-15git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1497 ↵Kalle Wallin1-2/+4
09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-14Major cleanup of the mpd client code (mpc->mpdclient)Kalle Wallin1-108/+80
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1481 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-09Use the terminal in raw mode - ignore terminal control charactersKalle Wallin1-51/+14
Changed arguments to the get_title callback git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1420 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-06Added an optional clock screen :)Kalle Wallin1-1/+20
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1360 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-06Added wreadln.c, wreadln.h a simple line editorKalle Wallin1-8/+30
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1351 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-06i18n - ncmpc is now bilingual (sv)Kalle Wallin1-1/+5
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1349 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-05Added initial i18n supportKalle Wallin1-39/+30
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1346 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-05Addded support for the mpd update command (CMD_DB_UPDATE)Kalle Wallin1-1/+13
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1343 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-05Changed directory layout (for future use of gettext)Kalle Wallin1-11/+37
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1342 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-07Redesigned ncmpc's color supportKalle Wallin1-95/+113
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@937 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-05-03The background color can now be assigned to 'none' (use the current color).Kalle Wallin1-2/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@898 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-23Use wattroff after painting the top line.Kalle Wallin1-0/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@881 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-22Fix that keeps the cursor hidden on aterm/Eterm when the terminal is resized.Kalle Wallin1-1/+5
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@874 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-21Fixed resize handling (SIGWINCH).Kalle Wallin1-3/+53
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@871 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-21Display the target time when seeking.Kalle Wallin1-1/+4
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@869 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-21Added support for seek,crossfade. Kalle Wallin1-36/+113
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@862 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-19Major cleanup. The goal of this is to simplify addition of "screens".Kalle Wallin1-103/+146
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@832 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14Use get_key_names() for the keys displayed in the welcome message.Kalle Wallin1-3/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@756 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-06Replaced F1,F2,F3 with 1,2,3.Kalle Wallin1-3/+3
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@613 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-06Added a welcome message (help).Kalle Wallin1-4/+28
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@609 09075e82-0dd4-0310-85a5-a0d7c8717e4f