/[mcclim]/mcclim/gadgets.lisp
ViewVC logotype

Log of /mcclim/gadgets.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Tag:

Revision 1.113 - (view) (annotate) - [select for diffs]
Thu Oct 29 14:05:04 2009 UTC (4 years, 5 months ago) by ahefner
Branch: MAIN
CVS Tags: HEAD
Changes since 1.112: +2 -2 lines
Diff to previous 1.112
Fix dynamic extent declarations in with-output-as-gadget.

Revision 1.112 - (view) (annotate) - [select for diffs]
Sun Nov 9 19:49:17 2008 UTC (5 years, 5 months ago) by ahefner
Branch: MAIN
Changes since 1.111: +10 -11 lines
Diff to previous 1.111
Nicer gadget range handling, and handle stream designators in w-o-a-g.

Revision 1.111 - (view) (annotate) - [select for diffs]
Fri May 9 22:16:11 2008 UTC (5 years, 11 months ago) by thenriksen
Branch: MAIN
Changes since 1.110: +2 -1 lines
Diff to previous 1.110
The default value of a list-pane should be NIL.

Revision 1.110 - (view) (annotate) - [select for diffs]
Fri May 9 21:24:28 2008 UTC (5 years, 11 months ago) by thenriksen
Branch: MAIN
Changes since 1.109: +10 -7 lines
Diff to previous 1.109
Fix list panes with multi-element-selection.

Revision 1.109 - (view) (annotate) - [select for diffs]
Fri May 9 19:12:14 2008 UTC (5 years, 11 months ago) by thenriksen
Branch: MAIN
Changes since 1.108: +2 -1 lines
Diff to previous 1.108
Specify :orientation default initarg for radio button gadgets.

Revision 1.108 - (view) (annotate) - [select for diffs]
Tue Feb 19 22:26:06 2008 UTC (6 years, 1 month ago) by thenriksen
Branch: MAIN
CVS Tags: McCLIM-0-9-6
Changes since 1.107: +1 -1 lines
Diff to previous 1.107
Fixed division-by-zero bug in scrollbar code.

Revision 1.107 - (view) (annotate) - [select for diffs]
Tue Aug 21 22:09:01 2007 UTC (6 years, 7 months ago) by thenriksen
Branch: MAIN
CVS Tags: McCLIM-0-9-5
Changes since 1.106: +5 -0 lines
Diff to previous 1.106
Attempt at cleaning up the text-field and text-editor gadget
mess. Drei/Goatee selection now more elegant and complex setups
(scrolling, minibuffer for Drei) now handled well without relying on
undocumented McCLIM quirks. The various size-specification-features
should also work now.

Revision 1.106 - (view) (annotate) - [select for diffs]
Sun Mar 4 22:27:30 2007 UTC (7 years, 1 month ago) by ahefner
Branch: MAIN
Changes since 1.105: +2 -1 lines
Diff to previous 1.105
Default value of toggle button to nil.

Revision 1.105 - (view) (annotate) - [select for diffs]
Tue Feb 6 12:54:10 2007 UTC (7 years, 2 months ago) by dlichteblau
Branch: MAIN
Changes since 1.104: +1 -1 lines
Diff to previous 1.104
Fixed the method browser.

	* gadgets.lisp (value-changed-callback): Move method from
	meta-list-pane down to generic-list-pane where it belongs.

Revision 1.104 - (view) (annotate) - [select for diffs]
Mon Feb 5 02:57:18 2007 UTC (7 years, 2 months ago) by ahefner
Branch: MAIN
Changes since 1.103: +17 -22 lines
Diff to previous 1.103
Trivial changes (change :max-height of push-button-pane to +fill+, move
functions around).

Revision 1.103 - (view) (annotate) - [select for diffs]
Wed Dec 27 14:47:23 2006 UTC (7 years, 3 months ago) by dlichteblau
Branch: MAIN
CVS Tags: McCLIM-0-9-4, mcclim-0-9-4
Changes since 1.102: +55 -5 lines
Diff to previous 1.102
As an extension, recognize an initarg :PRESENTATION-TYPE-KEY to the list
pane.  Like :VALUE-KEY and :NAME-KEY, it can specify a function to be
called for each list item.  The presentation type key can return NIL, or a
presentation type to be used for the item.

If such a type is returned, selection of the item will throw a
presentation of that type before the value-change callback is called.

In addition, right click will be recognized on the list pane and open
a presentation menu.

	* gadgets.lisp (META-LIST-PANE): New slot presentation-type-key.
	((VALUE-CHANGED-CALLBACK :BEFORE META-LIST-PANE)): Optionally
	throw a presentation.  (AD-HOC-PRESENTATION,
	OUTPUT-RECORD-HIT-DETECTION-RECTANGLE*): New class and method.
	(GENERIC-LIST-PANE-HANDLE-RIGHT-CLICK,
	META-LIST-PANE-CALL-PRESENTATION-MENU): New functions.
	((HANDLE-EVENT GENERIC-LIST-PANE)): Handle right clicks.

	* Examples/demodemo.lisp (list-pane-test): Modified to demonstrate
	presentation-type-key.

	* Backends/gtkairo/event.lisp (HANDLE-EVENT-P): New generic
	function.  (BUTTON-HANDLER): Trap the event only if handle-event-p
	returns true.

	* Backends/gtkairo/gadgets.lisp ((HANDLE-EVENT-P GTK-LIST),
	(CONNECT-NATIVE-SIGNALS GTK-LIST)): Handle right clicks.
	(GTK-LIST-ONE-VALUE): New function. ((HANDLE-EVENT GTK-LIST)):
	Call meta-list-pane-call-presentation-menu.

Revision 1.102 - (view) (annotate) - [select for diffs]
Sat Dec 23 21:44:03 2006 UTC (7 years, 3 months ago) by dlichteblau
Branch: MAIN
Changes since 1.101: +42 -0 lines
Diff to previous 1.101
Implement (SETF LIST-PANE-ITEMS) as discussed on IRC.

	* package.lisp (CLIM-EXTENSIONS): Export LIST-PANE-ITEMS.

	* Examples/demodemo.lisp: Extend the LIST-TEST to demonstrate the
	new functionality.

	* gadgets.lisp ((SETF LIST-PANE-ITEMS)): Add a new generic
	function.  Implement it for GENERIC-LIST-PANE, with some general
	code specialized on META-LIST-PANE.

	* Backends/gtkairo/gadgets.lisp: Implement (SETF LIST-PANE-ITEMS)
	for GTK-LIST, too.

	* Backends/gtkairo/ffi.lisp: regenerated.

Revision 1.101 - (view) (annotate) - [select for diffs]
Wed Nov 8 01:18:22 2006 UTC (7 years, 5 months ago) by thenriksen
Branch: MAIN
Changes since 1.100: +0 -158 lines
Diff to previous 1.100
Committed changes necessary to support Drei (and non-Goatee input
editors at all). Also some indirection permitting run-time selection
of editor substrate and the code for :text-editor and :text-field
gadgets.

