Commit Graph

85 Commits (adcd269a9923ca70ebec61f07d8d39593a164d24)

Author SHA1 Message Date
Slava Pestov adcd269a99 x11 and ui.backend.x11: update to use new structs 2009-08-30 22:55:19 -05:00
Joe Groff 3859579c72 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 21:17:17 -05:00
Joe Groff a74a0151c3 return YES from cocoa app delegate's applicationShouldHandleReopen: method. this allows app-icon-minimized windows on snow leopard to automatically restore when the dock icon is clicked 2009-08-27 21:16:41 -05:00
Doug Coleman 850475c2ab newstructify PIXELFORMAT 2009-08-27 20:35:37 -05:00
Joe Groff 8e85b5ef96 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 19:23:20 -05:00
Joe Groff ee8c48bbb8 ui.backend.cocoa.views: yield in drawRect: impl so that windows will redraw while being resized on snow leopard 2009-08-27 19:21:38 -05:00
Doug Coleman 49af91cfd0 spacing 2009-08-27 11:43:19 -05:00
Slava Pestov 6380e5be4d Use utf8 instead of ascii encoding in a couple of places to avoid pulling in ascii into deployed apps 2009-08-23 19:07:21 -05:00
Doug Coleman d1ce837569 Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Joe Groff 823616ddc6 put a slot on worlds for window-resources which get disposed when window is closed 2009-07-01 13:54:42 -05:00
Joe Groff 936a72db60 validate cocoa menu items with handles-gesture? 2009-06-22 20:16:52 -05:00
Joe Groff fbafdea47e bind file management action gestures to standard cocoa menu items 2009-06-21 20:53:11 -05:00
Slava Pestov 28d7b8d5f5 Fix hang when loading ui.backend.windows 2009-06-18 19:30:17 -05:00
Joe Groff ff09c17fcd make windows without titlebars on win32 actually not have titlebars 2009-06-18 15:09:03 -05:00
Joe Groff 62ed8d1404 win32 support for window-controls 2009-06-18 11:41:34 -05:00
Joe Groff 6e334026bc fix cocoa close-window to work on windows without close buttons 2009-06-17 23:00:30 -05:00
Joe Groff 7d1b67b098 interface for controlling window controls (close, minimize, resize, titlebar, etc.). cocoa backend 2009-06-17 22:47:51 -05:00
Doug Coleman 8da9d0f203 rename peek -> last and update all usages 2009-05-25 16:38:33 -05:00
Joe Groff 3a8fb29d70 disable WGL_ARB_pixel_format code path in windows UI backend 'cause ATI drivers are shit 2009-05-23 08:39:01 -05:00
Slava Pestov 52ea03a311 Fix windows bootstrap 2009-05-16 11:20:08 -05:00
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
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 0011fb644d Fix stack underflow in Windows UI backend 2009-05-11 16:19:41 -05:00
U-C4\Administrator ca9a29ea85 use change-global in a couple of places, formatting 2009-05-10 14:24:13 -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 a776dffeb6 Split up tools.vocabs. Note that load-everything is now named load-all 2009-05-04 06:44:17 -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 4a302d6a09 fix x11 backend bugs 2009-05-02 21:55:19 -05:00
U-FROGGER\erg 7d53445aad fix windows ui 2009-05-02 20:36:31 -05:00
Joe Groff a6861ecc87 ui.backend.windows code cleanup 2009-05-02 19:44:08 -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 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
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
Joe Groff b45ea14d39 compilation fixes 2009-05-01 12:56:52 -05:00
Joe Groff ba8abd6cad cocoa backend support for ui.pixel-formats; world-pixel-format-attributes generic 2009-05-01 09:09:38 -05:00
Doug Coleman 4a5009048f support fullscreen mode in windows ui 2009-04-30 15:22:32 -05:00
Doug Coleman 8ab4d39036 move windows error handling to windows.errors and update usages. 2009-04-30 09:36:25 -05:00
Slava Pestov 5579842d7a Fix USING: 2009-04-18 02:52:29 -05:00
Slava Pestov 4f74810c15 Split off x11 vocab from x11.xlib, and add x11.unix for event loop integration 2009-04-18 01:56:29 -05:00
Slava Pestov 65b27354ad Merge branch 'master' into smarter_error_list 2009-04-14 15:07:22 -05:00