aboutsummaryrefslogtreecommitdiffstats
path: root/src/colors.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* colors: make color support optional at compile timeMax Kellermann2008-10-031-0/+12
| | | | | Default is colors disabled. Those who love colorful terminals have the option to enable it with --enable-colors.
* colors: color id is the index of the "colors" arrayMax Kellermann2008-10-031-45/+24
| | | | | The color ids are sequential, and we can save some bytes if we use it for the array index.
* colors: added enum color_tMax Kellermann2008-10-031-5/+5
| | | | | Instead of declaring a bunch of CPP macros, use a C enum for identifying colors.
* code style, indent with tabs XIMax Kellermann2008-10-031-211/+186
| | | | Follow the same code style als MPD itself.
* moved i18n macros to i18n.hMax Kellermann2008-10-021-1/+1
| | | | | Don't make everybody include ncmpc.h just to have generic features. Move generic i18n macros to a separate header.
* include cleanupMax Kellermann2008-09-151-7/+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/+20
| | | | | | | 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.
* Only display the "change color" error message if we need init_color()Kalle Wallin2004-06-141-1/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1493 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Major cleanup of the mpd client code (mpc->mpdclient)Kalle Wallin2004-06-141-7/+3
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1481 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added initial i18n supportKalle Wallin2004-06-051-4/+5
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1346 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Changed directory layout (for future use of gettext)Kalle Wallin2004-06-051-0/+336
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1342 09075e82-0dd4-0310-85a5-a0d7c8717e4f