Revision 1.100 - (view) (annotate) - [select for diffs]
Mon Apr 17 18:37:21 2006 UTC (8 years ago) by dlichteblau
Branch: MAIN
CVS Tags: McCLIM-0-9-3
Changes since 1.99: +2 -0 lines
Diff to previous 1.99
* gadgets.lisp (dis-/armed-callback text-field-pane): Added a hack to
ensure initialization of the text field before it is being used.  Needed
to make the gadget test start up with the gtkairo backend.

Revision 1.99 - (view) (annotate) - [select for diffs]
Thu Mar 30 12:07:59 2006 UTC (8 years ago) by tmoore
Branch: MAIN
Changes since 1.98: +6 -2 lines
Diff to previous 1.98
Fix up scroll bars in Beagle. Use the high level gadget events to
signal scroll bar changes to the application. Document the unintuitive
scroll-bar-thumb-size slot in the scroll-bar gadget.

Revision 1.98 - (view) (annotate) - [select for diffs]
Wed Mar 29 10:43:37 2006 UTC (8 years ago) by tmoore
Branch: MAIN
Changes since 1.97: +40 -1 lines
Diff to previous 1.97

Take out dependencies on case in symbol names. This makes McCLIM sort
of work in ACL's so-called modern mode; there have been some CLX fixes
recently that may get it all the way there.

Clean up events.lisp.

Add a callback-event, which will be used in ports that get high-level
gadget notifications in the event process and need to deliver them to
applications.

Changed the implementation of scroll bars. When the drag callback is
called, just move the sheet; assume that the gadget itself has updated
the value and the graphic representation. add a scroll-bar-values
interface that gets and sets all scroll bar values and only updates
the bar once. This will break the Beagle back end momentarily.

Revision 1.97 - (view) (annotate) - [select for diffs]
Mon Mar 27 10:46:11 2006 UTC (8 years ago) by crhodes
Branch: MAIN
Changes since 1.96: +48 -32 lines
Diff to previous 1.96
Patch from Paul Werkowski for with-output-as-gadget.  Still not good,
but better, as I understand it.

Revision 1.96 - (view) (annotate) - [select for diffs]
Fri Mar 10 21:58:13 2006 UTC (8 years, 1 month ago) by tmoore
Branch: MAIN
CVS Tags: McCLIM-0-9-2
Changes since 1.95: +0 -55 lines
Diff to previous 1.95
Move most protocol class definitions into protocol-classes.lisp, which
is compiled and loaded early. Some class definitions, which had slot
definitions that I didn't have the stomach to tease apart, stayed
behind.

Replace the presentation documentation state mechanism with
updating-output so that other functions / programs can write to the
pointer documentation area and not screw things up. We still use the
state to actually print the documentation.

Revision 1.95 - (view) (annotate) - [select for diffs]
Wed Feb 22 10:55:40 2006 UTC (8 years, 1 month ago) by tmoore
Branch: MAIN
Changes since 1.94: +6 -6 lines
Diff to previous 1.94
Fix some bit rot in the Beagle backend; not quite there.

Revision 1.94 - (view) (annotate) - [select for diffs]
Thu Dec 1 11:10:55 2005 UTC (8 years, 4 months ago) by gbaumann
Branch: MAIN
Changes since 1.93: +11 -1 lines
Diff to previous 1.93
- added more DEFGENERICs
- fiddled with a few IGNORE declarations
- with CMUCL, macros no longer attempt to declare special variables
  IGNORABLE

Revision 1.93 - (view) (annotate) - [select for diffs]
Tue Nov 29 13:04:16 2005 UTC (8 years, 4 months ago) by gbaumann
Branch: MAIN
Changes since 1.92: +30 -21 lines
Diff to previous 1.92
Some attempts to make the different gadget classes match look.

PUSH-BUTTON-PANE, TOGGLE-BUTTON-PANE:
    Changed default spacing initargs to get a better match in look.

GENERIC-OPTION-PANE:
    - Space is computed a little different now to match the look of
      the push button.
    - The widget size now is always square and matched to the overall
      height of the optione pane.
    - We circmumvent the flawed behavior of DRAW-TEXT* and compute the
      base line on our own.

Revision 1.92 - (view) (annotate) - [select for diffs]
Mon Nov 28 17:00:32 2005 UTC (8 years, 4 months ago) by gbaumann
Branch: MAIN
Changes since 1.91: +215 -266 lines
Diff to previous 1.91
SCROLL-BAR-PANE
    Complete overhaul:

    - The blitter hack now works, because we round coordinates to
      integers, COPY-AREA was fixed for case we work under a
      transformation and finally because we get :graphcis-exposure
      events.

    - We use poor man's incremental redisplay for updating the scroll
      bar display. So now, when changing the value of a scroll bar
      without actually changing it, we don't have a flickering display
      anymore.

    - The thumb bed is drawn in *3D-INNER-COLOR*, which is slightly
      darker than the background of the thumb itself. This leads to
      more clearly visible thumb.

    - The thumb won't get smaller than +MINIMUM-THUMB-SIZE-IN-PIXELS+,
      so a really large stream pane, won't cause such an usability
      problem anymore.

Revision 1.91 - (view) (annotate) - [select for diffs]
Wed Oct 12 14:22:27 2005 UTC (8 years, 6 months ago) by rschlatte
Branch: MAIN
Changes since 1.90: +9 -2 lines
Diff to previous 1.90
Draw hollow or filled cursor in text-field gadget, depending on
whether the gadget is armed or not.

Revision 1.90 - (view) (annotate) - [select for diffs]
Mon May 23 12:43:34 2005 UTC (8 years, 10 months ago) by ahefner
Branch: MAIN
Changes since 1.89: +8 -1 lines
Diff to previous 1.89
Added rpgoldman's docstring for box-adjuster gadget.

Revision 1.89 - (view) (annotate) - [select for diffs]
Sun Apr 17 17:30:26 2005 UTC (9 years ago) by ahefner
Branch: MAIN
Changes since 1.88: +75 -33 lines
Diff to previous 1.88
Answer anonymous wish for an :active-p initarg, but call it :active
instead, as classic CLIM appeared to.

Added documentation to the list-pane and option-pane listing what is left
to be done, some performance considerations, user behavior, and extensions
beyond the CLIM spec.

Various fixes and cleanups to the list and option panes. Made it capable
of handling an unbound gadget-value. Cleaned up the (still) scary event
loop that manages the popup menu for option-pane. Fixed some bugs whose
details I've forgotten. Also fixed bogus slot type declaration reported
by David Christiansen last month.

