Björn Lindqvist
0a34002988
ui.gestures: fix the cocoa ui backend which i broke by moving the modifier word
2016-06-21 23:37:20 +02:00
Björn Lindqvist
4b919b19ce
ui.backend.*: new vocab for keysym handling which is the same on x11 and gtk
2016-06-20 13:13:20 +02:00
Björn Lindqvist
d752a1947c
x11.keysymdef, ui.backend.x11: vocab for all of x11's keycodes
...
using them in u1.backend.x11 instead of hardcoding numbers
2016-06-20 02:18:18 +02:00
John Benediktsson
1b71efb748
ui: change active? back to a boolean.
2016-03-30 07:31:13 -07:00
Björn Lindqvist
7bc1009973
ui.*: make active? an integer 0-100
...
A UI backend can delay setting active? to 100 until the windows actually
is visible. That way, some redundant redraws that happen when the window
isn't visible is supressed. It makes the Windows and GTK UI startup a
little faster.
2015-10-27 19:00:28 +01:00
Björn Lindqvist
73893693d3
ui.backend.*: the offscreen buffer hooks appear unused - let's delete!
2015-10-27 16:58:01 +01:00
Benjamin Pollack
2c3dd8c3c8
Remove executable bit from tons of files that aren't
2014-11-05 20:40:42 -08:00
Jon Harper
8587b90930
X11, give same input as gtk when pressing shift, tab, alt..
2013-01-11 11:58:37 -08:00
Jon Harper
6afe04bfc1
X11 XK_ISO_Left_Tab is shift tab
2013-01-11 11:58:21 -08:00
Jon Harper
8948e8a455
X11 window resize
2012-11-26 14:39:54 -08:00
Joe Groff
943596575a
use radix literals
2011-11-23 19:03:40 -08:00
John Benediktsson
4f42c72012
specialized-arrays: performed some cleanup.
...
Specifically,
• Created >c-array to be replacement for >T-array.
• Created cast-array to be generic replacement for all T-array-cast words.
• Created c-array@ to be generic replacement for T-array@ words.
• Replaced usages of <T-array> with T <c-array>
• Replaced usages of <direct-T-array> with T <c-direct-array>
• Replaced usages of >T-array with T >c-array
• Replaced usages of T-array-cast with T cast-array
• Replaced usages of malloc-T-array with T malloc-array.
• Removed malloc-T-array.
• Removed T-array-cast.
• Removed T-array@.
• Removed >T-array.
I also added (but didn't change any code to use):
• T c-array-type, returns T-array
• T c-array?, returns T-array?
• c-array{ T ... }, returns T-array{ ... }
Bootstraps just find on Mac OS X. Also `load-all test-all` works for me.
2011-09-26 11:37:51 -07:00
Joe Groff
9bd84e73f4
ui.backend: refactor the UI `main-vocab-hook` to use a backend-specific `ui-backend-available?` word, so that loading other backends doesn't change the `main-vocab-hook` out of sync with the backend; fixes #131
2011-09-15 13:14:01 -07:00
Slava Pestov
446ee6896d
alien.data: remove second quotation parameter from with-out-parameters, now all values are copied properly and calling 'clone' on structs in this quotation is not necessary
2010-07-16 17:32:05 -04:00
Slava Pestov
063c9783fb
ui.backend.x11: fix typo
2010-06-02 03:13:57 -04:00
Slava Pestov
9f49bfc3b3
ui.backend.x11: fixing raise-window*
2010-06-02 02:59:57 -04:00
Slava Pestov
07e92b50ce
ui.backend.x11: don't pass GLX_USE_GL since its a no-op and Mesa doesn't like it
2010-05-24 19:23:55 -04:00
Slava Pestov
cd5c1ab499
ui.backend.x11: fix load error
2010-05-23 22:08:24 -04:00
Slava Pestov
70a99e1cdb
Updating code to use with-out-parameters
2010-05-23 03:07:47 -04:00
Slava Pestov
627295f094
Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO)
2010-05-06 17:21:02 -04:00
Slava Pestov
aec2570cd3
ui.backend.x11: fix load error
2010-04-29 03:59:31 -04:00
Slava Pestov
1672c34f9f
ui: use scroll delta information for smoother mouse scrolling on Windows and Mac OS X
2010-04-29 02:52:32 -04:00
Joe Groff
859ec88bcd
ui.backend.x11: search path for xmessage rather than hardcoding path
2010-04-25 12:18:45 -07:00
Slava Pestov
da6bcbedfc
Replace 'untested' tag with 'not loaded' and 'not tested' tags
2010-04-13 18:43:01 -07:00
Joe Groff
3bf5eeddf9
tidy up load errors in ui.backend.x11
2010-02-24 00:51:02 -08:00
Joe Groff
f6183703b2
ui: add a "system-alert" hook that can raise a system modal dialog without involving any potentially stripped gadget, io, or debugger code
2010-02-23 19:28:57 -08:00
Joe Groff
6d4724a095
scrub memory>struct calls made redundant
2010-02-22 12:22:29 -08:00
Slava Pestov
95bfc8a240
vocabs.metadata: replace unportable tag with a platforms.txt file for more fine-grained control. Rename unportable tag to untested for remaining cases
2010-02-20 13:30:49 +13:00
Erik Charlebois
d3d7392fa9
Implement input grabbing for x11; add do-nothing game.input backend for linux. The game and gpu demos now run correctly.
2010-02-18 12:52:33 -08:00
Slava Pestov
0612bc6177
Factor source files should not be executable
2009-11-21 17:50:43 -06: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
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
Slava Pestov
0238fce941
ui.backend.x11: fix set-fullscreen
2009-09-04 12:35:45 -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
0d8115a940
fullscreen* -> (fullscreen?), set-fullscreen* -> (set-fullscreen), fix jamshred screen toggling
2009-05-13 22:28:33 -05:00
Joe Groff
a0c8d0ae9e
fix x11 backend bugs
2009-05-02 21:55:19 -05:00
Joe Groff
623b16d048
X11 backend for pixel formats
2009-05-02 16:39:31 -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
Jose A. Ortega Ruiz
b6a8e023a5
Fix: setting WM_CLASS in X11 backend using UTF8 string
2009-04-13 01:17:04 +02: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
2fee574b4f
Working on X11 backend
2009-03-02 02:55:54 -06:00
Slava Pestov
ce1bc1d6ed
Fixing conflicts from stack checker changes
2009-02-24 01:21:10 -06:00
Slava Pestov
88b401b383
Rename math.geometry.rect to math.rectangles
...
Remove math.geometry.points
Remove rect-loc and rect-dim words
2009-02-05 03:28:41 -06:00
Slava Pestov
0a0431e6ab
Fix conflict
2009-01-30 02:24:34 -06:00
Slava Pestov
9bf2675fa3
Remove two rot usages from UI
2009-01-26 16:30:17 -06:00