[vlc-devel] [PATCH 1/5] split text_style declaration

Francois Cartegnie fcvlcdev at free.fr
Sat Mar 22 07:15:11 CET 2014


---
 include/vlc_common.h     | 1 +
 include/vlc_text_style.h | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/include/vlc_common.h b/include/vlc_common.h
index 8b4b923..f7799ed 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -252,6 +252,7 @@ typedef struct video_format_t video_format_t;
 typedef struct subs_format_t subs_format_t;
 typedef struct es_format_t es_format_t;
 typedef struct video_palette_t video_palette_t;
+typedef struct text_style_t text_style_t;
 
 /* Audio */
 typedef struct audio_output audio_output_t;
diff --git a/include/vlc_text_style.h b/include/vlc_text_style.h
index 722387a..98eff1b 100644
--- a/include/vlc_text_style.h
+++ b/include/vlc_text_style.h
@@ -36,7 +36,7 @@ extern "C" {
  * A font renderer can use the supplied information to render the
  * text specified.
  */
-typedef struct
+struct text_style_t
 {
     char *     psz_fontname;      /**< The name of the font */
     char *     psz_monofontname;  /**< The name of the mono font */
@@ -66,7 +66,7 @@ typedef struct
     int        i_outline_width;   /**< The width of the outline in pixels */
     int        i_shadow_width;    /**< The width of the shadow in pixels */
     int        i_spacing;         /**< The spaceing between glyphs in pixels */
-} text_style_t;
+};
 
 /* Style flags for \ref text_style_t */
 #define STYLE_BOLD        1
-- 
1.8.5.3




More information about the vlc-devel mailing list