Commit Graph

743 Commits (47b0f1237a69d352bc76e105a6f9af61c53e9b86)

Author SHA1 Message Date
Joe Groff 606ed8aaa1 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 92e508356e flip cursor warp point for cocoa mouse grab into y-goes-down space 2009-05-14 15:01:21 -05:00
Joe Groff 7c10b6d4d5 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-14 10:09:16 -05:00
Joe Groff ba9ba118a6 don't assume world has children in debugger 2009-05-14 10:08:57 -05:00
Slava Pestov 06efcd1502 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 0d8115a940 fullscreen* -> (fullscreen?), set-fullscreen* -> (set-fullscreen), fix jamshred screen toggling 2009-05-13 22:28:33 -05:00
Doug Coleman 31e3fe5a2f 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 560ad8b2e5 ui.gadgets.worlds: Remove unneeded ui.commands dependency. This reduces deployed image size 2009-05-12 04:02:24 -05:00
Slava Pestov 5b315efc81 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 0a6c9e08a9 Fix stack underflow in Windows UI backend 2009-05-11 16:19:41 -05:00
Slava Pestov f5af7977ec ui.debugger: new mini error dialog box for deployed apps 2009-05-11 16:18:47 -05:00
Joe Groff 87717fa78c 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 b070edc751 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 30bfce2ce0 improve error handling when begin-world fails 2009-05-11 12:35:41 -05:00
Slava Pestov 3fe5bb872b Deploy tool always uses optimizing compiler now 2009-05-11 00:32:22 -05:00
Slava Pestov dec89ac4fd Merge branch 'master' of git://factorcode.org/git/factor 2009-05-10 21:36:38 -05:00
Slava Pestov 9de34ab3cd 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 5e07dc04a5 use change-global in a couple of places, formatting 2009-05-10 14:24:13 -05:00
Slava Pestov cda3685c4d Eliminate prettyprinter dependency from UI 2009-05-09 20:24:17 -05:00
Joe Groff 2295c967fa clip to window client area when grabbing on windows 2009-05-08 15:49:29 -05:00
Joe Groff 9992817c65 input grabbing support 2009-05-08 15:07:15 -05:00
Joe Groff 01546acb1c typo in cocoa pixel format stuff 2009-05-07 19:47:26 -05:00
Slava Pestov 51fff49708 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 fb5b48c71a Fix some test failures 2009-05-04 09:44:26 -05:00
Slava Pestov b2c3183b21 Split up tools.vocabs. Note that load-everything is now named load-all 2009-05-04 06:44:17 -05:00
Joe Groff 804d4aae81 docs for new world words 2009-05-03 23:01:26 -05:00
Joe Groff d546e8c89a nitpick ui.pixel-formats docs 2009-05-03 22:21:36 -05:00
Joe Groff 4504907736 add a resize-world generic to handle window resizes 2009-05-03 22:01:35 -05:00
Joe Groff 045635cdf2 yield during mouse-moved events in cocoa so gadgets have a chance to redraw 2009-05-03 20:33:03 -05:00
Joe Groff 585ea8da54 don't pprint gadgets with RECT: syntax 2009-05-03 18:32:35 -05:00
Joe Groff 474735a60c 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 6ccd82faba 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 fa524ce213 fix circular dependency for reals 2009-05-02 22:13:01 -05:00
Joe Groff a0c8d0ae9e fix x11 backend bugs 2009-05-02 21:55:19 -05:00
Joe Groff cc244cb672 break code->code docs<-docs dependency 2009-05-02 21:54:25 -05:00
Joe Groff 644c42d4e3 "ui-backend" variable can't be used to choose text backend 2009-05-02 21:52:18 -05:00
U-FROGGER\erg aa142a1b52 fix windows ui 2009-05-02 20:36:31 -05:00
U-FROGGER\erg 0668b1252e Merge branch 'master' of git://factorcode.org/git/factor 2009-05-02 20:12:06 -05:00
Joe Groff 886d087332 ui.backend.windows code cleanup 2009-05-02 19:44:08 -05:00
Joe Groff af6bf6603e docs for ui.pixel-formats 2009-05-02 18:22:45 -05:00
Joe Groff d96f6d3197 oops, forgot backing-store support on windows. also "robust" is useless 2009-05-02 17:54:45 -05:00
Joe Groff a7e2632faf 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 623b16d048 X11 backend for pixel formats 2009-05-02 16:39:31 -05:00
Joe Groff 95f1ca3d9f windows pixel-format backend 2009-05-02 13:42:10 -05:00
Joe Groff 621fed2dd5 need to pass world as arg to pixel-format hooks 2009-05-02 12:31:33 -05:00
Joe Groff 54e9447ec4 adjust pixel format syntax. override offscreen-world pixel-format-attributes instead of special-casing 2009-05-01 20:07:14 -05:00
Doug Coleman ce7ad9a42d fix unit tests that call lines or contents 2009-05-01 16:38:04 -05:00
Joe Groff 2a7c26c20a shove cocoa pixel format attribute conversion into a functor so we can reuse it 2009-05-01 16:33:49 -05:00
Joe Groff cf6e78303b don't really want that read-only! 2009-05-01 13:21:57 -05:00
Joe Groff c8739f5430 Merge branch 'master' of http://factorcode.org/git/factor 2009-05-01 13:01:04 -05:00