Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

ht_info_lexer Class Reference

#include <infoview.h>

Inheritance diagram for ht_info_lexer:

ht_syntax_lexer Object List of all members.

Public Member Functions

void init (ht_view *pal_from)
virtual vcp getcolor_syntax (UINT pal_index)
virtual lexer_state getinitstate ()
virtual lexer_token geterrortoken ()
virtual char * getname ()
virtual lexer_token gettoken (void *buf, UINT buflen, text_pos p, bool start_of_line, lexer_state *ret_state, UINT *ret_len)
virtual vcp gettoken_color (lexer_token t)
void set_xrefs (ht_tree *xrefs)
void set_cursor (UINT cx, UINT cy)

Public Attributes

ht_treexrefs
UINT cx
UINT cy
ht_viewpal_from

Member Function Documentation

vcp ht_info_lexer::getcolor_syntax UINT  pal_index  )  [virtual]
 

Implements ht_syntax_lexer.

Definition at line 265 of file infoview.cc.

References UINT, VC_BLACK, VC_WHITE, VCP, and vcp.

lexer_token ht_info_lexer::geterrortoken  )  [virtual]
 

Implements ht_syntax_lexer.

Definition at line 270 of file infoview.cc.

References lexer_token.

lexer_state ht_info_lexer::getinitstate  )  [virtual]
 

Implements ht_syntax_lexer.

Definition at line 260 of file infoview.cc.

References lexer_state.

char * ht_info_lexer::getname  )  [virtual]
 

Implements ht_syntax_lexer.

Definition at line 275 of file infoview.cc.

lexer_token ht_info_lexer::gettoken void *  buf,
UINT  buflen,
text_pos  p,
bool  start_of_line,
lexer_state ret_state,
UINT ret_len
[virtual]
 

Implements ht_syntax_lexer.

Definition at line 284 of file infoview.cc.

References cx, cy, ht_tree::get(), ILT_LINK, ILT_LINK_SEL, ILT_TEXT, info_xref::len, lexer_state, lexer_token, text_pos::line, MIN, text_pos::pofs, UINT, and xrefs.

vcp ht_info_lexer::gettoken_color lexer_token  t  )  [virtual]
 

Implements ht_syntax_lexer.

Definition at line 304 of file infoview.cc.

References ht_view::getcolor(), ILT_LINK, ILT_LINK_SEL, ILT_TEXT, lexer_token, pal_from, palidx_generic_text_focused, palidx_generic_text_shortcut, palidx_generic_text_shortcut_selected, VC_RED, VC_WHITE, VCP, and vcp.

void ht_info_lexer::init ht_view pal_from  ) 
 

Definition at line 251 of file infoview.cc.

References cx, cy, Object::init(), NULL, pal_from, and xrefs.

Referenced by ht_info_viewer::igotonode().

void ht_info_lexer::set_cursor UINT  cx,
UINT  cy
 

Definition at line 317 of file infoview.cc.

References cx, cy, and UINT.

void ht_info_lexer::set_xrefs ht_tree xrefs  ) 
 

Definition at line 323 of file infoview.cc.

References xrefs.

Referenced by ht_info_viewer::igotonode().


Member Data Documentation

UINT ht_info_lexer::cx
 

Definition at line 50 of file infoview.h.

Referenced by gettoken(), init(), and set_cursor().

UINT ht_info_lexer::cy
 

Definition at line 50 of file infoview.h.

Referenced by gettoken(), init(), and set_cursor().

ht_view* ht_info_lexer::pal_from
 

Definition at line 51 of file infoview.h.

Referenced by gettoken_color(), and init().

ht_tree* ht_info_lexer::xrefs
 

Definition at line 49 of file infoview.h.

Referenced by gettoken(), init(), and set_xrefs().


The documentation for this class was generated from the following files:
Generated on Fri May 7 21:15:59 2004 by doxygen 1.3.5