projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support focus animation for listbox
[vuplus_dvbapp]
/
lib
/
gdi
/
grc.h
diff --git
a/lib/gdi/grc.h
b/lib/gdi/grc.h
index
38caa10
..
e91e7e8
100644
(file)
--- a/
lib/gdi/grc.h
+++ b/
lib/gdi/grc.h
@@
-64,6
+64,13
@@
struct gOpcode
shutdown,
setCompositing,
shutdown,
setCompositing,
+ sendShow,
+ sendHide,
+#ifdef USE_LIBVUGLES2
+ sendShowItem,
+ setFlush,
+ setView,
+#endif
} opcode;
gDC *dc;
} opcode;
gDC *dc;
@@
-84,6
+91,8
@@
struct gOpcode
eRect area;
char *text;
int flags;
eRect area;
char *text;
int flags;
+ int border;
+ gRGB bordercolor;
} *renderText;
struct prenderPara
} *renderText;
struct prenderPara
@@
-142,6
+151,31
@@
struct gOpcode
} *setOffset;
gCompositingData *setCompositing;
} *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;
};
} parm;
};
@@
-226,7
+260,7
@@
public:
RT_WRAP = 32
};
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 renderPara(eTextPara *para, ePoint offset=ePoint(0, 0));
@@
-265,6
+299,13
@@
public:
void setCompositing(gCompositingData *comp);
void flush();
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
};
class gDC: public iObject