| 1 | wxMotif TODO |
| 2 | ------------ |
| 3 | |
| 4 | Updated: 11/02/99 |
| 5 | |
| 6 | -------------------------------o------------------------- |
| 7 | |
| 8 | General comment: see the following site for useful Motif widgets. |
| 9 | ftp://ftp.x.org/contrib/widgets/motif |
| 10 | |
| 11 | Also, grep for TODO comments in source. |
| 12 | |
| 13 | High Priority |
| 14 | ------------- |
| 15 | |
| 16 | - Have a central/per app file for colour settings, with a wxWin |
| 17 | app to allow changing settings interactively. |
| 18 | |
| 19 | - Implementation of default event processing (i.e. passing on an intercepted |
| 20 | event such as OnChar to the system). Currently, such events are processed |
| 21 | anyway, so for example intercepting left-click in a widget doesn't disable |
| 22 | the default behaviour. See TODOs in window.cpp. |
| 23 | |
| 24 | - wxToolTip |
| 25 | |
| 26 | - Miscellaneous events. |
| 27 | |
| 28 | - Allow wxFrame and other widgets to have mouse event handlers. |
| 29 | |
| 30 | Low Priority |
| 31 | ------------ |
| 32 | |
| 33 | - Painting a retained window could be optimized further (see |
| 34 | wxWindow::DoPaint). |
| 35 | |
| 36 | - Visuals: how to select an appropriate one? See Thomas Runge's |
| 37 | visual patch for 1.68 -- should be straightforward to port to 2.0. |
| 38 | |
| 39 | - Work out why XFreeFont in font.cpp produces a segv. This is |
| 40 | currently commented out, which presumably causes a memory leak. |
| 41 | |
| 42 | - New wxHelp version: try using the XmHTML widget at |
| 43 | http://www.xs4all.nl/~ripley/XmHTML/. |
| 44 | |
| 45 | We need to: |
| 46 | - make a minimal distribution under wx/src/xmhtml, just enough |
| 47 | to compile the source. |
| 48 | - add XMHTML_C_SRC to src/motif/makefile.unx with the source files |
| 49 | listed. |
| 50 | - make sure we can compile the sources, passing the correct |
| 51 | flags for zlib/png compilation. |
| 52 | - make a wxHTMLWindow class from e.g. examples/example_2.c. Should |
| 53 | probably make the cache and history facilities part of the class. |
| 54 | - add the driver code to src/motif/helphtml.cpp (a frame, toolbar, |
| 55 | history list). |
| 56 | |
| 57 | - Drag and drop. Use a standard X drag |
| 58 | and drop standard - see http://www.cco.caltech.edu/~jafl/xdnd/ |
| 59 | or use Motif drag and drop as described here: |
| 60 | http://www.motifzone.com/tmd/articles/DnD/dnd.html |
| 61 | |
| 62 | - Optimize colour management so we don't get clashes when e.g. |
| 63 | Netscape is running. See: |
| 64 | http://www.motifzone.com/tmd/articles/John_Cwikla/index.html |
| 65 | |
| 66 | - wxRCConfig (a config class using X .rc files). Could simply |
| 67 | implement it in terms of current wxGet/WriteResource functions. |
| 68 | |
| 69 | - Miscellaneous classes e.g. wxJoystick (identical to GTK's one for |
| 70 | Linux) |
| 71 | |
| 72 | - Work out why wxTextCtrl doesn't work as a stream buffer under |
| 73 | gcc |