summaryrefslogtreecommitdiff
path: root/src/xine-engine/xine_interface.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-02-11 16:42:40 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-02-11 16:42:40 +0000
commit39c0fe482390f6657913635f344267e63cbf9005 (patch)
treefa90cad12fda2f9d509d2ea9d686e9e515cb419a /src/xine-engine/xine_interface.c
parent507fb444aeef4a7c863b7099661ccbb5d2ea4dd3 (diff)
downloadxine-lib-39c0fe482390f6657913635f344267e63cbf9005.tar.gz
xine-lib-39c0fe482390f6657913635f344267e63cbf9005.tar.bz2
add osd function to draw bitmaps (patch by Julio Sánchez <j.sanchezf@terra.es>)
CVS patchset: 4135 CVS date: 2003/02/11 16:42:40
Diffstat (limited to 'src/xine-engine/xine_interface.c')
-rw-r--r--src/xine-engine/xine_interface.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/xine-engine/xine_interface.c b/src/xine-engine/xine_interface.c
index ecce238b0..0dbabd2c9 100644
--- a/src/xine-engine/xine_interface.c
+++ b/src/xine-engine/xine_interface.c
@@ -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_interface.c,v 1.39 2003/02/06 10:59:02 miguelfreitas Exp $
+ * $Id: xine_interface.c,v 1.40 2003/02/11 16:42:43 miguelfreitas Exp $
*
* convenience/abstraction layer, functions to implement
* libxine's public interface
@@ -567,6 +567,12 @@ void xine_osd_get_palette(xine_osd_t *this, uint32_t *color, uint8_t *trans) {
this->osd.renderer->get_palette(&this->osd, color, trans);
}
+void xine_osd_draw_bitmap(xine_osd_t *this, uint8_t *bitmap,
+ int x1, int y1, int width, int height,
+ uint8_t *palette_map) {
+ this->osd.renderer->draw_bitmap(&this->osd, bitmap, x1, y1, width, height, palette_map);
+}
+
const char *const *xine_post_list_inputs(xine_post_t *this_gen) {
post_plugin_t *this = (post_plugin_t *)this_gen;
return this->input_ids;