]>
Commit | Line | Data |
---|---|---|
16c1f7f3 JS |
1 | wxMotif TODO |
2 | ------------ | |
3 | ||
88150e60 | 4 | Updated: 28/12/98 |
16c1f7f3 JS |
5 | |
6 | -------------------------------o------------------------- | |
7 | ||
e1822f70 JS |
8 | General comment: see the following site for useful Motif widgets. |
9 | ftp://ftp.x.org/contrib/widgets/motif | |
16c1f7f3 | 10 | |
e1822f70 | 11 | Also, grep for TODO comments in source. |
124e1738 | 12 | |
e1822f70 JS |
13 | High Priority |
14 | ------------- | |
16c1f7f3 | 15 | |
3f1af920 JS |
16 | - Have a central/per app file for colour settings, with a wxWin |
17 | app to allow changing settings interactively. | |
e97f20a0 | 18 | |
ea57084d JS |
19 | - Colour setting in widgets (almost done). Should scrollbars take |
20 | on the background colour? Not right for e.g. wxScrolledWindows, | |
21 | so maybe have wxSystemSettings value for scrollbar colour, and/or | |
22 | ability to set scrollbar colour independently. | |
16c1f7f3 | 23 | |
8aa04e8b JS |
24 | - Optimize wxWindow OnPaint to avoid flicker, collapsing Expose events |
25 | as per flicker fix in 1.68. It will be tricky to avoid | |
26 | interfering with non-wxScrolledWindow widgets except by | |
27 | explicitly testing for wxScrolledWindow. | |
55acd85e | 28 | |
0d57be45 JS |
29 | - Implementation of OnEraseBackground. How? Call OnEraseBackground |
30 | just before OnPaint? Will duplicate Xlib's own erase of the background. | |
31 | However, this is usually OK, because the default wxWindow::OnEraseBackground | |
32 | can do nothing (SetBackgroundColour will make the background look OK). | |
33 | And if a custom OnEraseBackground uses the same colour as the window | |
34 | background, no flicker will be seen. If it does something else, such as | |
35 | painting a tiled bitmap, then a slight flicker might be seen unless | |
36 | X can be persuaded not to repaint the window background by default. | |
124e1738 | 37 | |
9838df2c JS |
38 | - wxRadioBox doesn't show up in the controls sample, though it's |
39 | OK on other dialogs (e.g. printing sample). | |
40 | ||
41 | - Word wrapping in wxStaticText: how? | |
42 | ||
124e1738 JS |
43 | - wxSpinButton |
44 | ||
e1822f70 JS |
45 | - Miscellaneous events. |
46 | ||
9838df2c | 47 | - wxGLCanvas: cure bad flicker |
45b5751f | 48 | |
2fd284a4 JS |
49 | - Use wxImage to load other formats into wxBitmaps, such as PNG, BMP. |
50 | ||
124e1738 JS |
51 | Low Priority |
52 | ------------ | |
53 | ||
ee4c6942 JS |
54 | - Visuals: how to select an appropriate one? See Thomas Runge's |
55 | visual patch for 1.68 -- should be straightforward to port to 2.0. | |
45b5751f | 56 | |
3f1af920 JS |
57 | - Work out why XFreeFont in font.cpp produces a segv. This is |
58 | currently commented out, which presumably causes a memory leak. | |
59 | ||
e1822f70 | 60 | - Better makefile system that can put objects in different dirs. |
e1822f70 JS |
61 | |
62 | - Extra wxBitmap formats: PNG, BMP. Could use old wxWin 1.68 | |
63 | wxImage code (derived from XV) for BMP/GIF but it's very bloated. However, | |
64 | when implemented as extra bitmap handlers, the code won't be linked | |
88150e60 | 65 | unless needed. Update: see if wxImage can handle these formats. |
e1822f70 | 66 | |
16c1f7f3 JS |
67 | - Enhance event handling such that you override e.g. left-click |
68 | and unless you call the base OnMouseEvent, the click won't be | |
69 | sent to the button. Required for Dialog Editor. | |
70 | ||
16c1f7f3 | 71 | - Get Dialog Editor working under Motif. |
d0dc2fe8 JS |
72 | |
73 | - New wxHelp version: try using the XmHTML widget at | |
3dd4e4e0 JS |
74 | http://www.xs4all.nl/~ripley/XmHTML/. |
75 | ||
76 | We need to: | |
77 | - make a minimal distribution under wx/src/xmhtml, just enough | |
78 | to compile the source. | |
79 | - add XMHTML_C_SRC to src/motif/makefile.unx with the source files | |
80 | listed. | |
81 | - make sure we can compile the sources, passing the correct | |
82 | flags for zlib/png compilation. | |
83 | - make a wxHTMLWindow class from e.g. examples/example_2.c. Should | |
84 | probably make the cache and history facilities part of the class. | |
85 | - add the driver code to src/motif/helphtml.cpp (a frame, toolbar, | |
86 | history list). | |
87 | ||
dface61c | 88 | - Drag and drop. Use a standard X drag |
124e1738 JS |
89 | and drop standard - see http://www.cco.caltech.edu/~jafl/xdnd/ |
90 | or use Motif drag and drop as described here: | |
91 | http://www.motifzone.com/tmd/articles/DnD/dnd.html | |
92 | ||
93 | - Optimize colour management so we don't get clashes when e.g. | |
89c7e962 JS |
94 | Netscape is running. See: |
95 | http://www.motifzone.com/tmd/articles/John_Cwikla/index.html | |
124e1738 | 96 | |
1a3ac83f JS |
97 | - wxRCConfig (a config class using X .rc files). Could simply |
98 | implement it in terms of current wxGet/WriteResource functions. | |
99 | ||
124e1738 JS |
100 | - wxCheckBoxList |
101 | ||
321db4b6 JS |
102 | - wxBitmapCheckBox, wxBitmapRadioButton |
103 | ||
1a3ac83f JS |
104 | - Reimplement combobox using Lesstif's widget (avoiding GPL'ed |
105 | widget currently used). | |
106 | ||
124e1738 JS |
107 | - Miscellaneous classes e.g. wxJoystick (identical to GTK's one for |
108 | Linux) | |
109 | ||
e1822f70 | 110 | - Blit scaling |
1a3ac83f | 111 | |
5de9c45c JS |
112 | - Get ODBC classes and sample working. |
113 | ||
a367b9b3 JS |
114 | - Work out why wxTextCtrl doesn't work as a stream buffer under |
115 | gcc |