Revision 1.88 - (view) (annotate) - [select for diffs]
Fri Feb 25 06:03:02 2005 UTC (9 years, 1 month ago) by ahefner
Branch: MAIN
CVS Tags: McCLIM-0-9-1
Changes since 1.87: +2 -6 lines
Diff to previous 1.87
Fix gadget output records after recent coordinate changes, with help from
Anthony Juckel and Mikemac.

Revision 1.87 - (view) (annotate) - [select for diffs]
Mon Jan 31 06:09:55 2005 UTC (9 years, 2 months ago) by ahefner
Branch: MAIN
Changes since 1.86: +13 -11 lines
Diff to previous 1.86
Add standard-sheet-input-mixin to superclasses of generic-list-pane in
order to make it work within the popup menu of the option-pane in
unithreaded SBCL (and presumably other non-MP lisps). This feels like a
hack.

Revision 1.86 - (view) (annotate) - [select for diffs]
Sun Jan 2 05:25:38 2005 UTC (9 years, 3 months ago) by ahefner
Branch: MAIN
Changes since 1.85: +4 -4 lines
Diff to previous 1.85
Fix incorrect default mode of list pane.

Provide some tactile feedback by changing the pointer cursor within box-adjuster-gadget.

Revision 1.85 - (view) (annotate) - [select for diffs]
Mon Nov 15 06:17:04 2004 UTC (9 years, 5 months ago) by hefner1
Branch: MAIN
Changes since 1.84: +32 -33 lines
Diff to previous 1.84
Attempt to improve clim-extensions:box-adjuster-gadget - capture the
space requirements of the left/right peers when the button is pressed,
so that computing their new sizes can be done absolutely based on
distance/direction the pointer has travelled overall and their original
space requirements, rather than relatively using the distance travelled
between motion events applied to their current space requirement. This
seems to keep things on screen in better sync with the cursor.

Revision 1.84 - (view) (annotate) - [select for diffs]
Fri Nov 12 22:06:54 2004 UTC (9 years, 5 months ago) by hefner1
Branch: MAIN
Changes since 1.83: +6 -3 lines
Diff to previous 1.83
In various mixins that repaint the gadget in response to events, supply
(or (pane-viewport-region gadget) (sheet-region gadget))) rather than
+everywhere+ to improve performance for large sheets embedded in a
scroller-pane.

Revision 1.83 - (view) (annotate) - [select for diffs]
Fri Nov 12 07:04:25 2004 UTC (9 years, 5 months ago) by hefner1
Branch: MAIN
Changes since 1.82: +1 -4 lines
Diff to previous 1.82
Oops - fix to generic-option-pane so that the value-changed-callback is
invoked.

Revision 1.82 - (view) (annotate) - [select for diffs]
Fri Nov 12 06:44:52 2004 UTC (9 years, 5 months ago) by hefner1
Branch: MAIN
Changes since 1.81: +370 -54 lines
Diff to previous 1.81
Implementation of OPTION-PANE, with apologies to Gilbert Baumann.

Change gadget-highlight-background to blend with white rather than
+paleturquoise+.

Adjust superclasses of meta-list-pane, generic-list-pane, so that
generic-option-pane can also use meta-list-pane.

Minor refactoring and fixes to generic-list-pane.

Implementation of generic-option-pane, using generic-list-pane in a popup
window. Supports full set of options (mode, value-key, name-key). Appears
GTK2-ish, and should behave as people expect. List and option panes should
be scalable to at around a thousand items (worst case), and there is plenty
of room for improvement.

Revision 1.81 - (view) (annotate) - [select for diffs]
Sun Oct 31 01:46:31 2004 UTC (9 years, 5 months ago) by hefner1
Branch: MAIN
Changes since 1.80: +228 -49 lines
Diff to previous 1.80
In tracking-pointer, don't discard the event when calling the handler.

Fix bug induced by clicking presentations outside of menu-choose menus.

Make mouse-wheel scrolling work when mixed into arbitrary panes.
Defined new GF SCROLL-QUANTUM to control unit of scrolling (defaults
to text-height on stream panes, 10 pixels elsewhere).

Rework CLX frame-manager pane lookup - choose by presense of defined
classes rather than mere existance of a symbol. Added a function
DEFINE-ABSTRACT-PANE-MAPPING to specify alternate mappings to concrete
panes (such as GENERIC-OPTION-PANE, GENERIC-LIST-PANE, which were not
handled correctly before). Hopefully this is a step toward a future
mechanism that addresses the needs of multiple frame-managers and themes.

Implement (reimplement?) GENERIC-LIST-PANE based loosely on the existing
code. Supports single or multiple-item selection modes, toggling items via
control key (with an optional :prefer-single-item initarg which causes
a :nonexclusive list to prefer selecting single items without disallowing
multiple selections). Selection of item ranges via the shift modifier.
Scroll wheel support. Supports :one-of and :some-of aliases for :exclusive
and :non-exclusive (Lispworks compatibility).

Revision 1.80 - (view) (annotate) - [select for diffs]
Mon Oct 18 06:24:57 2004 UTC (9 years, 6 months ago) by hefner1
Branch: MAIN
Changes since 1.79: +13 -8 lines
Diff to previous 1.79
Menubar and gadget changes:

In deactivated gadgets, 'engrave' the text rather than simply dimming
the label.

Menu bars now use deactivate-gadget on the menu-buttons to signify
disabled commands.

Implemented divider menu items, with an optional label.

Implemented :function menu items.

For submenu buttons in vertical menus, draw a little arrow to the right
of the name to distinguish them from regular menu items.

Revision 1.79 - (view) (annotate) - [select for diffs]
Wed Jul 7 10:08:54 2004 UTC (9 years, 9 months ago) by moore
Branch: MAIN
Changes since 1.78: +11 -5 lines
Diff to previous 1.78
Initial hacks for text-editor

Revision 1.78 - (view) (annotate) - [select for diffs]
Sat Feb 7 14:05:50 2004 UTC (10 years, 2 months ago) by moore
Branch: MAIN
Changes since 1.77: +1 -1 lines
Diff to previous 1.77
Cleaned up the frame layout code. It's now possible to change layouts
on the fly. Got rid of frame-pane and replaced it with a proper
definition of frame-panes that conforms to the Spec. All the frame
pane and layout functions in the spec should be implemented now.

In presentation-replace-input, checked in a fix that I thought was
already in.

Revision 1.77 - (view) (annotate) - [select for diffs]
Sat Dec 6 17:27:20 2003 UTC (10 years, 4 months ago) by mikemac
Branch: MAIN
Changes since 1.76: +1 -1 lines
Diff to previous 1.76
fixed typo per Paul Werkowski

Revision 1.76 - (view) (annotate) - [select for diffs]
Thu Oct 23 05:59:14 2003 UTC (10 years, 5 months ago) by moore
Branch: MAIN
CVS Tags: McCLIM-0-9
Changes since 1.75: +0 -7 lines
Diff to previous 1.75
Christophe Rhodes' improved defgeneric definitions.

