Commit Graph

3986 Commits

Author SHA1 Message Date
Robby Findler
bdf79e7179 fix the use of draw-caret in 2htdp/image
original commit: dd9e8c530bb24f4d594c54060f61eb83fb3e401c
2011-01-03 20:54:07 -06:00
Matthew Flatt
8294ffe8d4 fix dimensions of cached image bitmap
original commit: cf344b9926edda82906d692b9bed0421c82abb7d
2011-01-03 19:13:56 -07:00
Robby Findler
d428edc7ed make sure make-bitmap gets exacts as args
original commit: 30f9c4338f4ebbca7126f74e672cfcef3315fcd7
2011-01-03 19:56:37 -06:00
Robby Findler
ef0187721b cache drawing in 2htdp/image snip's draw method
original commit: ac52a63d4aaafcf2e44e489211c5f477c7924b10
2011-01-03 15:06:41 -06:00
Robby Findler
0e7717d366 2htdp/image: when selected, draw with some transparency so the selection is visible
original commit: d886df2acc543e44c7b6f4f4de92beed1710b069
2011-01-03 14:42:57 -06:00
John Clements
038d2db95a adopted a two-stage fallback for old pref name, per robby's suggestion
original commit: b713e43e1b3b1f02ab01488f7b01511ffa26e948
2011-01-03 07:52:48 -08:00
Matthew Flatt
62a573c5a7 adapt better to available drawing and GUI libraries on Unix variants
original commit: df2351f90fbf13d69622b4ab2d376db0a61e9ee0
2011-01-02 20:18:11 -07:00
John Clements
a8ff33af5e change pref name to match docs
original commit: 47e3db06ffe64ebb5521cf73c45eda439fd59d85
2011-01-02 14:45:14 -08:00
Robby Findler
1efce0f496 change drracket and framework so they don't rebind printf anymore
(instead binding oprintf to print to the original output port of drracket)

original commit: 7eb3e8c28aacd14c4422d96e2d9e79d6910261b0
2011-01-02 10:03:24 -06:00
Robby Findler
b22d6ba314 adjust check to only insist that, when there is an editor, is it the right kind of editor.
original commit: 465d5a9f758c7b87b9e621a0ebbedefddb746176
2011-01-02 10:03:21 -06:00
Robby Findler
e696606631 2htdp/image: added support for alpha as a mode? argument
original commit: 7716851cdea19f2bab410fc16938bf500066f7d0
2011-01-01 20:01:50 -06:00
Matthew Flatt
c43e3e0fc7 win32: fix bitmap+string labels for XP
original commit: 19b1df6586dad4fd05dadfc0b94a70aa90807a2c
2011-01-01 14:17:31 -07:00
Matthew Flatt
487562c7d6 win32: make bitmap+string label look right in Win7
original commit: 18ca91dc97eb6b1326fe1b92a923a25fdb883fa7
2011-01-01 13:54:45 -07:00
Matthew Flatt
c09dfaed9c win32: bitmap+string button labels
original commit: a6e04695bb88ece7fbafbad008b9c0d3a94399bd
2011-01-01 13:54:45 -07:00
Matthew Flatt
41b4df595f allow a button% to have both a string and a bitmap for its label
original commit: 241bb79cb0b671505e7d8811125d708d088d887c
2011-01-01 13:54:45 -07:00
Matthew Flatt
502677e5bb win32: fix problem with bitmap labels
related to PR 11566

original commit: a916f1af42ca6de02ac459da5614947473a72d44
2011-01-01 11:33:53 -07:00
Matthew Flatt
b512236105 win32: survive theme-access failure
original commit: 71223e617574a201104b4d2fd31b3ca16ee9cbbf
2011-01-01 08:22:17 -07:00
Matthew Flatt
7d55c0bef3 gtk: fix screen-bitmap depth selection and a spurious tab callback
original commit: 07c272df4ad8124349f5972e7d673bf8e0dcf86e
2010-08-12 23:35:40 -04:00
Jon Rafkind
2461f3d8b3 use padding instead of manually moving the origin
original commit: 11494ce8b9ac4ec55d86cfe4e264330d4d908a02
2010-12-31 19:29:34 -07:00
Matthew Flatt
cc937ffeda gtk: tolerate absence of a minor combo_box function
original commit: 15fa34b09191d05b0bcd79e7939fba12a63beba4
2010-08-12 19:52:37 -04:00
Matthew Flatt
7d9dc0ea1b fix problem with text% padding
original commit: 5809860dd331745ebe4fc59912226c34086572b3
2010-12-31 14:40:27 -07:00
Matthew Flatt
903ff063e2 fix platform-independent file dialog
original commit: 00124220bdd7c8b67579da50d03cda2c0fb9cfce
2010-12-31 09:41:30 -07:00
Robby Findler
92e830508d use pen's alpha color stuff in 2htdp/image
original commit: 830c797ee44e77f8a53477240979add83edebc17
2010-12-31 10:25:01 -06:00
Robby Findler
c4dd75a553 Rackety
original commit: 6f9bcf00015433a8a781ab832247deaaa7307869
2010-12-31 09:58:54 -06:00
Robby Findler
5007b385dd moved interactive panel test into its own file
original commit: 3dc5bbd0eb1dc23590e04112ad7c27776d73524b
2010-12-31 09:58:53 -06:00
Robby Findler
8cf124a6f3 fixed up panel:dragable so that it actually does the right thing now
adjusted the framework test suite so that it runs under windows
closes PR 10880

