File:  [Public] / libwww / LineMode / src / GridText.html
Revision 1.14: download - view: text, annotated - select for diffs
Sun Feb 16 18:44:11 1997 UTC (27 years, 4 months ago) by frystyk
Branches: MAIN
CVS tags: Release-5-1l, Release-5-1k, Release-5-1j, Release-5-1g, Release-5-1e, Release-5-1d, Release-5-1b, Release-5-1a, Release-5-1, HEAD
Changed name of sample coed library

<HTML>
<HEAD>
<TITLE>Style Management for Line Mode Browser</TITLE>
<!-- Changed by: Henrik Frystyk Nielsen,  4-Jul-1996 -->
</HEAD>
<BODY>

<H1>Style Definition for Hypertext</H1>

<PRE>
/*
**	(c) COPYRIGHT MIT 1995.
**	Please first read the full copyright statement in the file COPYRIGH.
*/
</PRE>

This module defines the HText functions referenced from the HTML
module in the <A HREF="http://www.w3.org/pub/WWW/Library/">W3C
Sample Code Library</A>.

<PRE>
#include "WWWLib.h"
#include "HText.h"

extern HTChildAnchor * HText_childNumber (HText * text, int n);

/* delete a hyper doc object with interfering with any anchors */
extern void hyperfree (HText * me);

/* Is there any file left? */
extern BOOL HText_canScrollUp (HText * text);
extern BOOL HText_canScrollDown (HText * text);

/* Move display within window */
extern void HText_scrollUp (HText * text);	/* One page */
extern void HText_scrollDown (HText * text);	/* One page */
extern void HText_scrollTop (HText * text);
extern void HText_scrollBottom (HText * text);

extern int HText_sourceAnchors (HText * text);
extern void HText_setStale (HText * text);
extern void HText_refresh (HText * text);

#ifdef CURSES
extern int HText_getTopOfScreen (HText * text);
extern int HText_getLines (HText * text);
#endif

</PRE>

<H2>
Delete All Documents in Memory
</H2>

This is typically called at clean up time just before exiting the application.

<PRE>
extern BOOL HText_freeAll (void);
</PRE>

End of declaration

</BODY>
</HTML>



Webmaster