52 #ifndef _MGNCS_PHONESTATICRDRPIECE_H
53 #define _MGNCS_PHONESTATICRDRPIECE_H
58 #include <mgplus/mgplus.h>
59 #include <minigui/common.h>
61 typedef struct _mPhoneStaticRDRPieceClass mPhoneStaticRDRPieceClass;
62 typedef struct _mPhoneStaticRDRPiece mPhoneStaticRDRPiece;
64 #define mPhoneStaticRDRPieceClassHeader(clss, superCls) \
65 mStaticPieceClassHeader(clss, superCls)\
67 struct _mPhoneStaticRDRPieceClass
69 mPhoneStaticRDRPieceClassHeader(mPhoneStaticRDRPiece, mStaticPiece)
72 MGNCS_EXPORT
extern mPhoneStaticRDRPieceClass g_stmPhoneStaticRDRPieceCls;
74 #define mPhoneStaticRDRPieceHeader(clss) \
75 mStaticPieceHeader(clss) \
80 char* main_text_str; \
82 ARGB main_font_color;\
85 struct _mPhoneStaticRDRPiece
87 mPhoneStaticRDRPieceHeader(mPhoneStaticRDRPiece)
90 #define PHONESTATICRDRPIECE_PROP_BEGIN USER_PIECE_PROP_BEGIN + 400
92 enum mPhoneStaticRDRPieceProps {
93 NCSP_PHONESTATICRDRPIECE_MAIN_TEXT = PHONESTATICRDRPIECE_PROP_BEGIN,
94 NCSP_PHONESTATICRDRPIECE_SUB_TEXT,
95 NCSP_PHONESTATICRDRPIECE_MAIN_FONT,
96 NCSP_PHONESTATICRDRPIECE_SUB_FONT,
97 NCSP_PHONESTATICRDRPIECE_MAIN_COLOR,
98 NCSP_PHONESTATICRDRPIECE_SUB_COLOR