diff options
| author | xHire <xhire@tuxportal.cz> | 2009-05-23 15:41:18 +0200 |
|---|---|---|
| committer | xHire <xhire@tuxportal.cz> | 2009-05-26 01:11:32 +0200 |
| commit | 4d4dae5cc3a2bf32421ad2d4255079eb1d731647 (patch) | |
| tree | 064450f544b7ba8477cd8c5e51a8410a27a070c0 /src/client/font.h | |
| parent | c2c1664831c48e841296eb85318f8a63f44856c8 (diff) | |
Rectified the coding style in client .h files
Diffstat (limited to 'src/client/font.h')
| -rw-r--r-- | src/client/font.h | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/src/client/font.h b/src/client/font.h index 17aa76e..8ee2cf0 100644 --- a/src/client/font.h +++ b/src/client/font.h @@ -1,29 +1,27 @@ - #ifndef FONT_H +#define FONT_H -# define FONT_H - -# include <SDL_ttf.h> -# include <assert.h> -# include "main.h" +#include <SDL_ttf.h> +#include <assert.h> +#include "main.h" -# define COLOR_WHITE 255, 255, 255 -# define COLOR_BLACK 0, 0, 0 +#define COLOR_WHITE 255, 255, 255 +#define COLOR_BLACK 0, 0, 0 -# define COLOR_RED 255, 0, 0 -# define COLOR_GREEN 0, 255, 0 -# define COLOR_BLUE 0, 0, 255 +#define COLOR_RED 255, 0, 0 +#define COLOR_GREEN 0, 255, 0 +#define COLOR_BLUE 0, 0, 255 +#define COLOR_YELLOW 255, 255, 0 -# define COLOR_YELLOW 255, 255, 0 -# define FONT_SIZE 16 +#define FONT_SIZE 16 extern bool_t font_is_inicialized(); extern void font_init(); extern void font_draw(char *s, int x, int y, int r, int g, int b); -extern void font_drawMaxSize(char *s, int x, int y, int w, int h, int r, int g, - int b); +extern void font_drawMaxSize(char *s, int x, int y, int w, int h, + int r, int g, int b); extern int font_get_size(); extern void font_text_size(char *s, int *w, int *h); extern void font_quit(); -#endif +#endif /* FONT_H */ |