X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a3ac83faf3338cd289023345e63df9fa24400a9..4fcd60c72f6b90f5063f7000ff5a80a9004055a3:/docs/motif/todo.txt?ds=sidebyside diff --git a/docs/motif/todo.txt b/docs/motif/todo.txt index 52eb135233..1852d3c4ba 100644 --- a/docs/motif/todo.txt +++ b/docs/motif/todo.txt @@ -1,7 +1,7 @@ wxMotif TODO ------------ -Updated: 20/10/98 +Updated: 11/02/99 -------------------------------o------------------------- @@ -13,81 +13,64 @@ Also, grep for TODO comments in source. 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. +- Have a central/per app file for colour settings, with a wxWin + app to allow changing settings interactively. -- Colour setting in widgets. +- Implementation of default event processing (i.e. passing on an intercepted + event such as OnChar to the system). Currently, such events are processed + anyway, so for example intercepting left-click in a widget doesn't disable + the default behaviour. See TODOs in window.cpp. -- 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. - -- wxBitmapCheckBox, wxBitmapRadioButton +- wxRadioBox doesn't show up in the controls sample, though it's + OK on other dialogs (e.g. printing sample). - 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) +- wxToolTip - Miscellaneous events. -- Write makefiles for all samples and utilities. +- Use wxImage to load other formats into wxBitmaps, such as PNG, BMP. -- Create some samples for testing. +- Allow wxFrame and other widgets to have mouse event handlers. Low Priority ------------ +- Painting a retained window could be optimized further (see + wxWindow::DoPaint). + +- 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). - -- 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. +- Get Dialog Editor working (better) under Motif. - New wxHelp version: try using the XmHTML widget at - http://www.xs4all.nl/~ripley/XmHTML/ - -- 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 + 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). + +- 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 @@ -101,17 +84,15 @@ Low Priority - wxCheckBoxList +- wxBitmapCheckBox, wxBitmapRadioButton + - 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 +- Get ODBC classes and sample working. -- Could eventually alter the MDI widgets to be more Windows-like - -- currently it's half-hearted. +- Work out why wxTextCtrl doesn't work as a stream buffer under + gcc \ No newline at end of file