1998-09-22 17:15:56 -04:00
|
|
|
wxMotif TODO
|
|
|
|
------------
|
|
|
|
|
1998-11-12 17:47:51 -05:00
|
|
|
Updated: 12/11/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-11-09 06:57:05 -05:00
|
|
|
- Colour setting in widgets (almost done). Should scrollbars take
|
|
|
|
on the background colour? Not right for e.g. wxScrolledWindows,
|
|
|
|
so maybe have wxSystemSettings value for scrollbar colour, and/or
|
|
|
|
ability to set scrollbar colour independently.
|
1998-09-22 17:15:56 -04:00
|
|
|
|
1998-11-12 17:47:51 -05:00
|
|
|
- Optimize wxWindow OnPaint to avoid flicker, collapsing Expose events
|
|
|
|
as per flicker fix in 1.68. It will be tricky to avoid
|
|
|
|
interfering with non-wxScrolledWindow widgets except by
|
|
|
|
explicitly testing for wxScrolledWindow.
|
1998-11-11 09:39:42 -05: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-11-12 17:47:51 -05:00
|
|
|
- Finish wxNotebook.
|
|
|
|
|
1998-10-16 12:28:31 -04:00
|
|
|
- wxSpinButton
|
|
|
|
|
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-12-04 05:30:39 -05:00
|
|
|
We're close to having these working: mostly scrolling to work out.
|
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.
|
|
|
|
|
1998-10-22 10:08:14 -04: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 17:15:56 -04:00
|
|
|
|
|
|
|
- wxThread (hopefully, similar to wxGTK)
|
|
|
|
|
1998-11-12 17:47:51 -05:00
|
|
|
- wxGrid: scrollbars don't hide; problem with cell selection.
|
1998-11-09 06:57:05 -05:00
|
|
|
|
1998-11-15 16:53:27 -05:00
|
|
|
- MDI: seems to be broken for a more complex application I'm testing.
|
|
|
|
Frame decorations don't draw properly, and a child window doesn't
|
|
|
|
process events properly. So probably we should have an alternative
|
|
|
|
implementation that uses tabs, a la wxGTK. The system menu could
|
|
|
|
be implemented using a pop-up menu that applies to the currently
|
|
|
|
active window.
|
|
|
|
|
|
|
|
- Controls in a wxToolBar don't work. Probably due to form layout
|
|
|
|
problems; the workaround is to use a separate panel for controls.
|
|
|
|
|
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
|
1998-11-08 17:35:18 -05:00
|
|
|
http://www.xs4all.nl/~ripley/XmHTML/.
|
|
|
|
|
|
|
|
We need to:
|
|
|
|
- make a minimal distribution under wx/src/xmhtml, just enough
|
|
|
|
to compile the source.
|
|
|
|
- add XMHTML_C_SRC to src/motif/makefile.unx with the source files
|
|
|
|
listed.
|
|
|
|
- make sure we can compile the sources, passing the correct
|
|
|
|
flags for zlib/png compilation.
|
|
|
|
- make a wxHTMLWindow class from e.g. examples/example_2.c. Should
|
|
|
|
probably make the cache and history facilities part of the class.
|
|
|
|
- add the driver code to src/motif/helphtml.cpp (a frame, toolbar,
|
|
|
|
history list).
|
|
|
|
|
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
|
|
|
|
1998-10-22 10:08:14 -04:00
|
|
|
- wxRCConfig (a config class using X .rc files). Could simply
|
|
|
|
implement it in terms of current wxGet/WriteResource functions.
|
|
|
|
|
1998-10-16 12:28:31 -04:00
|
|
|
- wxCheckBoxList
|
|
|
|
|
1998-10-23 14:22:30 -04:00
|
|
|
- wxBitmapCheckBox, wxBitmapRadioButton
|
|
|
|
|
1998-10-22 10:08:14 -04:00
|
|
|
- Reimplement combobox using Lesstif's widget (avoiding GPL'ed
|
|
|
|
widget currently used).
|
|
|
|
|
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
|
1998-10-22 10:08:14 -04:00
|
|
|
|
|
|
|
- Could eventually alter the MDI widgets to be more Windows-like
|
1998-11-09 06:57:05 -05:00
|
|
|
-- currently it's half-hearted (menus are on children, whereas
|
|
|
|
they should replace the main parent frame menu).
|
1998-10-23 14:22:30 -04:00
|
|
|
|
1998-11-04 17:17:19 -05:00
|
|
|
- Get ODBC classes and sample working.
|
|
|
|
|
1998-12-04 05:30:39 -05:00
|
|
|
- Work out why wxTextCtrl doesn't work as a stream buffer under
|
|
|
|
gcc
|