]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | README for wxLayout classes | |
3 | --------------------------- | |
4 | ||
5 | All the source in this directory is copyrighted under the | |
6 | LGPL (GNU LIBRARY PUBLIC LICENSE), by Karsten Ballueder <ballueder@usa.net>. | |
7 | ||
8 | ||
9 | This is still work in progress, so if you want to make any significant | |
10 | changes, please get in touch with me before. | |
11 | ||
12 | There are three building blocks for richt text editing: | |
13 | ||
14 | wxllist : | |
15 | ||
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 | |
20 | on top of this. | |
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. | |
25 | ||
26 | wxlwindow : | |
27 | ||
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 | |
33 | objects. | |
34 | ||
35 | wxlparser: | |
36 | ||
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. | |
41 | ||
42 | ||
43 | ||
44 | wxLayout.cpp is a simple test program. It will export Text and HTML to | |
45 | stdout and demonstrate some of the features and bugs of wxLayoutList. | |
46 | ||
47 | There are still things to do and I'm working on them. :-) | |
48 | ||
49 | Karsten Ballueder <Ballueder@usa.ne> 29 June 1998 | |
50 |