Matthew Flatt
f93c94f6ff
add 'shift, 'control, 'rshift, and 'rcontrol events
2011-12-08 15:05:41 -07:00
Matthew Flatt
63f3a51ae6
win32: get default frame icon from application
...
Also, clean up icon- and cursor-loading code
2011-11-16 14:45:32 -07:00
Matthew Flatt
7ad81e7560
win32: enable live resize of frames
2011-11-15 12:44:26 -07:00
Matthew Flatt
2d70017091
win32: avoid line-wrap in `meesage%' display
...
Also, adjust text measuring to ensure that it is as close
as possible to measurements for a control.
2011-11-08 06:55:40 -07:00
Matthew Flatt
3941a5d04f
cocoa: make grow-box-spacer zero-width for 10.7
2011-10-04 12:59:18 -06:00
Matthew Flatt
4535f5d8cc
fix keyboard navigation (all platforms)
...
Also, fix `set-selection' in `list-box%' to not invoke the
tab panel's callback function (cocoa & gtk).
2011-09-30 13:44:24 -06:00
Matthew Flatt
2bd461de50
win32: fix `get-file-list' with a single file result
2011-09-10 14:56:53 -06:00
Matthew Flatt
ce4705cedc
get-diplay-size' and
get-display-left-top-inset' use #f for failure
...
Since the number of monitors can change at any time, reliable
use of these functions requires handling failure in some way.
Handling #f results is easier (and less likely to mask other
problems) than catching exceptions.
2011-09-09 17:03:17 -06:00
Matthew Flatt
f5e534fd87
win32: fix canvas refresh
...
Refresh was wrong in the case that a canvas had been "reset"
in certain ways, such as showing and hiding, and the canvas is
drawn on before a Win32-level refresh event was processed. In
that case `on-paint' wasn't called, and it should have been.
Closes PR 12152
2011-09-02 08:27:49 -06:00
Matthew Flatt
461af202c5
implement 'border style for `panel%'
2011-08-13 07:00:51 -06:00
Matthew Flatt
456e9befd3
fix refresh' on
window<%>'s other than `canvas%'s
2011-08-12 17:03:28 -06:00
Matthew Flatt
8711aa6c5d
work around win64 drawing problem
...
Merge to 5.1.2
2011-07-22 07:51:01 -06:00
Matthew Flatt
255549c8c8
win32: fix is-maximized' in
frame%'
...
Merge to 5.1.2
2011-07-19 08:55:33 -06:00
Matthew Flatt
23a2a075ea
add get-display-count' and #:screen argument to
get-display-size'
...
and to `get-display-left-top-inset'
add -M <monitor> option to Slideshow
2011-07-18 20:15:15 -06:00
Eli Barzilay
3157955d40
".ss" -> ".rkt" scan done.
2011-07-02 10:37:53 -04:00
Matthew Flatt
59731368fc
add ffi/winapi; use it in mzlib/os
...
Closes PR 12007
2011-07-01 10:42:17 -06:00
Matthew Flatt
6f42c6ed5e
win32: fix checkable menu item to toggle on selection
...
Closes PR 11985
2011-06-17 16:02:49 -06:00
Matthew Flatt
cae005a6a2
win32: fix window-enabling problems
...
Closes PR 11769
2011-04-14 14:50:44 -06:00
Matthew Flatt
aabd5f7bd2
gtk: fix over-eager attempt at alt- menu activation
...
Closes PR 11843
2011-04-11 07:39:40 -06:00
Matthew Flatt
71df6ddc05
gtk, cocoa: fix auto-sizing of text `message%'s
2011-04-08 14:22:17 -06:00
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