Joe Groff
c3b8847936
update a bunch of alien-callbacks and alien-indirects to use c-type words
2009-10-21 21:10:11 -05:00
Joe Groff
cc5f9ff98a
update cocoa bridge to use c-type words
2009-10-21 18:17:29 -05:00
Doug Coleman
317c3f82d5
fix using
2009-10-05 13:18:45 -05:00
Doug Coleman
474e02020c
use 1&& in a few places, clean up some more ui code
2009-10-04 17:50:34 -05:00
Joe Groff
bcd5e72989
fix windows
2009-09-25 10:00:23 -05:00
Joe Groff
9798564536
clean up textured window code
2009-09-25 09:42:09 -05:00
Joe Groff
28d78c9954
fix cocoa bootstrap
2009-09-24 20:25:41 -05:00
Joe Groff
2af6104d99
reset frame inset when windows dwm is toggled off and on, and use the system dialog background for textured windows when dwm is disabled
2009-09-24 16:08:58 -05:00
Joe Groff
c4d4f1b337
tweak textured windows on windows
2009-09-24 13:26:15 -05:00
Joe Groff
e0157c55d1
support textured windows on os x and windows 6.x
2009-09-24 13:05:27 -05:00
Joe Groff
c86bef70c9
update windows.types structs
2009-09-18 19:12:31 -05:00
Joe Groff
076ab42dc3
move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab
2009-09-17 22:36:05 -05:00
Slava Pestov
7f2e2b1777
Specialized array overhaul
...
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Slava Pestov
0238fce941
ui.backend.x11: fix set-fullscreen
2009-09-04 12:35:45 -04:00
Joe Groff
9bd7471696
fix some things that broke in the windows UI/game-input backends
2009-08-31 12:45:39 -05:00
Slava Pestov
6ed46177e9
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-31 00:24:46 -04:00
Slava Pestov
861a3f563b
x11.events, ui.backend.x11: actually make it work
2009-08-31 00:24:25 -04:00
Slava Pestov
e36029b376
x11 and ui.backend.x11: update to use new structs
2009-08-30 22:55:19 -05:00
Doug Coleman
d88cdffa47
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-29 23:39:20 -05:00
Doug Coleman
111c0f6b89
more struct changes
2009-08-27 21:43:29 -05:00
Doug Coleman
ae001ce75c
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 21:40:11 -05:00
Joe Groff
c3002ed0f0
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 21:17:17 -05:00
Joe Groff
eb4081c696
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
c926854790
update RECT for new structs
2009-08-27 21:16:28 -05:00
Doug Coleman
7df875c7fe
update WNDCLASSEX
2009-08-27 20:43:42 -05:00
Doug Coleman
065db08680
TRACKMOUSEVENT uses <struct> now
2009-08-27 20:39:37 -05:00
Doug Coleman
469e7e8d67
newstructify PIXELFORMAT
2009-08-27 20:35:37 -05:00
Joe Groff
367f024a1b
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 19:23:20 -05:00
Joe Groff
7771c55cb5
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
d4497c81ef
spacing
2009-08-27 11:43:19 -05:00
Slava Pestov
449be040f8
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
3f3d57032b
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
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