1998-09-22 17:15:56 -04:00
|
|
|
wxMotif TODO
|
|
|
|
------------
|
|
|
|
|
1998-10-20 10:47:14 -04:00
|
|
|
Updated: 20/10/98
|
1998-09-22 17:15:56 -04:00
|
|
|
|
|
|
|
-------------------------------o-------------------------
|
|
|
|
|
1998-10-20 10:47:14 -04:00
|
|
|
General comment: see the following site for useful Motif widgets.
|
|
|
|
ftp://ftp.x.org/contrib/widgets/motif
|
1998-09-22 17:15:56 -04:00
|
|
|
|
1998-10-20 10:47:14 -04:00
|
|
|
Also, grep for TODO comments in source.
|
1998-10-16 12:28:31 -04:00
|
|
|
|
1998-10-20 10:47:14 -04:00
|
|
|
High Priority
|
|
|
|
-------------
|
1998-09-22 17:15:56 -04:00
|
|
|
|
1998-09-23 09:56:00 -04:00
|
|
|
- Work out why XFreeFont in font.cpp produces a segv. This is
|
|
|
|
currently commented out, which presumably causes a memory leak.
|
|
|
|
|
1998-10-17 05:38:15 -04:00
|
|
|
- Also work out why wxWindow::SetFont causes the widget to be shrunk
|
1998-10-20 10:47:14 -04:00
|
|
|
to fit its text, in dialogs. Uncomment the SetFont implementation and pop
|
|
|
|
up a dialog, e.g. an About box. Widgets are arranged
|
|
|
|
incorrectly. Seems to be OK for non-dialog panels, once the
|
|
|
|
size has been restored after the font setting.
|
1998-09-22 17:15:56 -04:00
|
|
|
|
1998-10-20 10:47:14 -04:00
|
|
|
- Colour setting in widgets.
|
1998-09-22 17:15:56 -04:00
|
|
|
|
1998-10-21 17:43:20 -04:00
|
|
|
- Implementation of OnEraseBackground. How? Call OnEraseBackground
|
|
|
|
just before OnPaint? Will duplicate Xlib's own erase of the background.
|
|
|
|
However, this is usually OK, because the default wxWindow::OnEraseBackground
|
|
|
|
can do nothing (SetBackgroundColour will make the background look OK).
|
|
|
|
And if a custom OnEraseBackground uses the same colour as the window
|
|
|
|
background, no flicker will be seen. If it does something else, such as
|
|
|
|
painting a tiled bitmap, then a slight flicker might be seen unless
|
|
|
|
X can be persuaded not to repaint the window background by default.
|
1998-10-16 12:28:31 -04:00
|
|
|
|
1998-10-20 10:47:14 -04:00
|
|
|
- wxBitmapCheckBox, wxBitmapRadioButton
|
1998-10-16 12:28:31 -04:00
|
|
|
|
|
|
|
- wxSpinButton
|
|
|
|
|
|
|
|
- wxTextCtrl text file loading and saving.
|
1998-09-22 17:15:56 -04:00
|
|
|
|
|
|
|
- A generic version of wxNotebook that can be used in wxMotif and
|
|
|
|
other toolkits that don't have a native control. Perhaps use wxTab as a
|
|
|
|
starting point.
|
|
|
|
|
1998-10-20 10:47:14 -04:00
|
|
|
- Complete the MDI implementation. Could eventually alter the MDI
|
|
|
|
widgets to be more Windows-like -- currently it's half-hearted.
|
1998-09-22 17:15:56 -04:00
|
|
|
|
1998-10-20 10:47:14 -04:00
|
|
|
- Tidy dialogs such as the colour and font selectors.
|
1998-09-22 17:15:56 -04:00
|
|
|
|
1998-10-20 10:47:14 -04:00
|
|
|
- Use generic wxTreeCtrl, wxListCtrl: debug and enhance these.
|
1998-09-22 17:15:56 -04:00
|
|
|
|
|
|
|
- Write a better generic wxToolBar class than wxToolBarSimple.
|
1998-09-24 11:43:10 -04:00
|
|
|
Alternatively, write a toolbar using Motif as described here:
|
|
|
|
http://www.motifzone.com/tmd/articles/Kurt_Huhner/jun96.html.
|
|
|
|
This article also explains how to implement tooltips.
|
1998-09-22 17:15:56 -04:00
|
|
|
|
1998-10-21 17:43:20 -04:00
|
|
|
- Find out why modal dialogs give a grab warning.
|
|
|
|
|
|
|
|
- Find out why UI updates aren't working (probably an OnIdle failure).
|
1998-09-22 17:15:56 -04:00
|
|
|
|
1998-10-21 17:43:20 -04:00
|
|
|
- wxSystemSettings
|
1998-09-22 17:15:56 -04:00
|
|
|
|
|
|
|
- wxThread (hopefully, similar to wxGTK)
|
|
|
|
|
1998-10-20 10:47:14 -04:00
|
|
|
- Miscellaneous events.
|
|
|
|
|
|
|
|
- Write makefiles for all samples and utilities.
|
1998-09-22 17:15:56 -04:00
|
|
|
|
1998-10-16 12:28:31 -04:00
|
|
|
- Create some samples for testing.
|
|
|
|
|
|
|
|
Low Priority
|
|
|
|
------------
|
|
|
|
|
1998-10-20 10:47:14 -04:00
|
|
|
- Better makefile system that can put objects in different dirs.
|
|
|
|
Use wxGTK config system? It's really complex to debug and
|
|
|
|
doesn't offer a way of compiling apps outside the wxWin
|
|
|
|
hierarchy.
|
|
|
|
|
|
|
|
- Extra wxBitmap formats: PNG, BMP. Could use old wxWin 1.68
|
|
|
|
wxImage code (derived from XV) for BMP/GIF but it's very bloated. However,
|
|
|
|
when implemented as extra bitmap handlers, the code won't be linked
|
|
|
|
unless needed.
|
|
|
|
|
1998-10-16 12:28:31 -04:00
|
|
|
- Print/preview framework in print.cpp (see wxGTK).
|
1998-09-22 17:15:56 -04:00
|
|
|
|
|
|
|
- Enhance event handling such that you override e.g. left-click
|
|
|
|
and unless you call the base OnMouseEvent, the click won't be
|
|
|
|
sent to the button. Required for Dialog Editor.
|
|
|
|
|
|
|
|
- Get Dialog Editor working under Motif.
|
1998-09-24 11:43:10 -04:00
|
|
|
|
|
|
|
- New wxHelp version: try using the XmHTML widget at
|
|
|
|
http://www.xs4all.nl/~ripley/XmHTML/
|
1998-10-16 12:28:31 -04:00
|
|
|
|
|
|
|
- Optimize screen refresh for non-native widgets, e.g. wxWindow
|
|
|
|
created with Create(), using technique in flicker patch for 1.68
|
|
|
|
(see JACS for latest patch).
|
|
|
|
|
|
|
|
- Copy and paste, drag and drop. Use a standard X drag
|
|
|
|
and drop standard - see http://www.cco.caltech.edu/~jafl/xdnd/
|
|
|
|
or use Motif drag and drop as described here:
|
|
|
|
http://www.motifzone.com/tmd/articles/DnD/dnd.html
|
|
|
|
|
|
|
|
- Optimize colour management so we don't get clashes when e.g.
|
1998-10-17 05:38:15 -04:00
|
|
|
Netscape is running. See:
|
|
|
|
http://www.motifzone.com/tmd/articles/John_Cwikla/index.html
|
1998-10-16 12:28:31 -04:00
|
|
|
|
|
|
|
- wxCheckBoxList
|
|
|
|
|
1998-10-20 10:47:14 -04:00
|
|
|
- Write generic wxDirDialog (directory selector)
|
1998-10-16 12:28:31 -04:00
|
|
|
|
1998-10-20 10:47:14 -04:00
|
|
|
- Use native Motif dialogs for wxMessageBox
|
1998-10-16 12:28:31 -04:00
|
|
|
|
|
|
|
- Miscellaneous classes e.g. wxJoystick (identical to GTK's one for
|
|
|
|
Linux)
|
|
|
|
|
1998-10-20 10:47:14 -04:00
|
|
|
- Blit scaling
|