]>
Commit | Line | Data |
---|---|---|
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 | - wxRadioBox doesn't show up in the controls sample, though it's | |
25 | OK on other dialogs (e.g. printing sample). | |
26 | ||
27 | - wxSpinButton | |
28 | ||
29 | - wxToolTip | |
30 | ||
31 | - Miscellaneous events. | |
32 | ||
33 | - Use wxImage to load other formats into wxBitmaps, such as PNG, BMP. | |
34 | ||
35 | - Allow wxFrame and other widgets to have mouse event handlers. | |
36 | ||
37 | Low Priority | |
38 | ------------ | |
39 | ||
40 | - Painting a retained window could be optimized further (see | |
41 | wxWindow::DoPaint). | |
42 | ||
43 | - Visuals: how to select an appropriate one? See Thomas Runge's | |
44 | visual patch for 1.68 -- should be straightforward to port to 2.0. | |
45 | ||
46 | - Work out why XFreeFont in font.cpp produces a segv. This is | |
47 | currently commented out, which presumably causes a memory leak. | |
48 | ||
49 | - Better makefile system that can put objects in different dirs. | |
50 | ||
51 | - Extra wxBitmap formats: PNG, BMP. Could use old wxWin 1.68 | |
52 | wxImage code (derived from XV) for BMP/GIF but it's very bloated. However, | |
53 | when implemented as extra bitmap handlers, the code won't be linked | |
54 | unless needed. Update: see if wxImage can handle these formats. | |
55 | ||
56 | - Get Dialog Editor working (better) under Motif. | |
57 | ||
58 | - New wxHelp version: try using the XmHTML widget at | |
59 | http://www.xs4all.nl/~ripley/XmHTML/. | |
60 | ||
61 | We need to: | |
62 | - make a minimal distribution under wx/src/xmhtml, just enough | |
63 | to compile the source. | |
64 | - add XMHTML_C_SRC to src/motif/makefile.unx with the source files | |
65 | listed. | |
66 | - make sure we can compile the sources, passing the correct | |
67 | flags for zlib/png compilation. | |
68 | - make a wxHTMLWindow class from e.g. examples/example_2.c. Should | |
69 | probably make the cache and history facilities part of the class. | |
70 | - add the driver code to src/motif/helphtml.cpp (a frame, toolbar, | |
71 | history list). | |
72 | ||
73 | - Drag and drop. Use a standard X drag | |
74 | and drop standard - see http://www.cco.caltech.edu/~jafl/xdnd/ | |
75 | or use Motif drag and drop as described here: | |
76 | http://www.motifzone.com/tmd/articles/DnD/dnd.html | |
77 | ||
78 | - Optimize colour management so we don't get clashes when e.g. | |
79 | Netscape is running. See: | |
80 | http://www.motifzone.com/tmd/articles/John_Cwikla/index.html | |
81 | ||
82 | - wxRCConfig (a config class using X .rc files). Could simply | |
83 | implement it in terms of current wxGet/WriteResource functions. | |
84 | ||
85 | - wxCheckBoxList | |
86 | ||
87 | - wxBitmapCheckBox, wxBitmapRadioButton | |
88 | ||
89 | - Reimplement combobox using Lesstif's widget (avoiding GPL'ed | |
90 | widget currently used). | |
91 | ||
92 | - Miscellaneous classes e.g. wxJoystick (identical to GTK's one for | |
93 | Linux) | |
94 | ||
95 | - Get ODBC classes and sample working. | |
96 | ||
97 | - Work out why wxTextCtrl doesn't work as a stream buffer under | |
98 | gcc |