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
Matthew Flatt
0ef5a01c9b
win32: minor repair to single-instance check
2010-12-26 09:35:22 -07:00
Robby Findler
8903de5a12
inserted a coercion string->path
...
(there is one on the line above so this is probably the right thing)
closes PR 11563
2010-12-24 15:58:21 -06:00
Matthew Flatt
78b2e47541
fix more try-atomic problems
2010-12-21 18:45:36 -07:00
Matthew Flatt
b07f57fc73
fix problems with canvas refresh, especially win32
2010-12-17 14:43:14 -07:00
Matthew Flatt
0c4d2e332c
fix transparent-canvas detection
2010-12-17 10:46:06 -07:00
Matthew Flatt
fc4165ec40
win32: fix transparent-canvas support
2010-12-17 09:33:11 -07:00
Matthew Flatt
f700a15d85
specially record transparent-canvas drawing for a small number of drawing ops
...
which enables background-sensitive smoothing of text
2010-12-17 09:27:10 -07:00
Matthew Flatt
7571579ce5
win32: combo-field% on-popup
2010-12-16 10:48:29 -07:00
Matthew Flatt
f557707764
fix tab-panel% callback
...
Closes PR 11537
2010-12-13 20:38:44 -07:00
Matthew Flatt
aa43ba40c7
win64: HIWORD and LOWORD signs
2010-12-12 08:47:38 -07:00
Matthew Flatt
acdd76b17e
win32: show #t brings shown frame to front
...
Closes PR 11533
2010-12-11 21:23:58 -07:00
Matthew Flatt
c7b4e5f134
win32: fix alternate-key lookup
...
Closes PR 11527
2010-12-11 07:50:49 -07:00
Matthew Flatt
a5c4863848
win32: avoid continued failure when painting fails
2010-12-11 06:16:40 -07:00
Matthew Flatt
b2444e2105
win32: sync display on event
2010-12-10 18:52:12 -07:00
Matthew Flatt
cadc128994
win32: mouse-wheel events
...
Closes PR 11520
2010-12-09 21:06:15 -07:00
Matthew Flatt
e929f62d11
win32: fix alt vs. meta; fix alt-<char> menu dropdown
2010-12-09 18:05:51 -07:00
Matthew Flatt
3aad886019
win32: fix key-release events
2010-12-09 17:43:37 -07:00
Matthew Flatt
b16f8fb16a
win32: fix delete key
...
Closes PR 11519
2010-12-09 17:38:41 -07:00
Matthew Flatt
518cff7b63
win32: fix alt-combination handling
2010-12-09 15:18:57 -07:00
Robby Findler
0a313888c4
added missing require (as suggested by Matthew) so now pasting works.
2010-12-07 07:05:54 -06:00
Robby Findler
39008f2130
on second thought, maybe this is the right last argument
2010-12-06 19:33:46 -06:00
Robby Findler
f818aa56bf
patch so that the alt key does not crash drracket (windows)
2010-12-06 19:31:36 -06:00
Matthew Flatt
fd79abcc1f
win32: fix setwindowlongptr binding for 32-bit mode
2010-12-06 12:40:10 -07:00
Matthew Flatt
6d1db909c4
win64: fix GetWindowLong to use Ptr variant
2010-12-04 17:38:47 -07:00
Matthew Flatt
a56e547db6
win64: racket/draw and racket/gui
2010-12-04 08:29:34 -07:00
Matthew Flatt
b0a746c701
win32: fix font used to size controls
2010-12-02 07:04:38 -07:00
Matthew Flatt
1f61bbdc51
win32: frame size and iconize fixes
2010-11-26 08:10:58 -07:00
Matthew Flatt
d2fe39da33
win32: canvas refresh repair
2010-11-13 09:54:47 -07:00
Matthew Flatt
e402d68efc
fix `find-graphical-system-path'
2010-11-07 07:08:33 -07:00
Matthew Flatt
f935266257
win32: fix combo% on-popup
2010-11-05 15:54:56 -06:00
Matthew Flatt
39596efef5
cocoa and gtk: fix combo% `on-popup' method
2010-11-05 15:54:56 -06:00
Matthew Flatt
9f42fa0e6f
win32: fix flush duplocate def
2010-11-05 15:54:55 -06:00
Matthew Flatt
b9f3957a76
gtk and cocoa: add flush method to canvas% and fix periodic flush
2010-11-05 15:54:55 -06:00
Matthew Flatt
64d9a391cf
win32: fix flush and periodic canvas flush
2010-11-05 15:54:55 -06:00
Matthew Flatt
4d316f7851
win32: periodic canvas flushing
2010-11-05 15:54:55 -06:00
Matthew Flatt
72a19d2ab3
gtk: periodic canvas flushing
2010-11-05 15:54:54 -06:00
Matthew Flatt
9fbb7d3a99
win32: fix some test failures
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
f829424783
win32: further deallocation fixes, plus some test fixes
2010-11-05 15:54:54 -06:00
Matthew Flatt
ad9315ba6b
win32: further deallocation fixes, plus some test fixes
2010-11-05 15:54:54 -06:00
Matthew Flatt
daf7f6dd17
win32: change HWND allocation and deallocation
2010-11-05 15:54:54 -06:00
Matthew Flatt
af6cad4913
destroy windows via finalization outside of the event loop
2010-11-05 15:54:52 -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
003ba8439a
win32: paste bitmap
2010-11-05 15:54:44 -06:00
Matthew Flatt
df94c04823
win32: control font
2010-11-05 15:54:44 -06:00
Matthew Flatt
56f311d204
cocoa: bitmap from clipboard
2010-11-05 15:54:43 -06:00
Matthew Flatt
42dc870c10
gtk: use system preference for font
2010-11-05 15:54:43 -06:00
Matthew Flatt
3ae3d15d93
win32: iconize and refresh problems
2010-11-05 15:54:42 -06:00
Matthew Flatt
4360a45fa6
win32: single-instance support
2010-11-05 15:54:42 -06:00
Matthew Flatt
16b34c236a
gtk: misc fixes
2010-11-05 15:54:41 -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
9b19337c97
win32 memory-management repair
2010-11-05 15:54:40 -06:00
Matthew Flatt
090437c4d9
win32 repairs
2010-11-05 15:54:40 -06:00
Matthew Flatt
f4e74a8f43
win32: key and menu fixes, drop-files, location->window
2010-11-05 15:54:40 -06:00
Matthew Flatt
3d73a0bd78
win32: play-sound
2010-11-05 15:54:40 -06:00
Matthew Flatt
46ae5ff086
font-dialog clean up and cocoa: play-sound
2010-11-05 15:54:39 -06:00
Matthew Flatt
6b5c7e88a0
win32: color dialog
2010-11-05 15:54:39 -06:00
Matthew Flatt
18c99e52a5
cocoa & gtk: color dialog
2010-11-05 15:54:39 -06:00
Matthew Flatt
c996185ea5
win32: printer-dc%
2010-11-05 15:54:39 -06:00
Matthew Flatt
b98ba3e60b
win32: gl bitmaps
2010-11-05 15:54:39 -06:00
Matthew Flatt
0a47a81aba
`make-gl-bitmap' for cocoa and maybe gtk
2010-11-05 15:54:38 -06:00
Matthew Flatt
3d9f52a4d1
win32: fix gl canvas repaint
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
1a2ffacbbe
gtk: first cut at gl support
2010-11-05 15:54:37 -06:00
Matthew Flatt
7ffff49507
win32: file dialog
2010-11-05 15:54:37 -06:00
Matthew Flatt
fbc8d17413
win32: control callback fixes
2010-11-05 15:54:36 -06:00
Matthew Flatt
80ce36d30d
win32: set-label with bitmaps
2010-11-05 15:54:36 -06:00
Matthew Flatt
3f3d5f0f21
win32: memory management
2010-11-05 15:54:36 -06:00