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