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