diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-11-26 13:33:54 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-11-26 13:33:54 +0000 |
commit | a49410074fd4df1f0ca7797e8b4e0ee6a845b927 (patch) | |
tree | 1c0626d553a9243e9db98b1f0b500b2ce01926a8 /include | |
parent | 5812e8098ab74272a5ce004e862a9fef337007ef (diff) | |
download | xine-lib-a49410074fd4df1f0ca7797e8b4e0ee6a845b927.tar.gz xine-lib-a49410074fd4df1f0ca7797e8b4e0ee6a845b927.tar.bz2 |
public api for unscaled osd
CVS patchset: 5786
CVS date: 2003/11/26 13:33:54
Diffstat (limited to 'include')
-rw-r--r-- | include/xine.h.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/xine.h.in b/include/xine.h.in index a6821dbcb..70f71a3aa 100644 --- a/include/xine.h.in +++ b/include/xine.h.in @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.h.in,v 1.105 2003/11/22 21:19:09 f1rmb Exp $ + * $Id: xine.h.in,v 1.106 2003/11/26 13:33:54 miguelfreitas Exp $ * * public xine-lib (libxine) interface and documentation * @@ -1671,10 +1671,14 @@ void xine_event_send (xine_stream_t *stream, const xine_event_t *event); /* yellow text, black border, transparent background */ #define XINE_TEXTPALETTE_YELLOW_BLACK_TRANSPARENT 3 +#define XINE_OSD_CAP_FREETYPE2 0x0001 /* freetype2 support compiled in */ +#define XINE_OSD_CAP_UNSCALED 0x0002 /* unscaled overlays supp. by vo drv */ + typedef struct xine_osd_s xine_osd_t; xine_osd_t *xine_osd_new (xine_stream_t *self, int x, int y, int width, int height); +uint32_t xine_osd_get_capabilities (xine_osd_t *self); void xine_osd_draw_point (xine_osd_t *self, int x, int y, int color); void xine_osd_draw_line (xine_osd_t *self, int x1, int y1, @@ -1706,6 +1710,7 @@ void xine_osd_set_encoding(xine_osd_t *self, const char *encoding); /* set position were overlay will be blended */ void xine_osd_set_position (xine_osd_t *self, int x, int y); void xine_osd_show (xine_osd_t *self, int64_t vpts); +void xine_osd_show_unscaled (xine_osd_t *self, int64_t vpts); void xine_osd_hide (xine_osd_t *self, int64_t vpts); /* empty drawing area */ void xine_osd_clear (xine_osd_t *self); |