]> git.saurik.com Git - wxWidgets.git/blob - docs/motif/todo.txt
Added dnd classes, data object classes, changed clipboard class doc,
[wxWidgets.git] / docs / motif / todo.txt
1 wxMotif TODO
2 ------------
3
4 Updated: 28/12/98
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 - 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.
23
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.
28
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.
37
38 - wxSpinButton
39
40 - Miscellaneous events.
41
42 - Get wxGLCanvas from 1.68 working.
43
44 - Implement missing wxImage functions for Motif.
45
46 - wxClipboard
47
48 Low Priority
49 ------------
50
51 - Visuals: how to select an appropriate one? See Thomas Runge's
52 visual patch for 1.68 -- should be straightforward to port to 2.0.
53
54 - Work out why XFreeFont in font.cpp produces a segv. This is
55 currently commented out, which presumably causes a memory leak.
56
57 - Better makefile system that can put objects in different dirs.
58
59 - Extra wxBitmap formats: PNG, BMP. Could use old wxWin 1.68
60 wxImage code (derived from XV) for BMP/GIF but it's very bloated. However,
61 when implemented as extra bitmap handlers, the code won't be linked
62 unless needed. Update: see if wxImage can handle these formats.
63
64 - Print/preview framework in print.cpp (see wxGTK).
65
66 - Enhance event handling such that you override e.g. left-click
67 and unless you call the base OnMouseEvent, the click won't be
68 sent to the button. Required for Dialog Editor.
69
70 - Get Dialog Editor working under Motif.
71
72 - New wxHelp version: try using the XmHTML widget at
73 http://www.xs4all.nl/~ripley/XmHTML/.
74
75 We need to:
76 - make a minimal distribution under wx/src/xmhtml, just enough
77 to compile the source.
78 - add XMHTML_C_SRC to src/motif/makefile.unx with the source files
79 listed.
80 - make sure we can compile the sources, passing the correct
81 flags for zlib/png compilation.
82 - make a wxHTMLWindow class from e.g. examples/example_2.c. Should
83 probably make the cache and history facilities part of the class.
84 - add the driver code to src/motif/helphtml.cpp (a frame, toolbar,
85 history list).
86
87 - Drag and drop. Use a standard X drag
88 and drop standard - see http://www.cco.caltech.edu/~jafl/xdnd/
89 or use Motif drag and drop as described here:
90 http://www.motifzone.com/tmd/articles/DnD/dnd.html
91
92 - Optimize colour management so we don't get clashes when e.g.
93 Netscape is running. See:
94 http://www.motifzone.com/tmd/articles/John_Cwikla/index.html
95
96 - wxRCConfig (a config class using X .rc files). Could simply
97 implement it in terms of current wxGet/WriteResource functions.
98
99 - wxCheckBoxList
100
101 - wxBitmapCheckBox, wxBitmapRadioButton
102
103 - Reimplement combobox using Lesstif's widget (avoiding GPL'ed
104 widget currently used).
105
106 - Miscellaneous classes e.g. wxJoystick (identical to GTK's one for
107 Linux)
108
109 - Blit scaling
110
111 - Get ODBC classes and sample working.
112
113 - Work out why wxTextCtrl doesn't work as a stream buffer under
114 gcc