Update of /project/mcclim/cvsroot/mcclim/Backends/beagle
In directory common-lisp.net:/tmp/cvs-serv22111/beagle
Modified Files:
README.txt beagle-backend.asd
Log Message:
Added native slider pane. Updated README with list of panes that need
native equivalents, and whether these are provided yet or not.
Date: Sun Jun 12 15:27:40 2005
Author: drose
Index: mcclim/Backends/beagle/README.txt
diff -u mcclim/Backends/beagle/README.txt:1.16 mcclim/Backends/beagle/README.txt:1.17
--- mcclim/Backends/beagle/README.txt:1.16 Fri Jun 10 20:01:47 2005
+++ mcclim/Backends/beagle/README.txt Sun Jun 12 15:27:39 2005
@@ -8,6 +8,7 @@
. frame manager
. multiple ports
. KNOWN LIMITATIONS / TODO LIST
+ . NATIVE PANES
. FIXED STUFF PREVIOUSLY ON THE KNOWN LIMITATIONS / TODO LIST
. WISH LIST
. APPLICATIONS
@@ -178,6 +179,61 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+NATIVE PANES
+
+The following panes have native equivalents...
+
+
+From the spec.:-
+
+ Spec. name McCLIM class Cocoa equiv Impl?
+ -------------------------------------------------------------------------
+ BASIC-PANE BASIC-PANE
+ HBOX-PANE HBOX-PANE
+ VBOX-PANE VBOX-PANE
+ HRACK-PANE HRACK-PANE
+ VRACK-PANE VRACK-PANE
+ TABLE-PANE TABLE-PANE NSTableView [ ]
+ GRID-PANE GRID-PANE
+ SPACING-PANE SPACING-PANE
+ OUTLINED-PANE OUTLINED-PANE NSBox [ ]
+ BORDER-PANE
+ RAISED-PANE
+ LOWERED-PANE
+ RESTRAINING-PANE RESTRAINING-PANE
+ BBOARD-PANE BBOARD-PANE
+ VIEWPORT-PANE
+ LABEL-PANE LABEL-PANE NSBox [ ]
+ SCROLLER-PANE SCROLLER-PANE NSScrollView [ ]
+ CLIM-STREAM-PANE CLIM-STREAM-PANE
+ INTERACTOR-PANE INTERACTOR-PANE
+ APPLICATION-PANE APPLICATION-PANE
+ COMMAND-MENU-PANE COMMAND-MENU-PANE
+ TITLE-PANE TITLE-PANE
+ POINTER-DOCUMENTATION-PANE POINTER-DOCUMENTATION-PANE
+
+ PUSH-BUTTON-PANE (g) PUSH-BUTTON-PANE NSButton [ ]
+ TOGGLE-BUTTON-PANE (g) TOGGLE-BUTTON-PANE NSButton [ ]
+ MENU-BUTTON-PANE (g) MENU-BUTTON-PANE NSMenuItem [ ]
+ SCROLL-BAR-PANE (g) SCROLL-BAR-PANE NSScroller [x]
+ SLIDER-PANE (g) SLIDER-PANE NSSlider [x]
+ RADIO-BOX-PANE (g) RADIO-BOX-PANE NSButton [ ]
+ CHECK-BOX-PANE (g) CHECK-BOX-PANE NSButton [ ]
+ GENERIC-LIST-PANE (g) GENERIC-LIST-PANE
+ GENERIC-OPTION-PANE (g) GENERIC-OPTION-PANE NSComboBox [ ]
+ TEXT-FIELD-PANE (g) TEXT-FIELD-PANE NSTextField [ ]
+ TEXT-EDITOR-PANE (g) TEXT-EDITOR-PANE NSTextView [ ]
+
+
+McCLIM extensions:-
+
+ McCLIM class
+ ------------
+ BOX-ADJUSTER-GADGET NSSplitView [ ]
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
1. Speed! The current implementation is __slow__, especially when there is a
large output history. Paolo's stress test takes 26 seconds and conses
16MB on my (admittedly slow) iMac compared to 1.5 seconds on a 2.4GHz
@@ -218,10 +274,6 @@
with faith and it should work anyway.
-3. There are not yet any aqua look and feel panes. Sorry, I'm trying to
- get everything else working first!
-
-
7. Keyboard events are not handled "properly" as far as any OS X user will
be concerned; only the ASCII characters are recognised, along with
simple modifiers. It's enough to enter commands and edit the command via
@@ -277,6 +329,9 @@
those events are 'trapped' in the queue until other events take place.
Looking at the code, I don't think this should happen... (but it does).
+ NB. (11.JUN.2005) I haven't observed this since the move to 0.14.3
+ Hopefully it has been resolved within OpenMCL.
+
30. Event handling over 'drop down' menus is strange; after clicking on the
menu name, all events appear to be blocked until the mouse button is
@@ -296,9 +351,20 @@
done (lozenge size = 1.0), but I can't even deactivate them at this
point!
+ BEAGLE-SCROLL-BAR-PANE should inherit from SCROLL-BAR rather than
+ SCROLL-BAR-PANE I think.
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
FIXED STUFF PREVIOUSLY ON THE KNOWN LIMITATIONS / TODO LIST
+
+
+-3.- There are not yet any aqua look and feel panes. Sorry, I'm trying to
+ get everything else working first!
+
+ UPDATE 11.JUN.2005 - I have implemented (90+%) native scroll bars, and
+ am looking at implementing other native panes over
+ time. These will be added over time.
-4.- Pixmap support is not implemented; this means clim-fig drawing doesn't
Index: mcclim/Backends/beagle/beagle-backend.asd
diff -u mcclim/Backends/beagle/beagle-backend.asd:1.5 mcclim/Backends/beagle/beagle-backend.asd:1.6
--- mcclim/Backends/beagle/beagle-backend.asd:1.5 Mon Jun 6 19:49:21 2005
+++ mcclim/Backends/beagle/beagle-backend.asd Sun Jun 12 15:27:39 2005
@@ -1,6 +1,6 @@
;; -*- Mode: Lisp; -*-
-;; $Id: beagle-backend.asd,v 1.5 2005/06/06 17:49:21 drose Exp $
+;; $Id: beagle-backend.asd,v 1.6 2005/06/12 13:27:39 drose Exp $
(defpackage "BEAGLE"
(:use "CLIM" "CLIM-LISP")
@@ -98,6 +98,7 @@
(:file "lisp-view" :depends-on ("lisp-bezier-path"))
(:file "lisp-view-additional" :depends-on ("lisp-view"))
(:file "lisp-scroller")
+ (:file "lisp-slider")
(:file "lisp-image")))
(:file "cocoa-util")
(:module "Windowing"
@@ -112,6 +113,7 @@
:pathname #.(make-pathname :directory '(:relative "native-panes"))
:components
((:file "beagle-scroll-bar-pane")
+ (:file "beagle-slider-pane")
(:file "scroller-pane-fix")))
(:module "Output"
:depends-on ("Windowing")