aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_clock.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* screen: removed empty methodsMax Kellermann2008-09-181-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.
* replaced get_screen_X() with static screen_functions variableMax Kellermann2008-09-171-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.
* screen: added struct namesMax Kellermann2008-09-161-1/+1
| | | | | Let us declare struct names in addition to typedef names, so we can forward-declare them.
* fix unused parameter warningsMax Kellermann2008-09-151-4/+6
| | | | | Add the "unused" attribute to all function parameters which are indeed going to be ignored.
* include cleanupMax Kellermann2008-09-151-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.
* const pointersMax Kellermann2008-09-151-1/+1
| | | | | Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings.
* clock: don't initialize static variables with zeroMax Kellermann2008-09-151-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.
* code style, indent with tabsMax Kellermann2008-09-151-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.
* Added a search screenKalle Wallin2004-11-151-1/+1
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@2668 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Major cleanup of the mpd client code (mpc->mpdclient)Kalle Wallin2004-06-141-6/+7
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1481 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Updated the get_title callback.Kalle Wallin2004-06-091-2/+2
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1421 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Fixed resize handlingKalle Wallin2004-06-071-2/+12
| | | | git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1381 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Added an optional clock screen :)Kalle Wallin2004-06-061-0/+259
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1360 09075e82-0dd4-0310-85a5-a0d7c8717e4f