shutdown,
setCompositing,
+ sendShow,
+ sendHide,
+#ifdef USE_LIBVUGLES2
+ sendShowItem,
+ setFlush,
+ setView,
+#endif
} opcode;
gDC *dc;
eRect area;
char *text;
int flags;
+ int border;
+ gRGB bordercolor;
} *renderText;
struct prenderPara
} *setOffset;
gCompositingData *setCompositing;
+
+ struct psetShowHideInfo
+ {
+ ePoint point;
+ eSize size;
+ } *setShowHideInfo;
+
+#ifdef USE_LIBVUGLES2
+ struct psetShowItemInfo
+ {
+ long dir;
+ ePoint point;
+ eSize size;
+ } *setShowItemInfo;
+
+ struct psetFlush
+ {
+ bool enable;
+ } *setFlush;
+
+ struct psetViewInfo
+ {
+ eSize size;
+ } *setViewInfo;
+#endif
} parm;
};
RT_WRAP = 32
};
- void renderText(const eRect &position, const std::string &string, int flags=0);
+ void renderText(const eRect &position, const std::string &string, int flags=0, gRGB bordercolor=gRGB(), int border=0);
void renderPara(eTextPara *para, ePoint offset=ePoint(0, 0));
void setCompositing(gCompositingData *comp);
void flush();
+ void sendShow(ePoint point, eSize size);
+ void sendHide(ePoint point, eSize size);
+#ifdef USE_LIBVUGLES2
+ void sendShowItem(long dir, ePoint point, eSize size);
+ void setFlush(bool val);
+ void setView(eSize size);
+#endif
};
class gDC: public iObject