Commit Graph

745 Commits (698eccd5ab100f56aa148b2c59a070c581d28cc1)

Author SHA1 Message Date
Joe Groff 698eccd5ab don't unfocus the world if cocoa view has gone fullscreen; the original window isn't really associated with the view while fullscreen 2009-05-14 17:37:14 -05:00
Joe Groff fc59ee2e4a set first responder on cocoa view back when returning from fullscreen mode. un-fullscreen the view if window is closed while view is fullscreen 2009-05-14 17:29:25 -05:00
Joe Groff 681d5253c4 spin on GetCurrentButtonState before warping cursor when grabbing cocoa input. this keeps the window from jumping if you click on its titlebar to focus 2009-05-14 15:36:18 -05:00
Joe Groff a229ec788a flip cursor warp point for cocoa mouse grab into y-goes-down space 2009-05-14 15:01:21 -05:00
Joe Groff 32ba32a874 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-14 10:09:16 -05:00
Joe Groff accc1e018e don't assume world has children in debugger 2009-05-14 10:08:57 -05:00
Slava Pestov 2f4215a499 ui.backend.windows: create-window can now be called even when the UI is not running. Fixes game-input deploy test 2009-05-13 22:41:42 -05:00
Doug Coleman 73f4b0d781 fullscreen* -> (fullscreen?), set-fullscreen* -> (set-fullscreen), fix jamshred screen toggling 2009-05-13 22:28:33 -05:00
Doug Coleman cc35bb1311 rename set-fullscreen? to set-fullscreen, add a toggle-fullscreen word, fix windows backend for fullscreen* 2009-05-13 20:05:22 -05:00
Slava Pestov 18af6bb16a ui.gadgets.worlds: Remove unneeded ui.commands dependency. This reduces deployed image size 2009-05-12 04:02:24 -05:00
Slava Pestov 1f9fa090a3 Make focusable-child* work even if world has no children, to clean up a code duplication 2009-05-11 17:04:32 -05:00
Slava Pestov 0011fb644d Fix stack underflow in Windows UI backend 2009-05-11 16:19:41 -05:00
Slava Pestov 4e04a78b2f ui.debugger: new mini error dialog box for deployed apps 2009-05-11 16:18:47 -05:00
Joe Groff 09d78877b1 Add user-visible grab-input and ungrab-input words to cleanly toggle grabbing on worlds 2009-05-11 13:18:38 -05:00
Joe Groff 30e8703772 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/ui/gadgets/worlds/worlds.factor
2009-05-11 12:37:50 -05:00
Joe Groff 33dc2fd715 improve error handling when begin-world fails 2009-05-11 12:35:41 -05:00
Slava Pestov 0f6b2f69fa Deploy tool always uses optimizing compiler now 2009-05-11 00:32:22 -05:00
Slava Pestov 00ef600da7 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-10 21:36:38 -05:00
Slava Pestov 64a9585dd0 Fix deployment of UI apps and implement various tricks to make deployed images smaller 2009-05-10 21:33:13 -05:00
U-C4\Administrator ca9a29ea85 use change-global in a couple of places, formatting 2009-05-10 14:24:13 -05:00
Slava Pestov b86a419b6e Eliminate prettyprinter dependency from UI 2009-05-09 20:24:17 -05:00
Joe Groff 977cd6c147 clip to window client area when grabbing on windows 2009-05-08 15:49:29 -05:00
Joe Groff 3a2a1a6a62 input grabbing support 2009-05-08 15:07:15 -05:00
Joe Groff cd7e2aecd2 typo in cocoa pixel format stuff 2009-05-07 19:47:26 -05:00
Slava Pestov 4950ca76c2 find-window: don't bomb if a world has no child. Reported by Joe Groff 2009-05-06 23:40:27 -05:00
Slava Pestov c68e05d3d8 Fix some test failures 2009-05-04 09:44:26 -05:00
Slava Pestov a776dffeb6 Split up tools.vocabs. Note that load-everything is now named load-all 2009-05-04 06:44:17 -05:00
Joe Groff 69fa47b250 docs for new world words 2009-05-03 23:01:26 -05:00
Joe Groff 5a68ac55ce nitpick ui.pixel-formats docs 2009-05-03 22:21:36 -05:00
Joe Groff 86ec61ff1a add a resize-world generic to handle window resizes 2009-05-03 22:01:35 -05:00
Joe Groff 087e0ca745 yield during mouse-moved events in cocoa so gadgets have a chance to redraw 2009-05-03 20:33:03 -05:00
Joe Groff f4a8e84259 don't pprint gadgets with RECT: syntax 2009-05-03 18:32:35 -05:00
Joe Groff f8504bc4d5 update status-bar for api changes. set the gl-context outside of draw-world* generic 2009-05-03 17:11:01 -05:00
Joe Groff 14504ace4b world API changes: open-window can take a world-attributes tuple with additional parameters besides title. new begin-world, end-world, and draw-world* generics 2009-05-03 15:52:26 -05:00
Joe Groff c669a00e42 fix circular dependency for reals 2009-05-02 22:13:01 -05:00
Joe Groff 4a302d6a09 fix x11 backend bugs 2009-05-02 21:55:19 -05:00
Joe Groff bb48fd2e2b break code->code docs<-docs dependency 2009-05-02 21:54:25 -05:00
Joe Groff f87017121d "ui-backend" variable can't be used to choose text backend 2009-05-02 21:52:18 -05:00
U-FROGGER\erg 7d53445aad fix windows ui 2009-05-02 20:36:31 -05:00
U-FROGGER\erg 111f51f773 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-02 20:12:06 -05:00
Joe Groff a6861ecc87 ui.backend.windows code cleanup 2009-05-02 19:44:08 -05:00
Joe Groff e794afdb6a docs for ui.pixel-formats 2009-05-02 18:22:45 -05:00
Joe Groff b4deae664f oops, forgot backing-store support on windows. also "robust" is useless 2009-05-02 17:54:45 -05:00
Joe Groff 3c54d3d7df check-world-pixel-format word that world subclasses can override to verify that the chosen pixel format meets their needs 2009-05-02 16:46:58 -05:00
Joe Groff dc5cd04a41 X11 backend for pixel formats 2009-05-02 16:39:31 -05:00
Joe Groff 2f59f39376 windows pixel-format backend 2009-05-02 13:42:10 -05:00
Joe Groff ce9611a390 need to pass world as arg to pixel-format hooks 2009-05-02 12:31:33 -05:00
Joe Groff 9c043282dc adjust pixel format syntax. override offscreen-world pixel-format-attributes instead of special-casing 2009-05-01 20:07:14 -05:00
Doug Coleman ed5f913aab fix unit tests that call lines or contents 2009-05-01 16:38:04 -05:00
Joe Groff 7adf836542 shove cocoa pixel format attribute conversion into a functor so we can reuse it 2009-05-01 16:33:49 -05:00