]> git.saurik.com Git - wxWidgets.git/blame - docs/motif/todo.txt
Last fixes for wxMotif and configure
[wxWidgets.git] / docs / motif / todo.txt
CommitLineData
16c1f7f3
JS
1wxMotif TODO
2------------
3
ea57084d 4Updated: 9/11/98
16c1f7f3
JS
5
6 -------------------------------o-------------------------
7
e1822f70
JS
8General comment: see the following site for useful Motif widgets.
9ftp://ftp.x.org/contrib/widgets/motif
16c1f7f3 10
e1822f70 11Also, grep for TODO comments in source.
124e1738 12
e1822f70
JS
13High Priority
14-------------
16c1f7f3 15
e97f20a0
JS
16- Work out why XFreeFont in font.cpp produces a segv. This is
17 currently commented out, which presumably causes a memory leak.
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
ea57084d 24- Make wxDialog OnPaint work.
16c1f7f3 25
55acd85e
JS
26- Optimize wxWindow OnPaint, clipping the damaged
27 region.
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
124e1738
JS
38- wxSpinButton
39
e1822f70 40- Tidy dialogs such as the colour and font selectors.
16c1f7f3 41
e1822f70 42- Use generic wxTreeCtrl, wxListCtrl: debug and enhance these.
16c1f7f3 43
0d57be45
JS
44- Find out why modal dialogs give a grab warning.
45
1a3ac83f
JS
46- wxSystemSettings. Eventually, should have control panel-like utility
47 to change colours/fonts but meanwhile should maybe read them
48 from a file.
16c1f7f3
JS
49
50- wxThread (hopefully, similar to wxGTK)
51
ea57084d
JS
52- wxAcceleratorTable.
53
e1822f70
JS
54- Miscellaneous events.
55
56- Write makefiles for all samples and utilities.
16c1f7f3 57
124e1738
JS
58- Create some samples for testing.
59
60Low Priority
61------------
62
e1822f70
JS
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
124e1738 73- Print/preview framework in print.cpp (see wxGTK).
16c1f7f3
JS
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
16c1f7f3 79- Get Dialog Editor working under Motif.
d0dc2fe8
JS
80
81- New wxHelp version: try using the XmHTML widget at
3dd4e4e0
JS
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.
124e1738
JS
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.
89c7e962
JS
110 Netscape is running. See:
111 http://www.motifzone.com/tmd/articles/John_Cwikla/index.html
124e1738 112
1a3ac83f
JS
113- wxRCConfig (a config class using X .rc files). Could simply
114 implement it in terms of current wxGet/WriteResource functions.
115
124e1738
JS
116- wxCheckBoxList
117
321db4b6
JS
118- wxBitmapCheckBox, wxBitmapRadioButton
119
1a3ac83f
JS
120- Reimplement combobox using Lesstif's widget (avoiding GPL'ed
121 widget currently used).
122
e1822f70 123- Write generic wxDirDialog (directory selector)
124e1738 124
e1822f70 125- Use native Motif dialogs for wxMessageBox
124e1738
JS
126
127- Miscellaneous classes e.g. wxJoystick (identical to GTK's one for
128 Linux)
129
e1822f70 130- Blit scaling
1a3ac83f
JS
131
132- Could eventually alter the MDI widgets to be more Windows-like
ea57084d
JS
133 -- currently it's half-hearted (menus are on children, whereas
134 they should replace the main parent frame menu).
321db4b6 135
5de9c45c
JS
136- Get ODBC classes and sample working.
137