aboutsummaryrefslogtreecommitdiffstats
path: root/src/osdtools.h
diff options
context:
space:
mode:
authorpv2b <devnull@localhost>2003-10-26 00:47:43 +0000
committerpv2b <devnull@localhost>2003-10-26 00:47:43 +0000
commit43c7eb6b0f80b27dd89092ee9ea5788a9c863645 (patch)
treee8091898d6e042dde263cf3525233f5ccc59bfec /src/osdtools.h
parent41ecb08fdf67db3e09970001e79ff15b0a050220 (diff)
26 Oct 2003 Per von Zweigbergk <pvz@e.kth.se>
* src/osdtools.c: Added osd_list_set_multitext, a new line breaking / truncating function to replace break_line and truncate_string. * src/osdtools.h: Added prototype for osd_list_set_multitext. * src/utils.c: Got rid of truncate_string and break_line. * src/utils.h: Got rid of prototypes for truncate_string and break_line. * src/tvtimeosd.c: Added tvtime_osd_list_set_multitext. Wrapper for osd_list_set_multitext. * src/tvtimeosd.h: Added prototype for tvtime_osd_list_set_multitext. * src/commands.c: Updated display_xmltv_description and update_xmltv_display for new line breaking code. Also replaced a stray tab with a train of spaces. * src/leetft.c: ft_font_render now truncates the string instead of discarding it if it had trouble decoding UTF-8.
Diffstat (limited to 'src/osdtools.h')
-rw-r--r--src/osdtools.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/osdtools.h b/src/osdtools.h
index da8c43f..0ac2d79 100644
--- a/src/osdtools.h
+++ b/src/osdtools.h
@@ -156,7 +156,8 @@ void osd_list_composite_packed422_scanline( osd_list_t *osdl,
uint8_t *background,
int width, int xpos,
int scanline );
-
+int osd_list_set_multitext( osd_list_t *odsl, int cur, const char *text,
+ int numlines, int maxwidth );
#ifdef __cplusplus
};
#endif

Privacy Policy