Early work on the partial command processor.

Revision 1.75 - (view) (annotate) - [select for diffs]
Mon Oct 20 01:29:05 2003 UTC (10 years, 6 months ago) by hefner1
Branch: MAIN
Changes since 1.74: +118 -66 lines
Diff to previous 1.74
Various changes for WITH-OUTPUT-AS-GADGET.

Here's what works:
 * Embedding gadgets in stream panes.
 * Gadget panes will be moved if their containing output record is moved,
   either directly or by moving a parent.
 * Deleting the gadget-output-record or its parents will remove the gadget.
 * Adding the gadget-output-record back into a sheet will restore the gadget.

What needs to be done:
 * Figure out how to integrate gadgets with presentations

Summary of changes:
 * Two new methods, NOTE-OUTPUT-RECORD-[GOT,LOST]-SHEET, needed to make adding
   and deleting of gadget-output-records work. They could use better names =)
 * Changes to ADD-OUTPUT-RECORD, DELETE-OUTPUT-RECORD, and CLEAR-OUTPUT-RECORD
   to support above methods.
 * Output histories now have a slot to keep track of their sheet.
 * Removed some code that had snuck into panes.lisp related to input focus and
   changable cursor shapes (which I've never comitted).
 * Made clim-stream-pane inherit sheet-multiple-child-mixin.
 * Removed redundant definition of the OUTPUT-HISTORY slot from stream panes,
   and the two uses of the PANE-OUTPUT-HISTORY accessor it defines (which
   isn't in the spec nor the vendor CLIMs AFAIK).

Also changes to the slider gadget, which I was using in my test case:
 * Wrote a COMPOSE-SPACE method to request a more appropriate size depending
   on gadget orientation.
 * Merged code in the repaint method that was duplicated for horizontal and
   verical orientations.
 * Fill the background with PANE-BACKGROUND instead of GADGET-CURRENT-COLOR.
 * Commented out slot definition in basic-gadget which caused it to get a white
   background instead of the default frmo basic-pane. There was a comment there
   about Lispworks compatibility... but hopefully no one misses this.

Revision 1.74 - (view) (annotate) - [select for diffs]
Sun Aug 31 14:55:00 2003 UTC (10 years, 7 months ago) by hefner1
Branch: MAIN
Changes since 1.73: +6 -4 lines
Diff to previous 1.73
Fixed bug in CONVERT-VALUE-TO-POSITION for the slider gadget, reported by
Philip Knodle. Decided to do things slightly differently than his patch:

* When the range of the slider is zero, position the button in the center.

Revision 1.73 - (view) (annotate) - [select for diffs]
Sun Aug 24 04:35:56 2003 UTC (10 years, 7 months ago) by hefner1
Branch: MAIN
Changes since 1.72: +7 -6 lines
Diff to previous 1.72
Fixed a bug in the text-field-pane - when specifiying an initial value for
the text field, it didn't appear until you cause the pane to be repainted.
The goatee area for the field was being initialized in an :after method
on handle-repaint.

* Removed the unused EXPOSED slot.
* Changed the HANDLE-REPAINT :AFTER method to a :BEFORE method
* Test against (area pane) instead of (exposed pane). Since the latter was
  not being set, a new goatee area was being created on every repaint.

Revision 1.72 - (view) (annotate) - [select for diffs]
Fri Aug 15 04:35:23 2003 UTC (10 years, 8 months ago) by hefner1
Branch: MAIN
Changes since 1.71: +5 -7 lines
Diff to previous 1.71
Be sure to specify a max size on the major dimension within COMPOSE-SPACE
for the box-adjuster-gadget, so that the gadget doesn't accidentally grow
if one of the resized panes isn't cooperating.

Revision 1.71 - (view) (annotate) - [select for diffs]
Tue Aug 12 00:19:16 2003 UTC (10 years, 8 months ago) by hefner1
Branch: MAIN
Changes since 1.70: +75 -0 lines
Diff to previous 1.70
Added a new gadget, clim-extensions:box-adjuster-gadget. You can put this
within a vertical/horizontal box or rack, and it will adjust the size of the
neighboring clients in the box.

The implementation is not perfect, but it works pretty well, considering I've
made no changes to the box widgets to accomodate it.

Revision 1.70 - (view) (annotate) - [select for diffs]
Fri Mar 21 22:07:05 2003 UTC (11 years, 1 month ago) by mikemac
Branch: MAIN
Changes since 1.69: +2 -2 lines
Diff to previous 1.69
make all code lowercase for ACL's java mode - leave gensyms alone

Revision 1.69 - (view) (annotate) - [select for diffs]
Fri Mar 21 21:36:58 2003 UTC (11 years, 1 month ago) by mikemac
Branch: MAIN
Changes since 1.68: +1 -1 lines
Diff to previous 1.68
make all of the package names passed to in-package be lowercase keywords for ACL's java mode

Revision 1.68 - (view) (annotate) - [select for diffs]
Fri Mar 21 15:15:08 2003 UTC (11 years, 1 month ago) by mikemac
Branch: MAIN
Changes since 1.67: +6 -6 lines
Diff to previous 1.67
make all #+/#- conditionals lowercase for ACLs java mode

Revision 1.67 - (view) (annotate) - [select for diffs]
Thu Nov 21 03:54:49 2002 UTC (11 years, 5 months ago) by mikemac
Branch: MAIN
Changes since 1.66: +0 -2 lines
Diff to previous 1.66
remove redundant declarations and definitions

Revision 1.66 - (view) (annotate) - [select for diffs]
Sun Nov 10 14:40:29 2002 UTC (11 years, 5 months ago) by gilbert
Branch: MAIN
Changes since 1.65: +8 -3 lines
Diff to previous 1.65
I changed the default text-style of some gadgets to (:sans-serif nil nil)
in an attempt to look more "standard".

Revision 1.65 - (view) (annotate) - [select for diffs]
Tue Nov 5 10:45:36 2002 UTC (11 years, 5 months ago) by gilbert
Branch: MAIN
Changes since 1.64: +19 -10 lines
Diff to previous 1.64
MENU-BUTTON-PANE:
    the label is aligend left with a bit a gutter now

Revision 1.64 - (view) (annotate) - [select for diffs]
Thu Oct 31 12:58:14 2002 UTC (11 years, 5 months ago) by brian
Branch: MAIN
Changes since 1.63: +2 -2 lines
Diff to previous 1.63
language support for text-styles, korean font support, support for 16 bit
fonts, support for font composition, support for timer events, some cosmetic
changes, support for unicode characters, etc.
A bit much at once, and hopefully it won't break for anyone who isn't using
unicode enabled cmucl.

Revision 1.63 - (view) (annotate) - [select for diffs]
Sat Sep 7 15:57:40 2002 UTC (11 years, 7 months ago) by brian
Branch: MAIN
Changes since 1.62: +5 -1 lines
Diff to previous 1.62
Added lowering to complement raising.
Fixed raising and lowering to draw their backgrounds.
Fixed viewport to allocate-space for its child - maybe needs fixing somewhere else.

Revision 1.62 - (view) (annotate) - [select for diffs]
Mon Aug 5 16:17:11 2002 UTC (11 years, 8 months ago) by adejneka
Branch: MAIN
Changes since 1.61: +16 -7 lines
Diff to previous 1.61
* Added quantization of SLIDER-PANE.

Revision 1.61 - (view) (annotate) - [select for diffs]
Wed Jul 31 07:44:29 2002 UTC (11 years, 8 months ago) by moore
Branch: MAIN
Changes since 1.60: +75 -11 lines
Diff to previous 1.60
Editable text fields.  Support for the OR presentation type.  Added
:mcclim to *features*.

This was done in support of Jochen Schmidt's weird-irc IRC client,
which now works reasonably well under McCLIM, though it isn't as
pretty as some of the screenshots at http://www.dataheaven.de/weird-irc/.

Revision 1.60 - (view) (annotate) - [select for diffs]
Thu Jun 27 16:37:43 2002 UTC (11 years, 9 months ago) by gilbert
Branch: MAIN
Changes since 1.59: +139 -30 lines
Diff to previous 1.59
Changed some specializations on STANDARD-GADGET into BASIC-GADGET.

SCROLL-BAR work:

 . started to hack an alternative implemention, which uses an extra
   sheet for the thumb for performance. -- code not yet enabled.

 . page-up callback now is unaccessible.

Revision 1.59 - (view) (annotate) - [select for diffs]
Mon May 13 15:54:28 2002 UTC (11 years, 11 months ago) by brian
Branch: MAIN
Changes since 1.58: +4 -2 lines
Diff to previous 1.58
trivial tidying

Revision 1.58 - (view) (annotate) - [select for diffs]
Sun May 5 03:41:03 2002 UTC (11 years, 11 months ago) by adejneka
Branch: MAIN
Changes since 1.57: +16 -8 lines
Diff to previous 1.57
* Added keyword arguments to COMPOSE-SPACE.

Revision 1.57 - (view) (annotate) - [select for diffs]
Tue Apr 30 09:49:01 2002 UTC (11 years, 11 months ago) by gilbert
Branch: MAIN
Changes since 1.56: +1 -45 lines
Diff to previous 1.56
More removal of spurious warnings by
- adding more declarations to decls.lisp
- moving common code from gadgets.lisp to panes.lisp
- also moving draw-design to graphics.lisp

Revision 1.56 - (view) (annotate) - [select for diffs]
Sun Apr 28 11:17:07 2002 UTC (11 years, 11 months ago) by gilbert
Branch: MAIN
Changes since 1.55: +0 -10 lines
Diff to previous 1.55
Besides some support for enabled/disabled sheets in panes.lisp and removal
of some unused code, the most notable change is:

- removal of all method defintions like
  (defmethod handle-event ((foo foo-pane) (event window-repaint-event))
    (repaint-sheet foo (event-region event))

- Switched last remaining REPAINT-SHEET methods into HANDLE-REPAINT, since
  HANDLE-REPAINT is where you define repainting. REPAINT-SHEET is for forcing
  a repaint not for implementing a repaint. [Although I am German my reading
  comprehension should be just good enough to understand the relevant chapter
  of the specification].
  This breaks CLIM-FIG again, refer to my posting to the mailing list.

Revision 1.55 - (view) (annotate) - [select for diffs]
Sat Apr 27 07:05:50 2002 UTC (11 years, 11 months ago) by strandh
Branch: MAIN
Changes since 1.54: +3 -0 lines
Diff to previous 1.54
gadgets.lisp now compiles without compiler warnings.

Revision 1.54 - (view) (annotate) - [select for diffs]
Wed Apr 24 16:30:14 2002 UTC (11 years, 11 months ago) by brian
Branch: MAIN
Changes since 1.53: +17 -2 lines
Diff to previous 1.53
General cleaning up. Fixed pixie-toggle-buttons, rebuild pixie-sliders, and
pixie-scroll-bar (unfinished). Cleaned up Examples/gadget-test to use the
correct constructors.

Revision 1.53 - (view) (annotate) - [select for diffs]
Sun Apr 21 12:41:14 2002 UTC (12 years ago) by brian
Branch: MAIN
Changes since 1.52: +108 -28 lines
Diff to previous 1.52
Sundry fixes to run without multiprocessing support.

Added images/ to hold bitmaps for tests.

Added looks/ to hold neutral look-and-feel realizer packages.

Added Examples/gadget-test to test many gadgets with a look and feel.

Added a pixie look and feel, and a pixie/clx to work with the clx backend.

Added drawing support in the CLX backend for ovals and circles.

Fixed pixmaps to work with with-output-to-pixmap with draw-image, etc.

Moved sheet-leaf-mixin to standard-gadget-pane so it doesn't break radio-box-pane, etc.

Misc fixes.

Revision 1.52 - (view) (annotate) - [select for diffs]
Fri Apr 19 22:27:09 2002 UTC (12 years ago) by moore
Branch: MAIN
Changes since 1.51: +15 -15 lines
Diff to previous 1.51
Make a global choice, based on multiprocessing or not, whether events
should be handled immediately or queued up to be serviced by another
process.  The choice is implemented by the classes
clim-sheet-input-mixin and clim-repainting-mixin, from which all panes
inherit.  These classes' superclasses are conditionalized on whether or
not the implementation is capable of multiprocessing.

When multiprocessing there is a single event queue per frame.  This is
implemented by queue-event on pane classes.

The event loop is implemented in stream-input-wait.  In single
processing mode, stream-input-wait calls process-next-event and
handles events immediately.  When multiprocessing, stream-input-wait
reads events from the frame event queue and handles them.  The
function clim-extensions:simple-event-loop is supplied for
applications which do not loop reading from a stream; various examples
have been changed to use it.

In stream-read-gesture/stream-input-wait the input-wait-test function
is not expected to block anymore; nor is the input-wait-handler
expected to dispatch events.  input-wait-handler is responsible for
consuming events that should not be seen by anyone
else. input-context-wait-test and highlight-applicable-presentation
have been rewritten to reflect this.

The adjustable-array buffer for extended-input-streams has been added
back in.  A typo in %event-matches-gesture has been fixed.

Default methods for map-over-output-records-containing-position and
map-over-output-records-overlapping-region have been added.

The cursor implementation has been broken out into a cursor-mixin so I
can snarf it for Goatee :)

Revision 1.51 - (view) (annotate) - [select for diffs]
Tue Mar 26 14:50:50 2002 UTC (12 years ago) by strandh
Branch: MAIN
Changes since 1.50: +20 -3 lines
Diff to previous 1.50
I removed the quoted expression in (setf gadget-current-color) so that
colored gadgets change immediately when their color is altered.  I
still don't understand why this expression was quoted.

I added standard-space-requirement-options-mixin to the list of
superclasses of menu-button-pane, and added a method for compose-space
on menu-button-pane.  Now, menu buttons have roughly the right size
again but the don't yet change colors according to whether they are
armed or not.  I suspect it is a question of adding
enter/exit-arms/disarms-mixin to the list of superclasses, but I
haven't had time to do that yet.

Now, there is considerable code duplication between the compose-space
methods of push-button and menu-button.  I am not sure how to factor
this yet.

Revision 1.50 - (view) (annotate) - [select for diffs]
Tue Mar 12 21:05:06 2002 UTC (12 years, 1 month ago) by moore
Branch: MAIN
Changes since 1.49: +1 -1 lines
Diff to previous 1.49
Checkin to get context sensitive input working with multi-threaded
process-next-event.

Set input focus in run-frame-top-level.  Assume that someday, in the
presence of multiple frames, we'll do the right thing with switching
the input focus from frame to frame.

Added a frame-intercept-event-queue to frames.  process-next-event
examines the frame associated with the pane that has input focus and
puts device events on that frame's queue if desired.

Rewrote stream-input-wait, stream-read-gesture and the
with-input-context input-test and input-handler functions per
mikemac's suggestions.  The with-input-context stuff uses the
intercept queue mechanism now.

Fixed a typo in gadgets.lisp.

Revision 1.49 - (view) (annotate) - [select for diffs]
Thu Feb 28 10:00:07 2002 UTC (12 years, 1 month ago) by gilbert
Branch: MAIN
Changes since 1.48: +17 -9 lines
Diff to previous 1.48
LABELLED-GADGET
    Default label now is ""

DRAW-LABEL*
    Work around for ENGRAFT-MEDIUM not doing the right thing.

RADIO-BOX, CHECK-BOX
    Got rid of REORDER-SHEETS since it is not needed anymore.

Revision 1.48 - (view) (annotate) - [select for diffs]
Tue Feb 26 18:05:49 2002 UTC (12 years, 1 month ago) by gilbert
Branch: MAIN
Changes since 1.47: +29 -11 lines
Diff to previous 1.47
Changed the argument precedence order of all XYZ-CALLBACK generic
functions so that the client arguments comes first and the gadget
argument comes last.

So that something like below actually behaves as intended.

(define-application-frame foo () ...)

(defmethod activate-callback (gadget (frame foo) (id (eql :okay)))
   ...)

Revision 1.47 - (view) (annotate) - [select for diffs]
Tue Feb 26 17:20:57 2002 UTC (12 years, 1 month ago) by gilbert
Branch: MAIN
Changes since 1.46: +29 -16 lines
Diff to previous 1.46
RADIO-BOX
CHECK-BOX
    Display items in the order given.

Revision 1.46 - (view) (annotate) - [select for diffs]
Mon Feb 25 17:43:14 2002 UTC (12 years, 1 month ago) by gilbert
Branch: MAIN
Changes since 1.45: +1151 -654 lines
Diff to previous 1.45
To much too document in detail.

Just the highlights:

 - reordered code quite a bit.

 - TOGGLE-BUTTON: The toggle button now looks like in Motif and
   appearence depends on indicator-type.

 - RADIO-BOX, CHECK-BOX
   implemented

 - LIST-PANE
   moved here from panes.lisp

 - arm/disarm-repaint-mixin
   value-changed-repaint-mixin
   enter/exit-arms/disarms-mixin
   changing-label-invokes-layout-protocol-mixin

   new mixin classes for concret gadgets

Revision 1.45 - (view) (annotate) - [select for diffs]
Sat Feb 16 02:23:30 2002 UTC (12 years, 2 months ago) by gilbert
Branch: MAIN
Changes since 1.44: +103 -43 lines
Diff to previous 1.44
GADGET class
    PERMANENT-MEDIUM-SHEET-OUTPUT-MIXIN gone.

At a lot of places:

    HANDLE-REPAINT instead of REPAINT-SHEET.
    Use HANDLE-REPAINT to implement redrawing!

    HANDLE-EVENT specialized on WINDOW-REPAINT-EVENT elided as this
    should be handled by the repaint protocol.

Some callbacks bind *APPLICATION-FRAME* now.

TEXT-FIELDs no longer use TEXT-SIZE for calculation of their preferred
height, but TEXT-STYLE-ASCENT/DESCENT.

Revision 1.44 - (view) (annotate) - [select for diffs]
Thu Dec 6 15:02:28 2001 UTC (12 years, 4 months ago) by gilbert
Branch: MAIN
Changes since 1.43: +14 -5 lines
Diff to previous 1.43
- spend SCROLL-BAR-THUMB-SIZE

Revision 1.43 - (view) (annotate) - [select for diffs]
Wed Nov 21 15:16:01 2001 UTC (12 years, 4 months ago) by gilbert
Branch: MAIN
Changes since 1.42: +427 -181 lines
Diff to previous 1.42
- 3D-BORDER-MIXIN: new class
- DRAW-BORDERED-POLYGON: new function
- SCROLL-BAR, SCROLL-BAR-GADGET
  Spend more Motif-ish scroll bars.

Revision 1.42 - (view) (annotate) - [select for diffs]
Wed Nov 14 22:25:51 2001 UTC (12 years, 5 months ago) by mikemac
Branch: MAIN
Changes since 1.41: +1 -0 lines
Diff to previous 1.41
updated copyright dates for me

Revision 1.41 - (view) (annotate) - [select for diffs]
Tue Nov 13 18:40:46 2001 UTC (12 years, 5 months ago) by mikemac
Branch: MAIN
Changes since 1.40: +27 -12 lines
Diff to previous 1.40
more scrollbar work

Revision 1.40 - (view) (annotate) - [select for diffs]
Mon Nov 12 22:16:01 2001 UTC (12 years, 5 months ago) by mikemac
Branch: MAIN
Changes since 1.39: +109 -19 lines
Diff to previous 1.39
beautifying the scroll-bar-pane

Revision 1.39 - (view) (annotate) - [select for diffs]
Sat Sep 15 08:31:45 2001 UTC (12 years, 7 months ago) by strandh
Branch: MAIN
Changes since 1.38: +1 -1 lines
Diff to previous 1.38
Made all gadgets have a permanent medium to decrease X traffic.

Revision 1.38 - (view) (annotate) - [select for diffs]
Tue Sep 11 12:35:39 2001 UTC (12 years, 7 months ago) by rouanet
Branch: MAIN
Changes since 1.37: +0 -3 lines
Diff to previous 1.37
Suppressed the method allocate-space on scroll-bar-pane.  This method
was useless, and used the former set-width-and-height function, thus
provoking an error.

Revision 1.37 - (view) (annotate) - [select for diffs]
Thu Aug 30 11:16:49 2001 UTC (12 years, 7 months ago) by rouanet
Branch: MAIN
Changes since 1.36: +1 -1 lines
Diff to previous 1.36
Suppressed the medium argument in the handle-repaint method.  It has
been removed in the new spec version, and wasn't used in the code
anyway.

Added the new basic-sheet class, and changed a few things in the code
accordingly.

Modified the definition of some functions, and added new ones, namely :
  map-over-sheets
  map-over-sheets-containing-position
  map-over-sheets-overlapping-region
  move-sheet
  resize-sheet
  move-and-resize-sheet

Moved the repaint protocol code in a stand-alone file, because it need
to have access to window-repaint-event defined in the events code.

Revision 1.36 - (view) (annotate) - [select for diffs]
Mon Aug 27 17:17:11 2001 UTC (12 years, 7 months ago) by rouanet
Branch: MAIN
Changes since 1.35: +14 -3 lines
Diff to previous 1.35
- Added the :decimal-places initarg in slider-pane.

- Modified the clim-fig example to use it.

Revision 1.35 - (view) (annotate) - [select for diffs]
Fri Aug 24 11:44:31 2001 UTC (12 years, 7 months ago) by rouanet
Branch: MAIN
Changes since 1.34: +0 -1 lines
Diff to previous 1.34
Removed the (window-clear pane) call on text-field-pane, which caused
the calculator example to crash.

Actually, window-clear is only defined on clim-stream-pane, ie panes
with an output-history.

Revision 1.34 - (view) (annotate) - [select for diffs]
Thu Aug 23 23:18:11 2001 UTC (12 years, 7 months ago) by rouanet
Branch: MAIN
Changes since 1.33: +1 -1 lines
Diff to previous 1.33
The former mirrored-sheet class is now mirrored-sheet-mixin.
Changed the name in the existing code and made the necessary
adaptations.

Renamed the unrealize-mirror function, which was previously only
used internally by CLIM, but is now publicly advertised in the spec
as destroy-mirror.

Revision 1.33 - (view) (annotate) - [select for diffs]
Thu Aug 9 16:45:05 2001 UTC (12 years, 8 months ago) by rouanet
Branch: MAIN
Changes since 1.32: +1 -5 lines
Diff to previous 1.32
The mixin classes:
  - standard-repaint-mixin,
  - immediate-repaint-mixin, and
  - mute-repaint-mixin
should actually be named (according to the new version of the Spec):
  - standard-repainting-mixin,
  - immediate-repainting-mixin and
  - sheet-mute-repainting-mixin.

Revision 1.32 - (view) (annotate) - [select for diffs]
Thu Aug 9 09:37:32 2001 UTC (12 years, 8 months ago) by leto
Branch: MAIN
Changes since 1.31: +104 -46 lines
Diff to previous 1.31
Implementation of scroll-bars based on a code made by Julien Bonifante.

Modifications of his code include:

- Modified the name of the scroll-bar's callbacks from "drag" to
"scroll", according to the new Spec.
- Simplified the slots of SCROLL-BAR-PANE, using the inherited slots.
- Added HANDLE-EVENT functions to control the scrolling.

Modifications of panes.lisp:

- Modified the creation of scroll-bars in a scrolling environment.
- Modified the scrolling functions and clim-stream-pane functions.

Revision 1.31 - (view) (annotate) - [select for diffs]
Wed Jul 25 12:06:27 2001 UTC (12 years, 8 months ago) by boninfan
Branch: MAIN
Changes since 1.30: +6 -6 lines
Diff to previous 1.30
Added the macro with-special-choices. Its purpose is to add backend dependant drawing optimizations in repaint protocol.
For example, with CLX, it adds the double-buffering thanks to pixmaps by calling the macro with-double-buffering.
Julien.

Revision 1.30 - (view) (annotate) - [select for diffs]
Mon Jul 23 10:45:33 2001 UTC (12 years, 8 months ago) by boninfan
Branch: MAIN
Changes since 1.29: +1 -1 lines
Diff to previous 1.29
Minor bug about initialize-instance :before for menu-button-pane fixed.
Julien

Revision 1.29 - (view) (annotate) - [select for diffs]
Wed Jul 18 05:56:10 2001 UTC (12 years, 9 months ago) by adejneka
Branch: MAIN
Changes since 1.28: +3 -0 lines
Diff to previous 1.28
* WITH-OUTPUT-AS-GADGET: if STREAM is T, use *STANDARD-OUTPUT*

Revision 1.28 - (view) (annotate) - [select for diffs]
Mon Jul 9 17:37:17 2001 UTC (12 years, 9 months ago) by boninfan
Branch: MAIN
Changes since 1.27: +88 -39 lines
Diff to previous 1.27
Added the possibility to have horizontal sliders.
Julien

Revision 1.27 - (view) (annotate) - [select for diffs]
Mon Jul 9 15:39:10 2001 UTC (12 years, 9 months ago) by boninfan
Branch: MAIN
Changes since 1.26: +42 -28 lines
Diff to previous 1.26
Make the slider-pane looking better.

Revision 1.26 - (view) (annotate) - [select for diffs]
Fri Jun 22 11:04:43 2001 UTC (12 years, 9 months ago) by boninfan
Branch: MAIN
Changes since 1.25: +6 -0 lines
Diff to previous 1.25
Minor bug for toggle-button fixed.

Revision 1.25 - (view) (annotate) - [select for diffs]
Mon Jun 18 12:44:42 2001 UTC (12 years, 10 months ago) by boninfan
Branch: MAIN
Changes since 1.24: +90 -74 lines
Diff to previous 1.24
Added image as label for gadgets, fixed minor bugs with push-button and toggle-button, added orientation notion for slider-pane, and finally added the use of align-x, align-y and label-text-style of labelled-gadget

Revision 1.24 - (view) (annotate) - [select for diffs]
Thu May 3 10:09:37 2001 UTC (12 years, 11 months ago) by boninfan
Branch: MAIN
Changes since 1.23: +10 -5 lines
Diff to previous 1.23
Changes with gadget-color-mixin and examples adaptation

Revision 1.23 - (view) (annotate) - [select for diffs]
Thu May 3 09:45:52 2001 UTC (12 years, 11 months ago) by boninfan
Branch: MAIN
Changes since 1.22: +69 -65 lines
Diff to previous 1.22
Method of double-buffering added thanks to pixmaps

Revision 1.22 - (view) (annotate) - [select for diffs]
Thu May 3 07:48:36 2001 UTC (12 years, 11 months ago) by boninfan
Branch: MAIN
Changes since 1.21: +43 -23 lines
Diff to previous 1.21
slider-pane with horizontal orientation added

Revision 1.21 - (view) (annotate) - [select for diffs]
Wed Apr 11 08:37:15 2001 UTC (13 years ago) by cvs
Branch: MAIN
Changes since 1.20: +53 -10 lines
Diff to previous 1.20
Radio-box fixed and finished - Creation of the client-warning protocol

Revision 1.20 - (view) (annotate) - [select for diffs]
Mon Mar 19 18:58:18 2001 UTC (13 years, 1 month ago) by hatchond
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19
Sorry for beeing cvs and not hatchond but I forgot to update my login script.
After the compose and allocate protocols minor modifications have been done in the gadgets for beeing complients.

Revision 1.19 - (view) (annotate) - [select for diffs]
Wed Feb 7 16:15:41 2001 UTC (13 years, 2 months ago) by cvs
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18
bug about pointer-enter et pointer-motion fixed

Revision 1.18 - (view) (annotate) - [select for diffs]
Thu Feb 1 14:51:32 2001 UTC (13 years, 2 months ago) by cvs
Branch: MAIN
Changes since 1.17: +11 -5 lines
Diff to previous 1.17
fixed bug in the slider-pane about the armed slot and the handle-event with pointer-exit-event

Revision 1.17 - (view) (annotate) - [select for diffs]
Sat Jan 20 22:34:39 2001 UTC (13 years, 3 months ago) by cvs
Branch: MAIN
Changes since 1.16: +0 -2 lines
Diff to previous 1.16
bug fixes by Paul Werkowski

Revision 1.16 - (view) (annotate) - [select for diffs]
Sat Dec 16 14:12:17 2000 UTC (13 years, 4 months ago) by cvs
Branch: MAIN
Changes since 1.15: +33 -12 lines
Diff to previous 1.15
Added new method for compose-space on labelled-gadget to use space
needed by label.

Replaces subclass ordering of push-button, toggle-button, menu-button,
slider-gadget, so that labelled-gadget-mixin is first, giving a
default method for compose-space.

Added method for compose-space on text-field-pane.

Replaced method for compute-space on text-editor-pane by method for
compose-space.

Revision 1.15 - (view) (annotate) - [select for diffs]
Mon Dec 11 09:08:07 2000 UTC (13 years, 4 months ago) by cvs
Branch: MAIN
Changes since 1.14: +1 -2 lines
Diff to previous 1.14
Removed slot `destroyed' from menu buttons, since it is no longer needed.

Revision 1.14 - (view) (annotate) - [select for diffs]
Fri Dec 8 17:17:19 2000 UTC (13 years, 4 months ago) by cvs
Branch: MAIN
Changes since 1.13: +70 -12 lines
Diff to previous 1.13
removed scrollbar-pane and added scroll-bar-pane

Revision 1.13 - (view) (annotate) - [select for diffs]
Mon Dec 4 14:56:26 2000 UTC (13 years, 4 months ago) by cvs
Branch: MAIN
Changes since 1.12: +3 -1 lines
Diff to previous 1.12
Added slot `destroyed' to menu-button class.  X11 generates pointer-exit
events after unmap events, so need to detect that menu-button is actually
destroyed before acting on pointer-exit event.

Revision 1.12 - (view) (annotate) - [select for diffs]
Tue Nov 28 15:32:14 2000 UTC (13 years, 4 months ago) by cvs
Branch: MAIN
Changes since 1.11: +1 -3 lines
Diff to previous 1.11
Removed multiple definition of generic function drag-callback.  Also
changed the name of its generic argument to `pane'.

Revision 1.11 - (view) (annotate) - [select for diffs]
Wed Nov 22 09:10:59 2000 UTC (13 years, 4 months ago) by cvs
Branch: MAIN
Changes since 1.10: +28 -66 lines
Diff to previous 1.10
Changed repaint functions to assume region of gadget to have its
upper left corner at coordinate (0,0).  Before, layout panes did not
make sure that was the case.  This has now been fixed.

Removed unused and misplaced definitions of clx-specific classes.

Temporarily removed event handling for menu buttons.  A new version will
soon be provided that works well with menu bars and menus in general.

Revision 1.10 - (view) (annotate) - [select for diffs]
Fri Sep 1 12:18:47 2000 UTC (13 years, 7 months ago) by cvs
Branch: MAIN
Changes since 1.9: +134 -70 lines
Diff to previous 1.9
Removed slot accessors of slots visible only internally.

Improved drawing of gadgets.

Altered inheritance so that gadgets are no longer clim-stream-panes.

Merged mulitple setfs into one.

Factored calls to dispatch-repaint.

Improved support for slider panes (handle-event).

Revision 1.9 - (view) (annotate) - [select for diffs]
Tue Aug 29 13:01:08 2000 UTC (13 years, 7 months ago) by cvs
Branch: MAIN
Changes since 1.8: +0 -2 lines
Diff to previous 1.8
Removed duplicated delcaration of defgeneric drag-callback.

Revision 1.8 - (view) (annotate) - [select for diffs]
Tue Aug 29 12:35:05 2000 UTC (13 years, 7 months ago) by cvs
Branch: MAIN
Changes since 1.7: +15 -1 lines
Diff to previous 1.7
Added code to handle repaint and to set gadget value of text-field-pane.

Revision 1.7 - (view) (annotate) - [select for diffs]
Sun Aug 27 15:52:11 2000 UTC (13 years, 7 months ago) by cvs
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6
Error in with-radio-box corrected

Revision 1.6 - (view) (annotate) - [select for diffs]
Thu Aug 24 14:55:17 2000 UTC (13 years, 7 months ago) by cvs
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5
Altered default gray values in gadgets to resemble those of GTK.

Revision 1.5 - (view) (annotate) - [select for diffs]
Thu Aug 24 12:38:06 2000 UTC (13 years, 7 months ago) by cvs
Branch: MAIN
Changes since 1.4: +1 -2 lines
Diff to previous 1.4
Improved color management.

Revision 1.4 - (view) (annotate) - [select for diffs]
Thu Aug 24 10:39:26 2000 UTC (13 years, 7 months ago) by cvs
Branch: MAIN
Changes since 1.3: +70 -79 lines
Diff to previous 1.3
Fixed drawing of push-button gadget.

Revision 1.3 - (view) (annotate) - [select for diffs]
Thu Aug 24 09:39:32 2000 UTC (13 years, 7 months ago) by cvs
Branch: MAIN
Changes since 1.2: +1 -3 lines
Diff to previous 1.2
Fixed lambda list in macro with-radio-box.

Revision 1.2 - (view) (annotate) - [select for diffs]
Tue Aug 22 10:41:11 2000 UTC (13 years, 7 months ago) by cvs
Branch: MAIN
Changes since 1.1: +656 -237 lines
Diff to previous 1.1
Added many more gadgets.

Added repaint protocol.

Revision 1.1 - (view) (annotate) - [select for diffs]
Mon Jun 19 02:32:38 2000 UTC (13 years, 10 months ago) by cvs
Branch: MAIN
check in Arthur Lemmens' <lemmens@simplex.nl> gadget code

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.5