original commit: 900d74714e1b24b2bfbdcf13099a6d7dc5661dd5
2010-12-31 09:58:51 -06:00
Matthew Flatt
fbe5eb9909 win32: fix problem with focus directly on a frame
original commit: c7977441e4339b33f371b1230c36d5cf7ec9bc87
2010-12-31 08:31:36 -07:00
Robby Findler
0b4d7b371c framework: change status line so they never contribute to the minimum width of the frame
related to PR 10880

original commit: b2a297afafd3ff9e38c451e522cf54ed3c39e31e
2010-12-30 21:27:11 -06:00
Matthew Flatt
9321167529 win32: get roots on demand for file dialog
original commit: bfa2a57b01fae41884bea83ecca62b1f3722d303
2010-12-30 09:30:27 -07:00
Matthew Flatt
d83ad03114 clean up handling of not-ok?', bitmap-dc%'-selected, and mutated bitmaps
original commit: eddae6749d698d2ec039fe1d3fc8b6cfe1a70e39
2010-12-30 08:35:56 -07:00
Matthew Flatt
0e0139ebb4 add alpha value to `color%'
original commit: a974dad8bfb63679ac5af1fd819e7c7c67ee75e5
2010-12-30 07:05:25 -07:00
Matthew Flatt
792c8b222e add `set-padding' to text%
original commit: d3fd1ba013ed6b5d64815119e84b743600c2f311
2010-12-29 13:42:58 -07:00
Matthew Flatt
93a64e3ebf fix frame registration on show' when current-eventspace' is weird
(i.e., not the frame's eventspace)
 Closes PR 11573

original commit: ffd4193e32317f730b9dd064aa00df2ebc1cb75b
2010-12-29 07:45:49 -07:00
Matthew Flatt
bb8f88f28d clean up
original commit: 80e5c6cec3acb0f3fa1e26cf7418283124a1c03a
2010-12-28 20:15:30 -07:00
Matthew Flatt
d5d96c29ff retain eventspaces weakly
original commit: dc926925aa74bd9c564fdeccce88ae5e5c8c2520
2010-12-28 20:06:57 -07:00
Robby Findler
4fe47c78de 2htdp/image fix bitmap scaling to respect alpha channels
original commit: 1d89cfc9d7a236bb5c2f2516d71bc8eb204d7203
2010-12-28 19:08:11 -06:00
Robby Findler
6d348a2114 change the way scrolling works so that canvases that are 'primary-owner's are respected when calling scroll-to on an admin
This change may also affect other attempts to scroll, however, so watch for strange scrollings when multiple editor-canvaess are displaying the same text% object.
  closes PR 10853

original commit: 5eec85a5a259ce2c461f3fce2eed1f5a017cb8c5
2010-12-28 16:37:13 -06:00
Matthew Flatt
243761a92e gtk: combo-field% fixes
Closes PR 11569

original commit: 5ea0c93e0f8b26c9febcb49b274d39fd926306e0
2010-12-28 14:58:22 -07:00
Matthew Flatt
7d68b521f1 add show-without-yield' to dialog%'
original commit: 8ac21c745fb183ec35077b5870c1e11464f81bef
2010-12-28 10:52:17 -07:00
Matthew Flatt
10283eb477 adjust password dots again
original commit: 2e8f7716616a632d221ac1e19e352fc9594be0f6
2010-12-28 10:52:17 -07:00
Robby Findler
e53c285799 framework: sometimes put the text completion menu above the line instead of below it
closes PR 10829

original commit: 4e40efaf37fc3ce255e2f8e5760df54c75535ae6
2010-12-28 07:33:26 -06:00
Robby Findler
6f3d72755e Rackety
original commit: f849f25272debb3372b1ceea676f455f5ea3310e
2010-12-28 07:33:24 -06:00
Matthew Flatt
c71371250e win32: fix EndPaint to avoid GDI leak
original commit: b701d309f193f65913b759ec033ad1e9d522c84f
2010-12-28 06:21:58 -07:00
Matthew Flatt
7e6d945a73 win32: fix `focus' return value
original commit: 7b5d948d33dfda714a6fb45d2111a5e906f6dc7d
2010-12-28 05:30:58 -07:00
Matthew Flatt
1a4cac221e implement get-focus-window' and get-edit-target-window' in back end to avoid relying on `on-focus' callback handling
original commit: 68e477fd526b7d74413b63c84d6eddfb7bec5ff9
2010-12-28 05:25:26 -07:00
Robby Findler
c36dd1fdfd 2htdp/image: use erase instead of clear to zero out a bitmap
original commit: 54c337e5d3860fa7333fae79a8d3fa39366c1873
2010-12-27 21:51:16 -06:00
Robby Findler
f9c8cb6676 generalize the color structs to have an alpha field and then use that in the bitmap conversion functions
original commit: 835f7753dcb98d508d86c653dd6fc2d7c3f21b1e
2010-12-27 21:51:14 -06:00
Matthew Flatt
441b6f6dfd add missing test case for premultiply-alpha fix
original commit: 0b1f1a4f4ef3a7be224343f4cbac55e3aa728fc2
2010-12-27 19:34:59 -07:00
Matthew Flatt
3165708bd0 prevent dc<%> state contamination among transparent canvases
original commit: 719df98d8368b17cb4a2a2e2a3ac03622e806e7c
2010-12-27 17:43:36 -07:00
Matthew Flatt
53407477a4 improve password-mode dots for text-field%
original commit: 958c1415080e640826b6a16d7b6d3c2d4ebb4b8a
2010-12-27 15:22:53 -07:00