[MPlayer-cvslog] r32984 - in trunk/gui: app.c app.h

Diego Biurrun diego at biurrun.de
Mon Feb 28 15:07:54 CET 2011


On Mon, Feb 28, 2011 at 02:25:45PM +0100, ib wrote:
> 
> Log:
> Cosmetic: Format to MPlayer coding style.

This is not the only thing that is happening here, witness...

> --- trunk/gui/app.c	Mon Feb 28 14:05:01 2011	(r32983)
> +++ trunk/gui/app.c	Mon Feb 28 14:25:45 2011	(r32984)
> @@ -17,226 +17,252 @@
>  
>  #include <stdlib.h>
> -#include <stdio.h>
>  #include <string.h>
>  
> -#include "config.h"
> -#include "mp_msg.h"
> -#include "help_mp.h"
> -
>  #include "app.h"
>  #include "wm/wskeys.h"
> -#include "skin/skin.h"
> -#include "mplayer/gmplayer.h"
> -#include "interface.h"

#include removal.

> --- trunk/gui/app.h	Mon Feb 28 14:05:01 2011	(r32983)
> +++ trunk/gui/app.h	Mon Feb 28 14:25:45 2011	(r32984)
> @@ -21,9 +21,8 @@
>  
>  #include "bitmap.h"
>  #include "wm/ws.h"
> -#include "wm/wskeys.h"

more

> @@ -61,8 +60,8 @@
>  
>  #define evIncVolume         31
>  #define evDecVolume         32
> -#define evIncAudioBufDelay  33
> -#define evDecAudioBufDelay  34
> +#define evIncAudioBufDelay  33   // NOTE TO MYSELF: not all of these events
> +#define evDecAudioBufDelay  34   // are actually implemented, and update doc

comments

> @@ -106,100 +104,95 @@
>  
> +// Skin items
> +
>  #define itNULL      0
> -#define itButton    101 // button
> -#define itHPotmeter 102 // horizontal potmeter
> -#define itVPotmeter 103 // vertical potmeter
> -#define itSLabel    104 // static label
> -#define itDLabel    105 // dynamic label
> +#define itButton    101
> +#define itHPotmeter 102
> +#define itVPotmeter 103
> +#define itSLabel    104
> +#define itDLabel    105
>  #define itBase      106
>  #define itPotmeter  107
>  #define itFont      108
> -// ---
> +
> +// Button states
> +
>  #define btnPressed  0
>  #define btnReleased 1
>  #define btnDisabled 2

more comment changes

Diego


More information about the MPlayer-cvslog mailing list