Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::containers::text::FORMAT_OPS Enumeration
C++
enum FORMAT_OPS {
  FORMAT_OP_CLEAR_END_OF_LINE = 1,
  FORMAT_OP_CLEAR_START_OF_LINE,
  FORMAT_OP_CLEAR_LINE,
  FORMAT_OP_CLEAR_END_OF_PAGE,
  FORMAT_OP_CLEAR_START_OF_PAGE,
  FORMAT_OP_CLEAR_PAGE,
  FORMAT_OP_CONCEAL,
  FORMAT_OP_DELETE_CHARS,
  FORMAT_OP_SET_SCROLL_REGION,
  FORMAT_OP_GET_CURSOR,
  FORMAT_OP_SET_CURSOR,
  FORMAT_OP_PAGE_BREAK,
  FORMAT_OP_PARAGRAPH_BREAK
};
Members 
Description 
FORMAT_OP_CLEAR_END_OF_LINE = 1 
this segment clears to the end of the line. Its content is then added to the output 
FORMAT_OP_CLEAR_START_OF_LINE 
clear from the current cursor to the start of line 
FORMAT_OP_CLEAR_LINE 
clear the current line 
FORMAT_OP_CLEAR_END_OF_PAGE 
clear to the end of the page from this line 
FORMAT_OP_CLEAR_START_OF_PAGE 
clear from this line to the start of the page 
FORMAT_OP_CLEAR_PAGE 
clear the entire vieable page (pushes all content to history) set cursor home 
FORMAT_OP_CONCEAL 
sets option to not show text at all until next color. 
FORMAT_OP_DELETE_CHARS 
background is how many to delete. 
FORMAT_OP_SET_SCROLL_REGION 
format.x, y are start/end of region -1,-1 clears. 
FORMAT_OP_GET_CURSOR 
this works as a transaction... 
FORMAT_OP_SET_CURSOR 
responce to getcursor... 
FORMAT_OP_PAGE_BREAK 
clear page, home page... result in page break... 
FORMAT_OP_PARAGRAPH_BREAK 
break between paragraphs - kinda same as lines... since lines are as long as possible... 

these enumerated ops put in the foreground field of a format with a flag of TF_FORMATEX will cause the specified operation to be carried out on a display (not files) or generated into the appropriate sequence (ansi out encode) -- correction this is encoded into its own field for the format size, due to machine optimization, 16 bits were free this was expanded and used for all information a segment may contain extended op, color, attributes, and text, everything short of a font for it...

  • not sure how to address that issue... there's

certainly modifications to current font... italic for instance..

Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!