]> git.saurik.com Git - wxWidgets.git/blame - user/wxLayout/README
Rewrite. Cursor handling better, split Layout() and Draw(), faster.
[wxWidgets.git] / user / wxLayout / README
CommitLineData
a5f81d8c
KB
1
2README for wxLayout classes
3---------------------------
4
5All the source in this directory is copyrighted under the
6LGPL (GNU LIBRARY PUBLIC LICENSE), by Karsten Ballueder <ballueder@usa.net>.
7
8
9This is still work in progress, so if you want to make any significant
10changes, please get in touch with me before.
11
23b75a2d 12There are three building blocks for rich text editing:
a5f81d8c
KB
13
14wxllist :
15
16The wxLayoutList layout engine. It is a linked list of wxLayoutObjects
17which can arrange and display them on any wxDC. I am trying to keep
18this class as simple as possible, to be just the core layout
19engine. All "convenience" functions should be defined in classes built
20on top of this.
21The wxLayoutList is derived from kbList, a double-linked list with an
22interface modelled after the STL list. As wxLayoutList depends on the
23way kbList treats iterators (i.e. the iterator value after an insert()
24or erase() operation), I don't feel like rewriting it for wxList.
25
26wxlwindow :
27
28Contains a class wxLayoutWindow, derived from wxScrolledWindow which
29can directly be used as a rich-text display or editing window. The
30function responsible for keyboard handling is virtual and can be
31overloaded for different keybindings. wxLayoutWindow can sent fake
32menu-events to the application to react to the user clicking on
33objects.
34
35wxlparser:
36
37Contains several high level functions operating on
38wxLayoutList. Currently implemented is inserting of text (including
39linebreaks) and export of objects, text or html.
40Planned for the future is an html parser for importing html.
41
42
a5f81d8c
KB
43wxLayout.cpp is a simple test program. It will export Text and HTML to
44stdout and demonstrate some of the features and bugs of wxLayoutList.
45
46There are still things to do and I'm working on them. :-)
47
48Karsten Ballueder <Ballueder@usa.ne> 29 June 1998
49