1998-09-22 21:15:56 +00:00
|
|
|
wxMotif TODO
|
|
|
|
------------
|
|
|
|
|
1998-10-20 14:47:14 +00:00
|
|
|
Updated: 20/10/98
|
1998-09-22 21:15:56 +00:00
|
|
|
|
|
|
|
-------------------------------o-------------------------
|
|
|
|
|
1998-10-20 14:47:14 +00:00
|
|
|
General comment: see the following site for useful Motif widgets.
|
|
|
|
ftp://ftp.x.org/contrib/widgets/motif
|
1998-09-22 21:15:56 +00:00
|
|
|
|
1998-10-20 14:47:14 +00:00
|
|
|
Also, grep for TODO comments in source.
|
1998-10-16 16:28:31 +00:00
|
|
|
|
1998-10-20 14:47:14 +00:00
|
|
|
High Priority
|
|
|
|
-------------
|
1998-09-22 21:15:56 +00:00
|
|
|
|
1998-09-23 13:56:00 +00: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 09:38:15 +00:00
|
|
|
- Also work out why wxWindow::SetFont causes the widget to be shrunk
|
1998-10-20 14:47:14 +00: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-10-23 18:22:30 +00:00
|
|
|
In fact it seems OK for dialogs now!!! Weird.
|
1998-09-22 21:15:56 +00:00
|
|
|
|
1998-10-23 18:22:30 +00:00
|
|
|
- ChangeFont should have an extra arg, to allow for not resizing
|
|
|
|
the window back to the original size after setting the font.
|
|
|
|
Also don't call SetFont from constructor, assign the font and
|
|
|
|
call ChangeFont so we can pass FALSE if the size has been passed
|
|
|
|
as the default (which means: wxWin should choose an appropriate
|
|
|
|
size, so Motif should expand/contract the widget as appropriate).
|
|
|
|
|
|
|
|
- Colour setting in widgets (almost done).
|
1998-09-22 21:15:56 +00:00
|
|
|
|
1998-10-21 21:43:20 +00: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 16:28:31 +00:00
|
|
|
|
|
|
|
- wxSpinButton
|
|
|
|
|
1998-09-22 21:15:56 +00: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 14:47:14 +00:00
|
|
|
- Tidy dialogs such as the colour and font selectors.
|
1998-09-22 21:15:56 +00:00
|
|
|
|
1998-10-20 14:47:14 +00:00
|
|
|
- Use generic wxTreeCtrl, wxListCtrl: debug and enhance these.
|
1998-09-22 21:15:56 +00:00
|
|
|
|
1998-10-21 21:43:20 +00:00
|
|
|
- Find out why modal dialogs give a grab warning.
|
|
|
|
|
1998-10-22 14:08:14 +00:00
|
|
|
- wxSystemSettings. Eventually, should have control panel-like utility
|
|
|
|
to change colours/fonts but meanwhile should maybe read them
|
|
|
|
from a file.
|
1998-09-22 21:15:56 +00:00
|
|
|
|
|
|
|
- wxThread (hopefully, similar to wxGTK)
|
|
|
|
|
1998-10-20 14:47:14 +00:00
|
|
|
- Miscellaneous events.
|
|
|
|
|
|
|
|
- Write makefiles for all samples and utilities.
|
1998-09-22 21:15:56 +00:00
|
|
|
|
1998-10-16 16:28:31 +00:00
|
|
|
- Create some samples for testing.
|
|
|
|
|
|
|
|
Low Priority
|
|
|
|
------------
|
|
|
|
|
1998-10-20 14:47:14 +00: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 16:28:31 +00:00
|
|
|
- Print/preview framework in print.cpp (see wxGTK).
|
1998-09-22 21:15:56 +00: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 15:43:10 +00:00
|
|
|
|
|
|
|
- New wxHelp version: try using the XmHTML widget at
|
|
|
|
http://www.xs4all.nl/~ripley/XmHTML/
|
1998-10-16 16:28:31 +00: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 09:38:15 +00:00
|
|
|
Netscape is running. See:
|
|
|
|
http://www.motifzone.com/tmd/articles/John_Cwikla/index.html
|
1998-10-16 16:28:31 +00:00
|
|
|
|
1998-10-22 14:08:14 +00:00
|
|
|
- wxRCConfig (a config class using X .rc files). Could simply
|
|
|
|
implement it in terms of current wxGet/WriteResource functions.
|
|
|
|
|
1998-10-16 16:28:31 +00:00
|
|
|
- wxCheckBoxList
|
|
|
|
|
1998-10-23 18:22:30 +00:00
|
|
|
- wxBitmapCheckBox, wxBitmapRadioButton
|
|
|
|
|
1998-10-22 14:08:14 +00:00
|
|
|
- Reimplement combobox using Lesstif's widget (avoiding GPL'ed
|
|
|
|
widget currently used).
|
|
|
|
|
1998-10-20 14:47:14 +00:00
|
|
|
- Write generic wxDirDialog (directory selector)
|
1998-10-16 16:28:31 +00:00
|
|
|
|
1998-10-20 14:47:14 +00:00
|
|
|
- Use native Motif dialogs for wxMessageBox
|
1998-10-16 16:28:31 +00:00
|
|
|
|
|
|
|
- Miscellaneous classes e.g. wxJoystick (identical to GTK's one for
|
|
|
|
Linux)
|
|
|
|
|
1998-10-20 14:47:14 +00:00
|
|
|
- Blit scaling
|
1998-10-22 14:08:14 +00:00
|
|
|
|
|
|
|
- Could eventually alter the MDI widgets to be more Windows-like
|
|
|
|
-- currently it's half-hearted.
|
1998-10-23 18:22:30 +00:00
|
|
|
|
|
|
|
- Accelerators
|
|
|
|
|
1998-11-04 22:17:19 +00:00
|
|
|
- Get ODBC classes and sample working.
|
|
|
|
|