X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/124e17387cb8773949bc287e181594b6b2bbb07d..3214ac5ad1d515d917b8273c2d2af4c4287b7a8b:/docs/motif/todo.txt?ds=sidebyside diff --git a/docs/motif/todo.txt b/docs/motif/todo.txt index 67b0a0e3cb..7c0f0e1f59 100644 --- a/docs/motif/todo.txt +++ b/docs/motif/todo.txt @@ -1,98 +1,73 @@ wxMotif TODO ------------ -Updated: 16/10/98 +Updated: 11/02/99 -------------------------------o------------------------- -High Priority -------------- - -- wxScreenDC - -- Extra wxBitmap formats. What about XPMs, can we assume - libxpm exists and use that? - -- Work out why XFreeFont in font.cpp produces a segv. This is - currently commented out, which presumably causes a memory leak. - -- Bitmap versions of widgets (wxBitmapButton etc.) - -- wxRadioBox - -- wxRadioButton - -- wxComboBox: use combobox.c code as bundled in wxWin 1.68 - -- wxGauge: use xmgauge as per wxWin 1.68 - -- wxSpinButton - -- wxSlider +General comment: see the following site for useful Motif widgets. +ftp://ftp.x.org/contrib/widgets/motif -- wxTextCtrl text file loading and saving. +Also, grep for TODO comments in source. -- 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. - -- MDI classes: use existing Motif widgets for this. - -- Dialogs e.g. wxFileSelector. - Some others need tidying, such as the colour and font selectors. - -- Use generic wxTreeCtrl, wxListCtrl: enhance these. - -- Write a better generic wxToolBar class than wxToolBarSimple. - 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. - -- Colour and font setting in widgets. +High Priority +------------- -- wxSystemSettings +- Have a central/per app file for colour settings, with a wxWin + app to allow changing settings interactively. -- wxTimer +- 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. -- wxThread (hopefully, similar to wxGTK) +- wxToolTip -- Write makefiles for all samples. +- Miscellaneous events. -- Create some samples for testing. +- Allow wxFrame and other widgets to have mouse event handlers. Low Priority ------------ -- Print/preview framework in print.cpp (see wxGTK). +- Painting a retained window could be optimized further (see + wxWindow::DoPaint). -- 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. +- Visuals: how to select an appropriate one? See Thomas Runge's + visual patch for 1.68 -- should be straightforward to port to 2.0. -- Get Dialog Editor working under Motif. +- Work out why XFreeFont in font.cpp produces a segv. This is + currently commented out, which presumably causes a memory leak. - 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 - Optimize colour management so we don't get clashes when e.g. - Netscape is running. + Netscape is running. See: + http://www.motifzone.com/tmd/articles/John_Cwikla/index.html -- wxCheckBoxList - -- Write generic wxDirDialog (directory selector). - -- Use native Motif dialogs for wxMessageBox. +- wxRCConfig (a config class using X .rc files). Could simply + implement it in terms of current wxGet/WriteResource functions. - Miscellaneous classes e.g. wxJoystick (identical to GTK's one for Linux) - +- Work out why wxTextCtrl doesn't work as a stream buffer under + gcc