]> git.saurik.com Git - wxWidgets.git/blob - docs/motif/todo.txt
Motif bug fixes; dialog OnPaint works now; wxColourDialog tweaking
[wxWidgets.git] / docs / motif / todo.txt
1 wxMotif TODO
2 ------------
3
4 Updated: 9/11/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 - Work out why XFreeFont in font.cpp produces a segv. This is
17 currently commented out, which presumably causes a memory leak.
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 - Make wxDialog OnPaint work.
25
26 - Optimize wxWindow OnPaint, clipping the damaged
27 region.
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 - Tidy dialogs such as the colour and font selectors.
41
42 - Use generic wxTreeCtrl, wxListCtrl: debug and enhance these.
43
44 - Find out why modal dialogs give a grab warning.
45
46 - wxSystemSettings. Eventually, should have control panel-like utility
47 to change colours/fonts but meanwhile should maybe read them
48 from a file.
49
50 - wxThread (hopefully, similar to wxGTK)
51
52 - wxAcceleratorTable.
53
54 - Miscellaneous events.
55
56 - Write makefiles for all samples and utilities.
57
58 - Create some samples for testing.
59
60 Low Priority
61 ------------
62
63 - Better makefile system that can put objects in different dirs.
64 Use wxGTK config system? It's really complex to debug and
65 doesn't offer a way of compiling apps outside the wxWin
66 hierarchy.
67
68 - Extra wxBitmap formats: PNG, BMP. Could use old wxWin 1.68
69 wxImage code (derived from XV) for BMP/GIF but it's very bloated. However,
70 when implemented as extra bitmap handlers, the code won't be linked
71 unless needed.
72
73 - Print/preview framework in print.cpp (see wxGTK).
74
75 - Enhance event handling such that you override e.g. left-click
76 and unless you call the base OnMouseEvent, the click won't be
77 sent to the button. Required for Dialog Editor.
78
79 - Get Dialog Editor working under Motif.
80
81 - New wxHelp version: try using the XmHTML widget at
82 http://www.xs4all.nl/~ripley/XmHTML/.
83
84 We need to:
85 - make a minimal distribution under wx/src/xmhtml, just enough
86 to compile the source.
87 - add XMHTML_C_SRC to src/motif/makefile.unx with the source files
88 listed.
89 - make sure we can compile the sources, passing the correct
90 flags for zlib/png compilation.
91 - make a wxHTMLWindow class from e.g. examples/example_2.c. Should
92 probably make the cache and history facilities part of the class.
93 - add the driver code to src/motif/helphtml.cpp (a frame, toolbar,
94 history list).
95
96 Note that a quicker route to a help system may be to use the
97 code in the contrib dir of XmHTML to control a Netscape session --
98 but Netscape can be a colour resource hog.
99
100 - Optimize screen refresh for non-native widgets, e.g. wxWindow
101 created with Create(), using technique in flicker patch for 1.68
102 (see JACS for latest patch).
103
104 - Copy and paste, drag and drop. Use a standard X drag
105 and drop standard - see http://www.cco.caltech.edu/~jafl/xdnd/
106 or use Motif drag and drop as described here:
107 http://www.motifzone.com/tmd/articles/DnD/dnd.html
108
109 - Optimize colour management so we don't get clashes when e.g.
110 Netscape is running. See:
111 http://www.motifzone.com/tmd/articles/John_Cwikla/index.html
112
113 - wxRCConfig (a config class using X .rc files). Could simply
114 implement it in terms of current wxGet/WriteResource functions.
115
116 - wxCheckBoxList
117
118 - wxBitmapCheckBox, wxBitmapRadioButton
119
120 - Reimplement combobox using Lesstif's widget (avoiding GPL'ed
121 widget currently used).
122
123 - Write generic wxDirDialog (directory selector)
124
125 - Use native Motif dialogs for wxMessageBox
126
127 - Miscellaneous classes e.g. wxJoystick (identical to GTK's one for
128 Linux)
129
130 - Blit scaling
131
132 - Could eventually alter the MDI widgets to be more Windows-like
133 -- currently it's half-hearted (menus are on children, whereas
134 they should replace the main parent frame menu).
135
136 - Get ODBC classes and sample working.
137