Commit Graph

60 Commits

Author SHA1 Message Date
Matthew Flatt
93e1467b8b racket/gui: scrollbar support panels 2011-02-24 13:23:51 -07:00
Matthew Flatt
85951bf665 gtk: smoother editor-canvas resize
- call `on-size' on setting the canvas size, like Win32 and Cocoa,
   which mainly shows/hides auto-shown scrollbars more on time
   (e.g., DrRacket doesn't start with horizontal scrollbars that
   immediately disappear)
 - switch mouse tracking to "hint" mode, instead of catching every
   single mouse position
 - when queueing `on-size' methos in response to client-size changes,
   cancel and queued but undelivered calls; in the case of editor
   canvases, this doesn't really have an effect, due to the other
   `on-size' call
 Closes PR 11369, hopefully
2011-02-19 16:10:00 -07:00
Matthew Flatt
8cbc701671 cocoa: fix problems with live-resize
that were created by the queue-sync change
2011-01-26 12:57:01 -07:00
Matthew Flatt
ae5093a134 more consistent on-size' and on-move' 2011-01-05 10:00:07 -07:00
Matthew Flatt
a3adf07fd2 clean up pre-drawing of canvases for a frame to show 2010-12-24 20:09:16 -06:00
Matthew Flatt
975c2400a1 cocoa: fix interaction of combo-field% popup and canvas refresh
and also reduce work on redundant show/hide of canvas
 Closes PR 11557
2010-12-19 18:58:27 -07:00
Matthew Flatt
0c4d2e332c fix transparent-canvas detection 2010-12-17 10:46:06 -07:00
Matthew Flatt
c9e778c541 cocoa and gtk: make combo-field% `on-popup' work better 2010-12-16 10:48:28 -07:00
Matthew Flatt
37d16cf8f8 cocoa: fix race condition on window enabling 2010-11-30 09:32:58 -07:00
Matthew Flatt
262531e231 cocoa: fix enable & disable of windows 2010-11-28 08:01:06 -07:00
Matthew Flatt
510c3f8a33 cocoa: try to fix problem with drifting gc-blit window 2010-11-23 10:02:45 -07:00
Matthew Flatt
1c6f745ac1 adjust canvas refresh strategy yet again
- there seems to be no need to auto-resume flushes on a canvas,
   which can create flicker if the auto-resume timeout turns out
   to be too short
2010-11-12 20:39:58 -07:00
Matthew Flatt
53febbeb6c cocoa: fix a double vs. float mismatch in getting scroll positions 2010-11-06 21:22:52 -06:00
Matthew Flatt
39596efef5 cocoa and gtk: fix combo% `on-popup' method 2010-11-05 15:54:56 -06:00
Matthew Flatt
72a19d2ab3 gtk: periodic canvas flushing 2010-11-05 15:54:54 -06:00
Matthew Flatt
e033d9edf1 cocoa & gtk: fix some test failures 2010-11-05 15:54:54 -06:00
Matthew Flatt
d7f1d12ea1 clean up 2010-11-05 15:54:49 -06:00
Matthew Flatt
4f2e59e7a6 some fixes prompted by the test suite 2010-11-05 15:54:48 -06:00
Matthew Flatt
2cebc60eca ppc cocoa 2010-11-05 15:54:45 -06:00
Matthew Flatt
27f18efa88 gtk: make gl support optional and also clean up some unneeded unimplementeds 2010-11-05 15:54:41 -06:00
Matthew Flatt
0a47a81aba `make-gl-bitmap' for cocoa and maybe gtk 2010-11-05 15:54:38 -06:00
Matthew Flatt
b9e6ffe18c win32: canvas gl, almost 2010-11-05 15:54:38 -06:00
Matthew Flatt
1bddb120f9 cocoa: opengl canvases 2010-11-05 15:54:37 -06:00
Matthew Flatt
5dd568050b move collecting-blit helper to common code 2010-11-05 15:54:35 -06:00
Matthew Flatt
682355def4 move gtk+cocoa canvas autoscroll support to common mixin 2010-11-05 15:54:34 -06:00
Matthew Flatt
631f0a6e34 cocoa: control-border in canvas% 2010-11-05 15:54:33 -06:00
Matthew Flatt
f40e7edae8 unify cocoa & gtk canvas-painting implementation 2010-11-05 15:54:27 -06:00
Matthew Flatt
51aacfe949 add make-screen-bitmap and canvas% make-bitmap; specialize for X11 2010-11-05 15:54:26 -06:00
Matthew Flatt
af499e3039 fix focus and frame-modified problems 2010-11-05 15:54:25 -06:00
Matthew Flatt
e72cf85175 toward better refresh for gtk & other bug fixes 2010-11-05 15:54:23 -06:00
Matthew Flatt
0691f0491e collecting-blit for cocoa 2010-11-05 15:54:23 -06:00
Matthew Flatt
748115fe91 still again yet another refinement to cocoa refresh 2010-11-05 15:54:22 -06:00
Matthew Flatt
6d8bb2cab4 fix yet another refresh problem 2010-11-05 15:54:22 -06:00
Matthew Flatt
0e64be35b7 fix text-drawing performance 2010-11-05 15:54:21 -06:00
Matthew Flatt
f13b569b75 more attempts to avoid flicker 2010-11-05 15:54:21 -06:00
Matthew Flatt
f1e2db412f new queue level for refresh events 2010-11-05 15:54:20 -06:00
Matthew Flatt
31e46eb8b3 more cocoa refresh refinements 2010-11-05 15:54:20 -06:00
Matthew Flatt
8ed2fba67d fix various cocoa problems 2010-11-05 15:54:20 -06:00
Matthew Flatt
15a7a2a006 cocoa tab-panel in no-border mode uses PSMTabBarControl 2010-11-05 15:54:17 -06:00
Matthew Flatt
40c1c2ffef cocoa cursors 2010-11-05 15:54:16 -06:00
Matthew Flatt
0114b7a4a5 misc repairs 2010-11-05 15:54:15 -06:00
Matthew Flatt
a9ffced9b8 clean up lock library and uses 2010-11-05 15:54:14 -06:00
Matthew Flatt
0a9bdc11ad make platform-to-wx links weak 2010-11-05 15:54:14 -06:00
Matthew Flatt
cc55bd7e93 restore auto-scroll canvases; fix text-rotation bug 2010-11-05 15:54:12 -06:00
Matthew Flatt
7a7658e86d new cocoa canvas-refresh strategy 2010-11-05 15:54:12 -06:00
Matthew Flatt
f716ae049a yet more cocoa canvas repairs 2010-11-05 15:54:11 -06:00
Matthew Flatt
dedba7a441 fix cocoa pref menu 2010-11-05 15:54:11 -06:00
Matthew Flatt
b69d4322af fix canvas dc size reporting 2010-11-05 15:54:10 -06:00
Matthew Flatt
c42d95216e auto-scroll canvases and frame status lines 2010-11-05 15:54:10 -06:00
Matthew Flatt
6cb07301c1 canvas scrollbars and borders 2010-11-05 15:54:10 -06:00