MHEG5  15.3.0
source/classes/inc/mh5font.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
00003  * Copyright © 2004 Ocean Blue Software Ltd
00004  * Copyright © 2000 Koninklijke Philips Electronics N.V
00005  *
00006  * This file is part of a DTVKit Software Component
00007  * You are permitted to copy, modify or distribute this file subject to the terms
00008  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
00009  * 
00010  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
00011  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
00012  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
00013  * 
00014  * If you or your organisation is not a member of DTVKit then you have access
00015  * to this source code outside of the terms of the licence agreement
00016  * and you are expected to delete this and any associated files immediately.
00017  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
00018  *******************************************************************************/
00032 #ifndef _MH5FONT_H
00033 #define _MH5FONT_H
00034 
00035 /*---includes for this file--------------------------------------------------*/
00036 #include "mh5ingredient.h"
00037 
00038 /*---Constant and macro definitions for public use---------------------------*/
00039 
00040 #define INVALID_MG_FNT_INDEX  0x7f
00041 
00042 /*---Enumerations for public use---------------------------------------------*/
00043 
00044 /*---Global type defs for public use-----------------------------------------*/
00045 typedef struct sMHEG5Font
00046 {
00047    /* Base class */
00048    MHEG5Ingredient ingredient;
00049 
00050    /* No exchanged attributes for this class */
00051 
00052    /* Internal attributes for this class */
00053    int mg_fnt_index;
00054 } MHEG5Font;
00055 
00056 /*---Global variable declarations for public use-----------------------------*/
00057 
00058 /*---Global Function prototypes for public use-------------------------------*/
00059 
00070 void MHEG5fontInit(MHEG5Font *font);
00071 
00072 
00080 void MHEG5fontFree(MHEG5Font *font);
00081 
00091 void MHEG5fontRefreshTexts( MHEG5Font *font );
00092 
00093 /*
00094      Internal behaviours
00095  */
00096 void MHEG5fontPrepare(MHEG5Font *font);
00097 void MHEG5fontDestruct(MHEG5Font *font);
00098 void MHEG5fontActivate(MHEG5Font *font);
00099 void MHEG5fontDeactivate(MHEG5Font *font);
00100 
00101 /*
00102    Debug
00103  */
00104 #ifdef MH5PRINTOUT
00105 void MHEG5fontPrint(MHEG5Font *font, char *out);
00106 #endif
00107 
00108 #endif /*_MH5FONT_H*/
 All Data Structures Files Functions Variables Typedefs Defines