Commit Graph

76 Commits (4b7185b61a875c6cfb2bc021b583caabbb8e28b6)

Author SHA1 Message Date
Joe Groff 77104b7256 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 85acbf4abc validate cocoa menu items with handles-gesture? 2009-06-22 20:16:52 -05:00
Joe Groff 16c977491b bind file management action gestures to standard cocoa menu items 2009-06-21 20:53:11 -05:00
Slava Pestov a99f8f5741 Fix hang when loading ui.backend.windows 2009-06-18 19:30:17 -05:00
Joe Groff 10ab07224f make windows without titlebars on win32 actually not have titlebars 2009-06-18 15:09:03 -05:00
Joe Groff 76b3e5fea2 win32 support for window-controls 2009-06-18 11:41:34 -05:00
Joe Groff b75999aac6 fix cocoa close-window to work on windows without close buttons 2009-06-17 23:00:30 -05:00
Joe Groff 3231fcd052 interface for controlling window controls (close, minimize, resize, titlebar, etc.). cocoa backend 2009-06-17 22:47:51 -05:00
Doug Coleman 407377fc98 rename peek -> last and update all usages 2009-05-25 16:38:33 -05:00
Joe Groff 3061cea61f 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 a9c339e583 Fix windows bootstrap 2009-05-16 11:20:08 -05:00
Joe Groff b3039786c2 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 7fdd018aec 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 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
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 0a6c9e08a9 Fix stack underflow in Windows UI backend 2009-05-11 16:19:41 -05:00
U-C4\Administrator 5e07dc04a5 use change-global in a couple of places, formatting 2009-05-10 14:24:13 -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 b2c3183b21 Split up tools.vocabs. Note that load-everything is now named load-all 2009-05-04 06:44:17 -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 a0c8d0ae9e fix x11 backend bugs 2009-05-02 21:55:19 -05:00
U-FROGGER\erg aa142a1b52 fix windows ui 2009-05-02 20:36:31 -05:00
Joe Groff 886d087332 ui.backend.windows code cleanup 2009-05-02 19:44:08 -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 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
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 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
Slava Pestov bfe0787454 Merge branch 'master' into smarter_error_list 2009-04-13 15:23:27 -05:00
Slava Pestov 6aa3b7cd3d Merge branch 'emacs' of http://git.hacks-galore.org/jao/factor 2009-04-13 19:50:23 -05:00
Slava Pestov 3b1f3c08a4 Fix window positioning on OS X 2009-04-13 03:16:57 -05:00
Jose A. Ortega Ruiz b6a8e023a5 Fix: setting WM_CLASS in X11 backend using UTF8 string 2009-04-13 01:17:04 +02:00
Slava Pestov 5aab0078a0 Make more code infer 2009-04-12 16:08:54 -05:00
slava 509869ca70 X11 UI: Fix resize flicker, exception when closing window, unsuccessful attempt at fixing raise-window 2009-04-10 13:29:07 -04:00
Slava Pestov 370e90f57b Fix odd race condition in ui.backend.cocoa 2009-04-10 06:19:46 -05:00
Slava Pestov 87e4598581 opengl.textures: use GL_ARB_texture_non_power_of_two if available 2009-04-07 21:32:45 -05:00
Slava Pestov 1a4f2724e4 Don't call glFlush, it's useless 2009-04-04 20:03:44 -05:00