aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_clock.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-09-18removed the clock screenMax Kellermann1-225/+0
Why should an audio player display a large clock?
2008-09-18screen: removed empty methodsMax Kellermann1-31/+0
Declaring empty methods is of no use. If a method is empty, we should set it to NULL in the screen_functions struct.
2008-09-17replaced get_screen_X() with static screen_functions variableMax Kellermann1-19/+11
Compile time initialization saves resources, compared to run-time initialization. Declare all screen_function structs as global variables, and remove all get functions.
2008-09-16screen: added struct namesMax Kellermann1-1/+1
Let us declare struct names in addition to typedef names, so we can forward-declare them.
2008-09-15fix unused parameter warningsMax Kellermann1-4/+6
Add the "unused" attribute to all function parameters which are indeed going to be ignored.
2008-09-15include cleanupMax Kellermann1-6/+7
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-15const pointersMax Kellermann1-1/+1
Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings.
2008-09-15clock: don't initialize static variables with zeroMax Kellermann1-1/+1
Uninitialized static variables are put into BSS, which is automatically zeroed. Initializing doesn't hurt, but in this case, there were elements missing, emitting a gcc warning.
2008-09-15code style, indent with tabsMax Kellermann1-161/+152
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.
2004-11-15Added a search screenKalle Wallin1-1/+1
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@2668 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-14Major cleanup of the mpd client code (mpc->mpdclient)Kalle Wallin1-6/+7
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1481 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-09Updated the get_title callback.Kalle Wallin1-2/+2
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1421 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-07Fixed resize handlingKalle Wallin1-2/+12
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1381 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-06-06Added an optional clock screen :)Kalle Wallin1-0/+259
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1360 09075e82-0dd4-0310-85a5-a0d7c8717e4f