File: tree1.htm

package info (click to toggle)
wxwin2-doc 2.01-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 6,540 kB
  • ctags: 5,968
  • sloc: cpp: 15,157; makefile: 434; sh: 6
file content (28 lines) | stat: -rw-r--r-- 1,222 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<HTML>
<head><title>Introduction</title></head>

<BODY BGCOLOR=#FFFFFF>
<A NAME="topic0"></A><CENTER>
<A HREF="tree.htm"><img align=center src="contents.gif" BORDER=0 ALT="Contents"></A> <A HREF="tree.htm"><img align=center src="up.gif" BORDER=0 ALT="Up"></A> <img align=center src="back.gif" BORDER=0 ALT="Previous"> <A HREF="tree2.htm#topic1"><img align=center src="forward.gif" BORDER=0 ALT="Next"></A> </CENTER><HR>

<H2>Introduction</H2>

<P>
This manual describes a tree-drawing class library for wxWindows. It
provides layout of simple trees with one root node, drawn left-to-right,
with user-defined spacing between nodes.<P>
wxTreeLayout is an abstract class that must be subclassed. The programmer
defines various member functions which will access whatever data structures
are appropriate for the application, and wxTreeLayout uses these when laying
out the tree.<P>
wxStoredTree is a class derived from wxTreeLayout that may be used directly to
draw trees on a canvas. It supplies storage for the nodes, and draws
to a device context.<P>
Below is the example tree generated by the program test.cc.<P>

<CENTER></CENTER><img src="treetst.gif"></A><CENTER></CENTER>
Figure 1.1: Example tree

<P>

</BODY></HTML>