]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/motif/todo.txt
* Socket doc update.
[wxWidgets.git] / docs / motif / todo.txt
index 20d9c47be3e2e1a3932b9d5ba855e6c98ab7d35c..639beb44aa02b4c0e59b489e945cb159058e1d82 100644 (file)
 wxMotif TODO
 ------------
 
-Updated: 21/9/98
+Updated: 28/12/98
 
          -------------------------------o-------------------------
 
-- wxDCs
+General comment: see the following site for useful Motif widgets.
+ftp://ftp.x.org/contrib/widgets/motif
 
-- wxBitmap, wxIcon, wxCursor, wxPalette. What about XPMs, can we assume
-  libxpm exists and use that? What about PNGs? Can we use gdk
-  as per wxGTK? Probably not.
+Also, grep for TODO comments in source.
 
-- Work out why XFreeFont in font.cpp produces a segv. This is
-  currently commented out, which presumably causes a memory leak.
+High Priority
+-------------
 
-- wxRegion
+- Have a central/per app file for colour settings, with a wxWin
+  app to allow changing settings interactively.
 
-- Bitmap versions of widgets (wxBitmapButton etc.)
-
-- wxCheckBoxList
+- 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.
 
-- Remaining common widgets (wxListBox, wxRadioBox, wxRadioButton, wxChoice,
-  wxGauge, wxComboBox etc.). Use combobox.c code as bundled in wxWin 1.68.
+- 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.
 
-- wxTextCtrl text file loading and saving.
+- 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.
 
-- Scrolling in wxWindow.
+- wxNotebook bug: why doesn't the notebook sample appear until the
+  user resizes the window again? But it's OK for MDI. Strange.
 
-- 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.
+- wxSpinButton
 
-- MDI classes: use existing Motif widgets for this.
-
-- Miscellaneous classes e.g. wxJoystick (identical to GTK's one for
-  Linux)
+- Miscellaneous events.
 
-- Dialogs e.g. wxFileSelector. Use a native Motif wxMessageBox.
-  Some others need tidying, such as the colour and font selectors.
+- Get wxGLCanvas from 1.68 working.
 
-- Write generic wxDirDialog (directory selector).
+Low Priority
+------------
 
-- Use generic wxTreeCtrl, wxListCtrl: enhance these.
+- Visuals: how to select an appropriate one?
 
-- 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.
+- Work out why XFreeFont in font.cpp produces a segv. This is
+  currently commented out, which presumably causes a memory leak.
 
-- Optimize colour management so we don't get clashes when e.g.
-  Netscape is running.
+- Better makefile system that can put objects in different dirs.
 
-- Print/preview framework in print.cpp (see wxGTK's).
+- 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. Update: see if wxImage can handle these formats.
 
-- Colour and font setting in widgets.
+- Print/preview framework in print.cpp (see wxGTK).
 
-- wxSystemSettings
+- 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.
 
-- wxTimer
+- Get Dialog Editor working under Motif.
 
-- wxThread (hopefully, similar to wxGTK)
+- New wxHelp version: try using the XmHTML widget at
+  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).
 
 - 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 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).
+- Optimize colour management so we don't get clashes when e.g.
+  Netscape is running. See:
+  http://www.motifzone.com/tmd/articles/John_Cwikla/index.html
 
-- 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.
+- wxRCConfig (a config class using X .rc files). Could simply
+  implement it in terms of current wxGet/WriteResource functions.
+
+- wxCheckBoxList
 
-- Write makefiles for all samples.
+- wxBitmapCheckBox, wxBitmapRadioButton
 
-- Create some samples for testing.
+- Reimplement combobox using Lesstif's widget (avoiding GPL'ed
+  widget currently used).
 
-- Get Dialog Editor working under Motif.
+- Miscellaneous classes e.g. wxJoystick (identical to GTK's one for
+  Linux)
 
-- New wxHelp version: try using the XmHTML widget at
-  http://www.xs4all.nl/~ripley/XmHTML/
+- Blit scaling
+
+- 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