wxMotif TODO
------------
-Updated: 8/11/98
+Updated: 28/12/98
-------------------------------o-------------------------
High Priority
-------------
-- Work out why XFreeFont in font.cpp produces a segv. This is
- currently commented out, which presumably causes a memory leak.
-
-- Also work out why wxWindow::SetFont causes the widget to be shrunk
- 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.
- In fact it seems OK for dialogs now!!! Weird.
+- Have a central/per app file for colour settings, with a wxWin
+ app to allow changing settings interactively.
-- 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). 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.
-- Colour setting in widgets (almost done).
+- 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.
- Implementation of OnEraseBackground. How? Call OnEraseBackground
just before OnPaint? Will duplicate Xlib's own erase of the background.
- wxSpinButton
-- 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.
-
-- Tidy dialogs such as the colour and font selectors.
-
-- Use generic wxTreeCtrl, wxListCtrl: debug and enhance these.
-
-- Find out why modal dialogs give a grab warning.
-
-- wxSystemSettings. Eventually, should have control panel-like utility
- to change colours/fonts but meanwhile should maybe read them
- from a file.
-
-- wxThread (hopefully, similar to wxGTK)
-
- Miscellaneous events.
-- Write makefiles for all samples and utilities.
+- Get wxGLCanvas from 1.68 working.
+
+- wxClipboard
-- Create some samples for testing.
+- EVT_KEY_DOWN, EVT_KEY_UP events.
Low Priority
------------
+- Visuals: how to select an appropriate one? See Thomas Runge's
+ visual patch for 1.68 -- should be straightforward to port to 2.0.
+
+- Work out why XFreeFont in font.cpp produces a segv. This is
+ currently commented out, which presumably causes a memory leak.
+
- 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.
+ unless needed. Update: see if wxImage can handle these formats.
- Print/preview framework in print.cpp (see wxGTK).
- add the driver code to src/motif/helphtml.cpp (a frame, toolbar,
history list).
- Note that a quicker route to a help system may be to use the
- code in the contrib dir of XmHTML to control a Netscape session --
- but Netscape can be a colour resource hog.
-
-- 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
+- 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
- Reimplement combobox using Lesstif's widget (avoiding GPL'ed
widget currently used).
-- Write generic wxDirDialog (directory selector)
-
-- Use native Motif dialogs for wxMessageBox
-
- Miscellaneous classes e.g. wxJoystick (identical to GTK's one for
Linux)
- Blit scaling
-- Could eventually alter the MDI widgets to be more Windows-like
- -- currently it's half-hearted.
-
-- Accelerators
-
- Get ODBC classes and sample working.
+- Work out why wxTextCtrl doesn't work as a stream buffer under
+ gcc
\ No newline at end of file