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