71 lines
1.9 KiB
C
71 lines
1.9 KiB
C
#ifndef __FONTEXT_H__
|
|
#define __FONTEXT_H__
|
|
|
|
#include "CPA_Expt.h"
|
|
|
|
#undef EXTERN
|
|
#undef extern
|
|
#if !defined(FON_MainFile)
|
|
#define EXTERN extern
|
|
#else
|
|
#define EXTERN
|
|
#endif /* FON_MainFile */
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Menu item text*/
|
|
/*typedef struct FON_tdstFontAndEffect_
|
|
{
|
|
FON_tdxHandleOfFont p_stFont;
|
|
struct FON_tdstEffect_ stEffect;
|
|
} FON_tdstFontAndEffect;
|
|
*/
|
|
|
|
/*typedef enum FON_tdeTextEffect_
|
|
{
|
|
FON_e_Nothing = 0x00,
|
|
FON_e_Translation = 0x01,
|
|
FON_e_Rotation = 0x02,
|
|
FON_e_Scale = 0x04,
|
|
FON_e_NeedMatrix = FON_e_Translation|FON_e_Rotation|FON_e_Scale,
|
|
FON_e_Light = 0x08,
|
|
} FON_tdeTextEffect_;*/
|
|
|
|
/*typedef enum FON_tdeTypeOfText_
|
|
{
|
|
FON_eUnknow = 0x00,
|
|
|
|
FON_eASCII,
|
|
FON_eUnicode
|
|
|
|
} FON_tdeTypeOfText;
|
|
|
|
typedef struct FON_stText_
|
|
{
|
|
char *szText;
|
|
FON_tdeTypeOfText eTypeOftext;
|
|
} FON_tdstText;*/
|
|
|
|
|
|
/* Functions prototypes*/
|
|
/*void FON_fn_vAllocText(FON_tdxHandleOfString hTextNumber,unsigned long _ulSize/*,enum FON_tdeTextEffect_ _eTextEffect );*/
|
|
/*void FON_fn_vAllocTextWithoutString(FON_tdxHandleOfString hTextNumber,unsigned long _ulSize);*/
|
|
/*char/*struct FON_stText_ *FON_fn_p_stGetTextPointerOfHandle(FON_tdxHandleOfString hText);*/
|
|
/*struct FON_tdstFontAndEffect_ *FON_fn_p_stGetFontAndEffectPointerOfHandle(FON_tdxHandleOfString hText);*/
|
|
|
|
/*struct FON_tdstEffect_ *FON_fn_p_stGetEffectPointerOfHandle(FON_tdxHandleOfString hText);*/
|
|
#ifdef ACTIVE_EDITOR
|
|
extern CPA_EXPORT char *FON_fn_szGetNameOfTextHandle(FON_tdxHandleOfText hString);
|
|
#endif /* ACTIVE_EDITOR */
|
|
extern CPA_EXPORT FON_tdxHandleOfText FON_fn_hGetTextHandleWithoutWarning(char *_szLinkKey);
|
|
extern CPA_EXPORT FON_tdxHandleOfText FON_fn_hGetTextHandle(char *_szLinkKey);
|
|
extern CPA_EXPORT char *FON_fn_szGetTextPointerForHandle(FON_tdxHandleOfText hString);
|
|
extern CPA_EXPORT unsigned short FON_fn_uwGetNumberOfAvailableLanguages();
|
|
#ifdef __cplusplus
|
|
}/* extern "C" */
|
|
#endif
|
|
|
|
#endif /* __FONTEXT_H__ */
|