From 66603b8a306828ce5199c843bdd9261608d7f269 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 4 Dec 2001 12:46:11 +0000 Subject: Add tabstops, and also add proper cleaning up in whlp_abandon() so that this module doesn't leak like a sieve with the mesh missing. I think this code is now mature enough for the Buttress back end to be written. Woo. [originally from svn r1443] --- winhelp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'winhelp.h') diff --git a/winhelp.h b/winhelp.h index d8f92e5..61472a4 100644 --- a/winhelp.h +++ b/winhelp.h @@ -128,10 +128,11 @@ enum { WHLP_PARA_SCROLL, WHLP_PARA_NONSCROLL }; void whlp_para_attr(WHLP h, int attr_id, int attr_param); +void whlp_set_tabstop(WHLP h, int tabstop, int alignment); void whlp_begin_para(WHLP h, int para_type); void whlp_end_para(WHLP h); void whlp_set_font(WHLP h, int font_id); void whlp_text(WHLP h, char *text); void whlp_start_hyperlink(WHLP h, WHLP_TOPIC target); void whlp_end_hyperlink(WHLP h); - +void whlp_tab(WHLP h); -- cgit v1.1