Commit Graph

149 Commits

Author SHA1 Message Date
Matthew Flatt
37f9363b90 win32: another try for horizontal wheel events 2011-04-03 16:09:11 -06:00
Matthew Flatt
342964b10a win32: ignore inapplicable WM_HSCROLL and WM_VSCROLL events 2011-04-03 15:17:10 -06:00
Matthew Flatt
b0115ee360 add 'wheel-left and 'wheel-right events 2011-04-03 09:49:56 -06:00
Matthew Flatt
4e72817688 win32: clipboard fix 2011-03-27 11:22:15 -06:00
Matthew Flatt
d77c92d087 fix support for a string result from get-data' of clipboard-client%'
and properly report an error when the result from `get-data' is not
  allowed
 Closes PR 11821
2011-03-27 10:51:46 -06:00
Matthew Flatt
968bf81990 win32: fix `play-sound'
by fixing path handling and preventing non-async
 play from blocking all Racket threads
2011-03-10 07:35:51 -07:00
Matthew Flatt
93e1467b8b racket/gui: scrollbar support panels 2011-02-24 13:23:51 -07:00
Matthew Flatt
137d96c089 multi-column support in list-box% 2011-02-21 13:58:57 -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
5754269ae1 win32: fix some key events
Closes PR 11757
2011-02-19 08:36:17 -07:00
Matthew Flatt
ce82c74b75 win32: fix ALT-space to pop up system menu
Closes PR 11754
2011-02-19 06:39:33 -07:00
Matthew Flatt
6b1112a9ad win32: fix parent HWND of canvas%
Merge to 5.1
2011-02-09 12:26:50 -07:00
Matthew Flatt
f4a881f0e3 fix `set-icon' in frame% to make mask argument optional
Merge to 5.1
2011-02-09 09:01:34 -07:00
Matthew Flatt
8f404a4618 win32: fix horizontal `radio-box%'
Merge to 5.1
2011-02-04 09:20:49 -07:00
David Van Horn
c9519fd113 Fixed various spelling errors. 2011-02-03 17:42:33 -05:00
Matthew Flatt
d34deeba91 win32: fix printing bug related to clipping 2011-01-27 12:26:23 -07:00
Matthew Flatt
69859850f3 finish implementing display of menu shortcuts
that involve non-chars shortcuts and alternate prefixes
2011-01-22 10:15:14 -07:00
Matthew Flatt
b112fd76df add reparent' to subwindow<%>' 2011-01-21 20:21:21 -07:00
Matthew Flatt
8228ce92cf win32: fix canvas-refresh problem when a canvas is shown
and when it has been drawn onto outside of `on-paint';
 also, try to prep the content of all canvases within a
 top-level window before the window is shown (as on other
 platforms)
2011-01-21 09:09:05 -07:00
Matthew Flatt
4529fbe5e6 win32: fix dialog centering 2011-01-20 16:47:14 -07:00
Matthew Flatt
676066f103 win32: printing page size 2011-01-19 06:32:29 -07:00
Matthew Flatt
d1dc1303c2 win32: allow GetCursorPos to fail
in case the current desktop isn't the input desktop
2011-01-15 16:46:35 -07:00
Matthew Flatt
a9dd80110a restore doc & page checking for `post-script-dc%' et al.
and also fix up wiring of `printer-dc%' in `editor<%>' so
 that `is-a?' tests works as expected
2011-01-14 20:30:51 -07:00
Matthew Flatt
f69e89c023 win32: connect print dialog to given parent (if any)
which causes a different style dialog to be used
2011-01-14 18:54:02 -07:00
Matthew Flatt
06e5d7d6c8 fix problem with mm printer measurements 2011-01-14 15:51:41 -07:00
Matthew Flatt
0d36dbefb8 win32: adjust printing-dc% scale to simulate screen DPI
This is questionable; it might be better to set up a printing
 context with 72 DPI and adjust the resolution of the Pango
 font map associated with the DC to be 72 DPI; matching the
 screen is easier, and it provides the benefit that font metrics
 (based on fonts with point sizes rather than pixel sizes) are
 consistent across drawing contexts
2011-01-13 20:08:57 -07:00
Matthew Flatt
559f756374 win32: tell Cairo when drawing to a printing context 2011-01-13 20:08:56 -07:00
Matthew Flatt
4f292a95c5 win64: fix PrintDlg alignment 2011-01-13 20:08:55 -07:00
Matthew Flatt
e9a4650f09 win32: don't handle frame non-content mouse events 2011-01-12 07:46:55 -07:00
Matthew Flatt
1ce430faf7 win32: handle control font failure 2011-01-11 19:47:15 -07:00
Matthew Flatt
6defe0ea09 win32: fix screen-glyph reporting for label mode
because XP doesn't substitute fonts in control labels
2011-01-11 19:47:04 -07:00
Matthew Flatt
68e647ae91 win32: no multisample for offscreen gl
because it interferes with multisample setup for
 canvases and seems unlikely to be supported or useful
2011-01-11 14:35:54 -07:00
Matthew Flatt
640fa15d32 win32: support gl multisampling 2011-01-11 13:13:19 -07:00
Matthew Flatt
afdfafa66a win32: let default handlers see WM_MOUSELEAVE
This fixes a problem where mousing over a button
 in Win7 leaves the button blue instead of fading
 back to normal color
2011-01-10 17:16:50 -07:00
Matthew Flatt
4c05bb48f1 win32: mouse-leave events when mouse leaves the frame 2011-01-10 12:26:23 -07:00
Matthew Flatt
f1e13a7921 modial dialog don't disable mouse motion, enter, and leave events
Closes PR 11599

 This is an API change relative to gr1, but it seems sensible,
 and it makes enter and leave events more reliable and easier
 to implement.
2011-01-10 07:53:03 -07:00
Matthew Flatt
81cbf1ae1f add get-client-handle' to window<%>' 2011-01-05 12:15:37 -07:00
Matthew Flatt
adfa67206d win32: on-size fix 2011-01-05 10:38:06 -07:00
Matthew Flatt
ae5093a134 more consistent on-size' and on-move' 2011-01-05 10:00:07 -07:00
Matthew Flatt
d2f16ee36e win32: fix canvas flicker 2011-01-04 13:30:30 -07:00
Matthew Flatt
19b1df6586 win32: fix bitmap+string labels for XP 2011-01-01 14:17:31 -07:00
Matthew Flatt
18ca91dc97 win32: make bitmap+string label look right in Win7 2011-01-01 13:54:45 -07:00
Matthew Flatt
a6e04695bb win32: bitmap+string button labels 2011-01-01 13:54:45 -07:00
Matthew Flatt
a916f1af42 win32: fix problem with bitmap labels
related to PR 11566
2011-01-01 11:33:53 -07:00
Matthew Flatt
71223e6175 win32: survive theme-access failure 2011-01-01 08:22:17 -07:00
Matthew Flatt
c7977441e4 win32: fix problem with focus directly on a frame 2010-12-31 08:31:36 -07:00
Matthew Flatt
eddae6749d clean up handling of not-ok?', bitmap-dc%'-selected, and mutated bitmaps 2010-12-30 08:35:56 -07:00
Matthew Flatt
b701d309f1 win32: fix EndPaint to avoid GDI leak 2010-12-28 06:21:58 -07:00
Matthew Flatt
7b5d948d33 win32: fix `focus' return value 2010-12-28 05:30:58 -07:00
Matthew Flatt
68e477fd52 implement get-focus-window' and get-edit-target-window' in back end to avoid relying on `on-focus' callback handling 2010-12-28 05:25:26 -07:00