home *** CD-ROM | disk | FTP | other *** search
- \hy-10{100}{wxWindows Classes}
-
-
- \hy-2{101}{wxHTMappingStructure: wxObject}
-
- \hy-2{115}{wxHyperTextMapping: wxList}
-
- \hy-2{139}{wxHyperTextWindow: wxCanvas}
-
- \hy-2{340}{wxTextChunk: wxObject}
-
-
- \hy-10{102}{wxHTMappingStructure: wxObject}
-
- This class is used for storing mapping information for a block type.
-
- \hy-2{103}{wxHTMappingStructure::wxHTMappingStructure}
-
- \hy-2{106}{wxHTMappingStructure::~wxHTMappingStructure}
-
- \hy-2{109}{wxHTMappingStructure::Copy}
-
- \hy-2{112}{wxHTMappingStructure::GetFont}
-
-
- \hy-10{116}{wxHyperTextMapping: wxList}
-
- An object of this class stores a list of block mapping structures. The
- programmer needs to call \hy-8{117}{wxHyperTextWindow::SetMapping} with an
- object of this class, to specify how blocks are interpreted; several
- instances of \hy-8{118}{wxHyperTextWindow} could make use of the same \hy-8{119}{
- wxHyperTextMapping}.
-
- \hy-2{120}{wxHyperTextMapping::wxHyperTextMapping}
-
- \hy-2{123}{wxHyperTextMapping::~wxHyperTextMapping}
-
- \hy-2{126}{wxHyperTextMapping::AddMapping}
-
- \hy-2{130}{wxHyperTextMapping::ClearMapping}
-
- \hy-2{133}{wxHyperTextMapping::FindByName}
-
- \hy-2{136}{wxHyperTextMapping::GetMapping}
-
-
- \hy-10{140}{wxHyperTextWindow: wxCanvas}
-
- Objects of this class represent a canvas on which hypertext files are
- drawn. Most of the functionality of the library is accessed through
- this class.
-
- Note that the class defines behaviour for \hy-8{141}{OnEvent} and \hy-8{142}{OnPaint}.
-
- \hy-2{143}{wxHyperTextWindow::wxHyperTextWindow}
-
- \hy-2{147}{wxHyperTextWindow::~wxHyperTextWindow}
-
- \hy-2{150}{wxHyperTextWindow::AddBlock}
-
- \hy-2{155}{wxHyperTextWindow::ClearBlock}
-
- \hy-2{160}{wxHyperTextWindow::ClearFile}
-
- \hy-2{163}{wxHyperTextWindow::Compile}
-
- \hy-2{171}{wxHyperTextWindow::DiscardEdits}
-
- \hy-2{175}{wxHyperTextWindow::DisplayFile}
-
- \hy-2{179}{wxHyperTextWindow::DisplayFileAt}
-
- \hy-2{184}{wxHyperTextWindow::DisplayFileAtTop}
-
- \hy-2{187}{wxHyperTextWindow::DisplayNextSection}
-
- \hy-2{190}{wxHyperTextWindow::DisplayPreviousSection}
-
- \hy-2{193}{wxHyperTextWindow::DrawOutline}
-
- \hy-2{196}{wxHyperTextWindow::FindBlock}
-
- \hy-2{199}{wxHyperTextWindow::FindBlockForSection}
-
- \hy-2{205}{wxHyperTextWindow::FindChunkAtBlock}
-
- \hy-2{210}{wxHyperTextWindow::FindChunkAtLine}
-
- \hy-2{215}{wxHyperTextWindow::FindPosition}
-
- \hy-2{218}{wxHyperTextWindow::GenerateId}
-
- \hy-2{221}{wxHyperTextWindow::GetBlockText}
-
- \hy-2{226}{wxHyperTextWindow::GetBlockType}
-
- \hy-2{229}{wxHyperTextWindow::GetCurrentSectionNumber}
-
- \hy-2{232}{wxHyperTextWindow::GetEditMode}
-
- \hy-2{235}{wxHyperTextWindow::GetFirstSelection}
-
- \hy-2{239}{wxHyperTextWindow::GetLinkTable}
-
- \hy-2{244}{wxHyperTextWindow::GetNextSelection}
-
- \hy-2{248}{wxHyperTextWindow::GetTitle}
-
- \hy-2{251}{wxHyperTextWindow::LoadFile}
-
- \hy-2{254}{wxHyperTextWindow::Modified}
-
- \hy-2{257}{wxHyperTextWindow::OnBeginDragLeft}
-
- \hy-2{260}{wxHyperTextWindow::OnBeginDragRight}
-
- \hy-2{263}{wxHyperTextWindow::OnDragLeft}
-
- \hy-2{272}{wxHyperTextWindow::OnDragRight}
-
- \hy-2{281}{wxHyperTextWindow::OnEndDragLeft}
-
- \hy-2{284}{wxHyperTextWindow::OnEndDragRight}
-
- \hy-2{287}{wxHyperTextWindow::OnLeftClick}
-
- \hy-2{290}{wxHyperTextWindow::OnRightClick}
-
- \hy-2{293}{wxHyperTextWindow::OnSelectBlock}
-
- \hy-2{296}{wxHyperTextWindow::RestoreSection}
-
- \hy-2{304}{wxHyperTextWindow::SaveFile}
-
- \hy-2{307}{wxHyperTextWindow::SaveSection}
-
- \hy-2{314}{wxHyperTextWindow::SelectBlock}
-
- \hy-2{321}{wxHyperTextWindow::SetBlockType}
-
- \hy-2{324}{wxHyperTextWindow::SetEditMode}
-
- \hy-2{327}{wxHyperTextWindow::SetIndexWriting}
-
- \hy-2{331}{wxHyperTextWindow::SetMapping}
-
- \hy-2{334}{wxHyperTextWindow::SetMargins}
-
- \hy-2{337}{wxHyperTextWindow::SetTitle}
-
-
- \hy-10{341}{wxTextChunk: wxObject}
-
- This class is used for storing a text string which has all the
- same font and colour attributes. The entire hypertext file is broken
- up into a list of these fragments, and the \hy-8{342}{Compile} function
- assigns actual font and colour attributes to each chunk.
- A text chunk may also mark the start of a line (each line has
- a special start line text chunk).
-
- If a chunk represents the start of a block, the \hy-8{343}{block_id} is
- this block. For chunks within a block, the \hy-8{344}{block_id} is always
- the id of the block currently in scope. A text chunk which marks the
- end of a block has \hy-8{345}{block_id} set to the \hy-7{346}{next} block's id,
- but \hy-8{347}{end_block} set to the ending block's id. This is because a
- text chunk contains the \hy-7{348}{next} fragment of text, and an end block
- chunk has two purposes: to end one block, and continue another.
-
- \hy-2{349}{wxTextChunk::wxTextChunk}
-
- \hy-2{352}{wxTextChunk::~wxTextChunk}
-
- \hy-2{355}{wxTextChunk::background_colour}
-
- \hy-2{359}{wxTextChunk::block_id}
-
- \hy-2{362}{wxTextChunk::block_type}
-
- \hy-2{366}{wxTextChunk::chunk_type}
-
- \hy-2{370}{wxTextChunk::colour}
-
- \hy-2{374}{wxTextChunk::end_id}
-
- \hy-2{378}{wxTextChunk::font}
-
- \hy-2{382}{wxTextChunk::line_no}
-
- \hy-2{385}{wxTextChunk::logical_op}
-
- \hy-2{388}{wxTextChunk::selected}
-
- \hy-2{391}{wxTextChunk::special_attribute}
-
- \hy-2{394}{wxTextChunk::text}
-
- \hy-2{397}{wxTextChunk::visibility}
-
- \hy-10{104}{wxHTMappingStructure::wxHTMappingStructure}
-
- \hy-8{105}{void wxHTMappingStructure(int blockType, int textSize, int textFamily, int textStyle,
- int textWeight, char *textColour, char *name, int attribute = wxHYPER_NONE,
- int visibility = TRUE)}
-
- Constructor.
-
- \hy-10{107}{wxHTMappingStructure::~wxHTMappingStructure}
-
- \hy-8{108}{void ~wxHTMappingStructure(void)}
-
- Destructor.
-
- \hy-10{110}{wxHTMappingStructure::Copy}
-
- \hy-8{111}{wxHTMappingStructure * Copy(void)}
-
- Copies the structure.
-
- \hy-10{113}{wxHTMappingStructure::GetFont}
-
- \hy-8{114}{wxFont * GetFont(void)}
-
- Finds or creates a font matching the characteristics stored in this
- structure.
-
- \hy-10{121}{wxHyperTextMapping::wxHyperTextMapping}
-
- \hy-8{122}{void wxHyperTextMapping(void)}
-
- Constructor.
-
- \hy-10{124}{wxHyperTextMapping::~wxHyperTextMapping}
-
- \hy-8{125}{void ~wxHyperTextMapping(void)}
-
- Destructor.
-
- \hy-10{127}{wxHyperTextMapping::AddMapping}
-
- \hy-8{128}{void AddMapping(int blockType, int textSize, int textFamily, int textStyle,
- int textWeight, char * textColour, char *name, int attribute = -1,
- int visibility = TRUE)}
-
- Adds a mapping for a block type. \hy-7{129}{blockType} must be unique, and
- any parameters which have the default value (-1 for integers, NULL for
- strings) will be instantiated according to the context of the block.
- That is, if a block is nested with another block, the outer block's
- characteristics are used to fill in the default values.
-
- See wxhelp.cc for examples.
-
- \hy-10{131}{wxHyperTextMapping::ClearMapping}
-
- \hy-8{132}{void ClearMapping(void)}
-
- Deletes all members of the mapping list.
-
- \hy-10{134}{wxHyperTextMapping::FindByName}
-
- \hy-8{135}{void FindByName(char *name)}
-
- Finds a mapping structure by name.
-
- \hy-10{137}{wxHyperTextMapping::GetMapping}
-
- \hy-8{138}{Bool GetMapping(int blockType, int * textSize, int *textFamily, int *textStyle,
- int *textWeight, char **textColour, char **name, int *attribute,
- int *visibility)}
-
- Gets mapping values for a given block, returning FALSE if not found.
-
- \hy-10{144}{wxHyperTextWindow::wxHyperTextWindow}
-
- \hy-8{145}{void wxHyperTextWindow(wxFrame *parent, int x, int y,
- int w, int h, int style)}
-
- Constructor; for details see \hy-8{146}{wxCanvas} in the wxWindows class reference.
-
- \hy-10{148}{wxHyperTextWindow::~wxHyperTextWindow}
-
- \hy-8{149}{void ~wxHyperTextWindow(void)}
-
- Destructor.
-
- \hy-10{151}{wxHyperTextWindow::AddBlock}
-
- \hy-8{152}{Bool AddBlock(int xStart, int yStart, int xEnd, int yEnd, int blockType, int blockId)}
-
- Adds a block from the first row/column to the second row/column, with
- given type and unique identifier. The display will not change until
- the functions \hy-8{153}{Compile} and \hy-8{154}{DisplayFileAt} are called.
-
- \hy-10{156}{wxHyperTextWindow::ClearBlock}
-
- \hy-8{157}{Bool ClearBlock(int blockId)}
-
- Clears the given block. The display will not change until the
- functions \hy-8{158}{Compile} and \hy-8{159}{DisplayFileAt} are called.
-
- \hy-10{161}{wxHyperTextWindow::ClearFile}
-
- \hy-8{162}{void ClearFile(void)}
-
- Clears the current hypertext file.
-
- \hy-10{164}{wxHyperTextWindow::Compile}
-
- \hy-8{165}{void Compile(void)}
-
- Compiles the current hypertext file, that is, traverses the block
- structure of the file associating actual fonts and other attributes to
- text chunks. This must be done before a file may be displayed, and may
- also require the functions \hy-8{166}{SaveSection} and \hy-8{167}{RestoreSection}
- to be called in order to save and restore the current position in the
- file, since compilation destroys section pointers.
-
- After a \hy-8{168}{Compile} (which is necessary after marking up or any
- operation which affects the display) the file must be displayed with
- \hy-8{169}{DisplayFileAt} or \hy-8{170}{RestoreSection}.
-
- \hy-10{172}{wxHyperTextWindow::DiscardEdits}
-
- \hy-8{173}{void DiscardEdits(void)}
-
- Discards any edits (just sets the internal \hy-7{174}{modified} flag to FALSE).
-
- \hy-10{176}{wxHyperTextWindow::DisplayFile}
-
- \hy-8{177}{void DisplayFile(void)}
-
- Draw the text at the point found by \hy-8{178}{DisplayFileAt}.
-
- \hy-10{180}{wxHyperTextWindow::DisplayFileAt}
-
- \hy-8{181}{void DisplayFileAt(long blockId, Bool refresh = TRUE)}
-
- Positions the file at the given block, drawing the text only if \hy-7{182}{refresh} is TRUE.
- If \hy-7{183}{blockId} is -1, the file is displayed at the top.
-
- \hy-10{185}{wxHyperTextWindow::DisplayFileAtTop}
-
- \hy-8{186}{void DisplayFileAtTop(void)}
-
- Displays the file at the top (first section).
-
- \hy-10{188}{wxHyperTextWindow::DisplayNextSection}
-
- \hy-8{189}{void DisplayNextSection(void)}
-
- Finds and displays the next section.
-
- \hy-10{191}{wxHyperTextWindow::DisplayPreviousSection}
-
- \hy-8{192}{void DisplayPreviousSection(void)}
-
- Finds and displays the previous section.
-
- \hy-10{194}{wxHyperTextWindow::DrawOutline}
-
- \hy-8{195}{void DrawOutline(float x1, float y1, float x2, float y2)}
-
- Draws a rectangular outline for rubber-banding using the given
- top-left and bottom-right coordinates
-
- \hy-10{197}{wxHyperTextWindow::FindBlock}
-
- \hy-8{198}{wxTextChunk * FindBlock(long blockId)}
-
- For a given block id, returns the text chunk at the start of the
- block.
-
- \hy-10{200}{wxHyperTextWindow::FindBlockForSection}
-
- \hy-8{201}{long FindBlockForSection(wxNode *sectionNode)}
-
- Pointers to blocks which mark sections are stored in the data member
- \hy-8{202}{sections}. This function takes a node which is known to point
- to a text chunk marking a block, and returns the block id.
- This is a fairly trivial function since it just gets the \hy-8{203}{wxTextChunk}
- from the node and returns its \hy-8{204}{block_id}.
-
- \hy-10{206}{wxHyperTextWindow::FindChunkAtBlock}
-
- \hy-8{207}{wxNode * FindChunkAtBlock(long blockId)}
-
- For a given block id, returns the position in the text chunks list of
- the first CHUNK_START_LINE chunk before the block. A \hy-8{208}{wxNode}
- pointer is returned to allow the programmer to efficiently traverse
- the text chunks list from this point. The data stored in this node is
- a \hy-8{209}{wxTextChunk} object.
-
- This function may not be very useful for programmers; it is mainly for
- internal use. Normally functions returning and taking block ids
- are used for manipulating blocks.
-
- \hy-10{211}{wxHyperTextWindow::FindChunkAtLine}
-
- \hy-8{212}{wxNode * FindChunkAtLine(long blockId)}
-
- For a given block id, returns the position in the text chunks list of
- the first chunk on the given line. A \hy-8{213}{wxNode} pointer is returned
- to allow the programmer to efficiently traverse the text chunks list
- from this point. The data stored in this node is a \hy-8{214}{wxTextChunk}
- object.
-
- This function may not be very useful for programmers; it is mainly for
- internal use. Normally functions returning and taking block ids
- are used for manipulating blocks.
-
- \hy-10{216}{wxHyperTextWindow::FindPosition}
-
- \hy-8{217}{Bool FindPosition(float mouseX, float mouseY, int *charPos, int *linePos, long *blockId)}
-
- Finds the character and line position of the given point, plus the id of the block found.
- Returns FALSE if no character was found at this position.
-
- \hy-10{219}{wxHyperTextWindow::GenerateId}
-
- \hy-8{220}{long GenerateId(void)}
-
- Generates a unique identifier for a block; may be overridden to supply
- a different generator.
-
- \hy-10{222}{wxHyperTextWindow::GetBlockText}
-
- \hy-8{223}{void GetBlockText(char *buffer, int maxSize, long blockId)}
-
- \hy-8{224}{void GetBlockText(char *buffer, int maxSize, wxNode *node, long blockId)}
-
- Gets the plain text bounded by the given block, stripping out any
- block codes. The second form is more efficient since it takes a node
- containing a pointer to the \hy-8{225}{wxTextChunk}, and doesn't have to
- search for the block.
-
- \hy-10{227}{wxHyperTextWindow::GetBlockType}
-
- \hy-8{228}{int GetBlockType(long blockId)}
-
- Gets the type of the given block.
-
- \hy-10{230}{wxHyperTextWindow::GetCurrentSectionNumber}
-
- \hy-8{231}{int GetCurrentSectionNumber(void)}
-
- Gets the number of the currently-displayed section, starting from 1. Zero is returned
- if there are no section markers.
-
- \hy-10{233}{wxHyperTextWindow::GetEditMode}
-
- \hy-8{234}{Bool GetEditMode(void)}
-
- Returns TRUE if the hypertext window is editable.
-
- \hy-10{236}{wxHyperTextWindow::GetFirstSelection}
-
- \hy-8{237}{long GetFirstSelection(void)}
-
- Gets the first block selected. Use \hy-8{238}{GetNextSelection} for subsequent
- blocks. Returns -1 if no more selections.
-
- \hy-10{240}{wxHyperTextWindow::GetLinkTable}
-
- \hy-8{241}{wxHashTable * GetLinkTable(void)}
-
- Returns the hypertext window's hash table used for storing links
- between blocks. Objects of type \hy-8{242}{HypertextItem} are stored in the
- table, containing a destination filename and destination block id;
- these objects must be indexed by the source block id, to store a link
- between a source block and destination block.
-
- This is only relevant if using the built-in index facility, rather than
- implementing your own index. You need to put and get explicitly, and writing
- to a file will use this table for saving the index. For example:
-
- \hy-14{243}{ if (GetLinkTable()->Get(block_id))
- MainFrame->SetStatusText("This block already linked!");
- else if (hySelection->block_id > -1)
- {
- GetLinkTable()->Put(block_id,
- new HypertextItem(hySelection->filename, hySelection->block_id));
- modified = TRUE;
- SelectBlock(hySelection->block_id, FALSE);
- Compile();
- DisplayFile();
- }
- }
- \hy-10{245}{wxHyperTextWindow::GetNextSelection}
-
- \hy-8{246}{long GetFirstSelection(void)}
-
- Gets the next block selected (use \hy-8{247}{GetFirstSelection} to start.
- Returns -1 if no more selections.
-
- \hy-10{249}{wxHyperTextWindow::GetTitle}
-
- \hy-8{250}{char * GetTitle(void)}
-
- Returns NULL or the title (pointer to the hypertext window's local memory).
-
-
- \hy-10{252}{wxHyperTextWindow::LoadFile}
-
- \hy-8{253}{Bool LoadFile(char *file)}
-
- Loads the named file.
-
- \hy-10{255}{wxHyperTextWindow::Modified}
-
- \hy-8{256}{Bool Modified(void)}
-
- Returns true if the user has modified the text.
-
- \hy-10{258}{wxHyperTextWindow::OnBeginDragLeft}
-
- \hy-8{259}{void OnBeginDragLeft(float x, float y, long blockId, int keys)}
-
- Called when the user starts to left-drag. Overrideable.
-
- \hy-10{261}{wxHyperTextWindow::OnBeginDragRight}
-
- \hy-8{262}{void OnBeginDragRight(float x, float y, long blockId, int keys)}
-
- Called when the user starts to right-drag. Overrideable.
-
- \hy-10{264}{wxHyperTextWindow::OnDragLeft}
-
- \hy-8{265}{void OnDragLeft(Bool draw, float x, float y, long blockId, int keys)}
-
- Called when the user is in the middle of a drag operation; called once
- with \hy-7{266}{draw} equal to FALSE and with \hy-7{267}{x} and \hy-7{268}{y} equal to
- the old values, then again with \hy-7{269}{draw} equal to TRUE and updated
- \hy-7{270}{x} and \hy-7{271}{y} (to allow erase/draw operations).
-
- \hy-10{273}{wxHyperTextWindow::OnDragRight}
-
- \hy-8{274}{void OnDragRight(Bool draw, float x, float y, long blockId, int keys)}
-
- Called when the user is in the middle of a drag operation; called once
- with \hy-7{275}{draw} equal to FALSE and with \hy-7{276}{x} and \hy-7{277}{y} equal to
- the old values, then again with \hy-7{278}{draw} equal to TRUE and updated
- \hy-7{279}{x} and \hy-7{280}{y} (to allow erase/draw operations).
-
- \hy-10{282}{wxHyperTextWindow::OnEndDragLeft}
-
- \hy-8{283}{void OnEndDragLeft(float x, float y, long blockId, int keys)}
-
- Called when the user finishes left-dragging. Overrideable.
-
- \hy-10{285}{wxHyperTextWindow::OnEndDragRight}
-
- \hy-8{286}{void OnEndDragRight(float x, float y, long blockId, int keys)}
-
- Called when the user finishes right-dragging. Overrideable.
-
- \hy-10{288}{wxHyperTextWindow::OnLeftClick}
-
- \hy-8{289}{void OnLeftClick(float x, float y, int charPos, int linePos, long blockId, int keys)}
-
- Called when the user left-clicks. Overrideable. The default behaviour when SHIFT is held down
- is to select or deselect the mouse-over block.
-
- \hy-10{291}{wxHyperTextWindow::OnRightClick}
-
- \hy-8{292}{void OnRightClick(float x, float y, int charPos, int linePos, long blockId, int keys)}
-
- Called when the user right-clicks. Overrideable.
-
- \hy-10{294}{wxHyperTextWindow::OnSelectBlock}
-
- \hy-8{295}{void OnSelectBlock(long blockId, Bool select)}
-
- Called whenever a block is selected or deselected. Overridable.
-
- \hy-10{297}{wxHyperTextWindow::RestoreSection}
-
- \hy-8{298}{void RestoreSection(void)}
-
- When a call is made to \hy-8{299}{Compile}, the current pointer to the current
- section becomes invalid, since all sections are recalculated. You need
- to \hy-8{300}{SaveSection} before \hy-8{301}{Compile}, followed by \hy-8{302}{RestoreSection} after
- the \hy-8{303}{Compile}, in order to restore the display to the previous state.
-
- \hy-10{305}{wxHyperTextWindow::SaveFile}
-
- \hy-8{306}{Bool SaveFile(char *file)}
-
- Saves the hypertext file and index.
-
- \hy-10{308}{wxHyperTextWindow::SaveSection}
-
- \hy-8{309}{void SaveSection(void)}
-
- When a call is made to \hy-8{310}{Compile}, the current pointer to the current
- section becomes invalid, since all sections are recalculated. You need
- to call this before \hy-8{311}{Compile}, followed by \hy-8{312}{RestoreSection} after
- the \hy-8{313}{Compile}, in order to restore the display to the previous state.
-
- \hy-10{315}{wxHyperTextWindow::SelectBlock}
-
- \hy-8{316}{void SelectBlock(wxTextChunk * block, Bool select = TRUE)}
-
- \hy-8{317}{void SelectBlock(long blockId, Bool select = TRUE)}
-
- If \hy-7{318}{select} is TRUE, select the existing block, marking it in cyan
- (colour screens) or in inverse video (monochrome screens). If \hy-7{319}{
- select} is FALSE, deselect the block. The first form is more efficient
- since no search need be done for the block.
-
- Note that \hy-8{320}{Compile} must be called before this call has any visible effect.
-
- \hy-10{322}{wxHyperTextWindow::SetBlockType}
-
- \hy-8{323}{void SetBlockType(long blockId, int blockType)}
-
- Set the specified block to have the given type.
-
- \hy-10{325}{wxHyperTextWindow::SetEditMode}
-
- \hy-8{326}{void SetEditMode(Bool editable)}
-
- Specifies whether the user should be able to mark up the text or not.
-
- \hy-10{328}{wxHyperTextWindow::SetIndexWriting}
-
- \hy-8{329}{void SetIndexWriting(Bool indexWriting)}
-
- Specifies whether the built-in index and title should be written when
- \hy-8{330}{SaveFile} is called. The default is FALSE.
-
- \hy-10{332}{wxHyperTextWindow::SetMapping}
-
- \hy-8{333}{void SetMapping(wxHyperTextMapping *mapping)}
-
- Specify the set of block mappings for this window; this must be called.
-
- \hy-10{335}{wxHyperTextWindow::SetMargins}
-
- \hy-8{336}{void SetMargins(int left, int top)}
-
- Sets the margins to leave to the left and top of the canvas when
- displaying text.
-
- \hy-10{338}{wxHyperTextWindow::SetTitle}
-
- \hy-8{339}{void SetTitle(char *title)}
-
- Sets the title of the hypertext window (allocates its own memory), to be written
- to the index file if index writing mode is on.
-
-
- \hy-10{350}{wxTextChunk::wxTextChunk}
-
- \hy-8{351}{void wxTextChunk(int chunkType, int lineNumber, char *text, wxFont *font,
- wxColour *colour, int blockType, long blockId, int attribute, Bool visibility)}
-
- Constructor. Used only internally.
-
- \hy-10{353}{wxTextChunk::~wxTextChunk}
-
- \hy-8{354}{void ~wxTextChunk(void)}
-
- Destructor. Used only internally.
-
- \hy-10{356}{wxTextChunk::background_colour}
-
- \hy-8{357}{wxColour * background_colour}
-
- The background colour allocated for the chunk by \hy-8{358}{Compile}.
-
- \hy-10{360}{wxTextChunk::block_id}
-
- \hy-8{361}{long block_id}
-
- Id of the block associated with the text in the chunk.
-
- \hy-10{363}{wxTextChunk::block_type}
-
- \hy-8{364}{int block_type}
-
- Block type, an integer defined by the application using a \hy-8{365}{wxHyperTextMapping}
- object.
-
- \hy-10{367}{wxTextChunk::chunk_type}
-
- \hy-8{368}{int chunk_type}
-
- The \hy-8{369}{chunk_type} data member may be one of:
-
-
- -- CHUNK_START_BLOCK
- -- CHUNK_START_UNRECOGNIZED_BLOCK
- -- CHUNK_END_BLOCK
- -- CHUNK_START_BLOCK
-
-
- \hy-10{371}{wxTextChunk::colour}
-
- \hy-8{372}{wxColour * colour}
-
- The foreground colour allocated for the chunk by \hy-8{373}{Compile}.
-
- \hy-10{375}{wxTextChunk::end_id}
-
- \hy-8{376}{long end_id}
-
- Id of the block which has just ended, if the type of this chunk is CHUNK_END_BLOCK.
- \hy-8{377}{block_id} is the id of block which has come into scope, and which starts with the
- text stored in the chunk.
-
- \hy-10{379}{wxTextChunk::font}
-
- \hy-8{380}{wxFont * font}
-
- The font allocated for the chunk by \hy-8{381}{Compile}.
-
- \hy-10{383}{wxTextChunk::line_no}
-
- \hy-8{384}{int line_no}
-
- The line number for this chunk.
-
- \hy-10{386}{wxTextChunk::logical_op}
-
- \hy-8{387}{int logical_op}
-
- The logical operator for this chunk.
-
- \hy-10{389}{wxTextChunk::selected}
-
- \hy-8{390}{Bool selected}
-
- For chunks which start a block, TRUE if the block is currently selected.
-
- \hy-10{392}{wxTextChunk::special_attribute}
-
- \hy-8{393}{int special_attribute}
-
- For a block-starting chunk, specifies one or more special attributes ORed together.
- There is currently only one such attribute, wxHYPER_SECTION, which
- if present indicates that the block starts a new section.
-
- \hy-10{395}{wxTextChunk::text}
-
- \hy-8{396}{char * text}
-
- The actual text in the chunk.
-
- \hy-10{398}{wxTextChunk::visibility}
-
- \hy-8{399}{Bool visibility}
- \hyindex{
- "wxWindows Help"
- 101 102
- 103 104
- 106 107
- 109 110
- 112 113
- 115 116
- 120 121
- 123 124
- 126 127
- 130 131
- 133 134
- 136 137
- 139 140
- 143 144
- 147 148
- 150 151
- 155 156
- 160 161
- 163 164
- 171 172
- 175 176
- 179 180
- 184 185
- 187 188
- 190 191
- 193 194
- 196 197
- 199 200
- 205 206
- 210 211
- 215 216
- 218 219
- 221 222
- 226 227
- 229 230
- 232 233
- 235 236
- 239 240
- 244 245
- 248 249
- 251 252
- 254 255
- 257 258
- 260 261
- 263 264
- 272 273
- 281 282
- 284 285
- 287 288
- 290 291
- 293 294
- 296 297
- 304 305
- 307 308
- 314 315
- 321 322
- 324 325
- 327 328
- 331 332
- 334 335
- 337 338
- 340 341
- 349 350
- 352 353
- 355 356
- 359 360
- 362 363
- 366 367
- 370 371
- 374 375
- 378 379
- 382 383
- 385 386
- 388 389
- 391 392
- 394 395
- 397 398
- }
-