Commit Graph

1631 Commits (8a87a8077e43689b20a17f5afe73967665ad3040)

Author SHA1 Message Date
Alexander Iljin bad5408c76 *-docs: fix a typo in the word parametErized 2017-03-17 08:22:18 -07:00
nicolas-p 20a663ab0b ui.gadgets.buttons: workaround for windows gradient bug 2017-03-14 17:26:19 -07:00
John Benediktsson 8b455d2306 tools.deploy.shaker: support "stop-after-last-window?".
This only works on macOS right now, but since most every deploy.factor
has it set, we should read it and use it.
2017-03-05 15:13:24 -08:00
John Benediktsson 96a0c30baf ui.backend: adding ui-stop-after-last-window?.
This defaults to true, except for the "ui.tools".  Also, this only
works on macOS right now.  Linux and Windows always stop after the
last window closes.
2017-03-05 14:51:33 -08:00
nicolas-p 55834faba7 slots: added margins 2017-02-14 13:49:30 -08:00
Alexander Iljin 226d8a2397 ui.baseline-alignment-docs: replace $snippet with $slot 2017-02-14 23:02:36 +03:00
Alexander Iljin 3503bf86e2 ui.render-docs: replace $snippet with $slot 2017-02-14 23:02:29 +03:00
John Benediktsson f7ce76aa4b wrap: remove line-ideal, we only ever use a max-width. 2017-02-01 20:30:57 -08:00
Björn Lindqvist 39811fc7e7 ui.*: using pixel-format-attributes>int-array in even more places
So now we don't need the PIXEL-FORMAT-ATTRIBUTE-TABLE: syntax anymore.
2017-01-30 06:17:37 +01:00
Björn Lindqvist 4756c30d3f ui.pixel-formats,ui.backend.*: new word pixel-format-attributes>int-array
This word replaces usages of the PIXEL-FORMAT-ATTRIBUTE-TABLE: syntax
2017-01-30 05:43:19 +01:00
Björn Lindqvist 1b1842f62d ui.pixel-formats,ui.backend.*: removing the (pixel-format-attribute) generic
It appears to be unused code.
2017-01-30 05:07:28 +01:00
Jon Harper 14f51e2dd5 ui.backend.gtk, use a separate widget for drawing opengl. Fixes #1487
Apparently you can't use opengl calls in a configure event signaled from
the window. If you do, on ubuntu 14.04 with unity, each and every frame
will be drawn. Since they are drawn slower than the event are emitted,
it continues to redraw after the resize is done, 'replaying' the resize
motion.
opengl calls from a configure event on the single child of the
window are ok.
Also, now that the window is not used to draw opengl, it doesn't produce
expose events, instead the drawable child must be used.

This also makes moving the window much smoother.
2017-01-23 10:04:43 -08:00
John Benediktsson 1c9909cd76 ui.gadgets.slots: removing unnecessary tuples. 2016-12-31 18:54:18 -08:00
Björn Lindqvist 6cb3e313d9 dlists,http,ui.gadgets.*: nicer formatting of tuples 2016-11-30 16:36:25 +01:00
John Benediktsson dadff2f062 some cleanup. 2016-11-26 22:01:03 -08:00
John Benediktsson 7d92217551 ui.tools.operations: making "See" an operation on words. 2016-11-09 15:39:59 -08:00
John Benediktsson 0bed0870bb ui.theme: change deprecated background color also. 2016-11-08 16:05:26 -08:00
John Benediktsson d5a57ca04f ui.theme: make warning background color a light shade of red. 2016-11-08 15:48:40 -08:00
John Benediktsson 4f2a1a2e4e ui.tools.listener: make all call-listener use with-ctrl-break. 2016-11-02 11:04:52 -07:00
John Benediktsson 5f38ec1a4a ui.gadgets.scrollers: minor cleanup using if*. 2016-11-02 11:00:23 -07:00
Alexander Iljin 17aa171ccf ui.tools.listener-docs: add TIP: about the Ctrl-Break feature 2016-11-01 16:53:01 -07:00
Alexander Iljin 2e49ffe6bd ui.tools: make refresh-all command interruptible with Ctrl-Break 2016-11-01 16:53:01 -07:00
Björn Lindqvist b31c0b8857 Docs: bunch of random doc updates 2016-10-31 11:46:39 +01:00
Sankaranarayanan Viswanathan 1c97b0d76e menus: allow keyboard control 2016-10-22 09:01:56 -07:00
Sankaranarayanan Viswanathan d59b2d2f3d menus: ESC should close menu popup 2016-10-14 07:57:02 -07:00
Sankaranarayanan Viswanathan 25a9b9a92a ui.gadget.menus: improve show-menu 2016-10-07 16:04:43 -07:00
John Benediktsson fd801e7946 ui.tools.listener: protect vocab completion from bad vocab names. 2016-09-15 15:00:24 -07:00
Björn Lindqvist bff165c85c ui.*: more tests 2016-09-05 07:47:39 +02:00
Björn Lindqvist dc3fa20bf6 ui.render.tests: removing bad test 2016-08-24 16:44:35 +02:00
Björn Lindqvist a5c0ba98d0 ui.*: new tests 2016-08-23 07:32:17 +02:00
John Benediktsson dcae1baad5 Revert "ui.gadgets.editors: add editor-constrained-dim function to editor"
This reverts commit 16381beddc.
2016-08-22 07:53:08 -07:00
John Benediktsson fdcbf0d110 Revert "ui.gadgets.editors: remove extra spaces."
This reverts commit 7a4e345f6c.
2016-08-22 07:53:08 -07:00
Björn Lindqvist 351838fcff ui.gadgets.*: updated docs and new tests
As mentioned on the mailing list, the editor class doesn't have a color
slot.
2016-08-22 14:22:28 +02:00
John Benediktsson 7a4e345f6c ui.gadgets.editors: remove extra spaces. 2016-08-21 21:41:08 -07:00
masweeney 16381beddc ui.gadgets.editors: add editor-constrained-dim function to editor
This function allows the calculation of dimensions with respect
to min/max-row/column values.
2016-08-21 21:40:27 -07:00
Björn Lindqvist f8e781ee17 ui.backend.x11.keys: symbolic constants can be used 2016-08-17 04:04:06 +02:00
Björn Lindqvist 1c3f345396 x11.*: new vocab x11.X for ffi stuff from the X.h header
It's nicer to have one vocab for each X11 header file than the previous
organization.
2016-08-17 03:46:28 +02:00
Björn Lindqvist acdcc1f2c2 ui.backend.x11.keys: Support for the Windows/Meta key on X11 2016-08-17 03:41:45 +02:00
Björn Lindqvist de2e01268e ui.backend.x11.keys: typo on F12 2016-08-17 03:37:57 +02:00
Alexander Iljin 2c30b2f243 ui.gadgets.tables: implement cell-dim and draw-cell for the f class 2016-08-10 19:55:41 -07:00
Alexander Iljin bb948bbbfb ui.gadgets.tables-docs: add row-value? to the renderer protocol 2016-08-10 19:42:20 -07:00
Alexander Iljin 554445995e ui.gadgets.tables: fix a typo in a comment 2016-08-10 19:42:20 -07:00
Alexander Iljin ee621f8a3e ui.tools-docs: fix description of the context menu behavior 2016-08-10 19:42:20 -07:00
Alexander Iljin ce525a7481 ui.gadgets.tracks-docs: minor documentation improvements 2016-08-10 19:42:20 -07:00
Alexander Iljin cc70848c24 ui.commands-docs: improve define-command-map word description 2016-08-10 19:42:20 -07:00
Alexander Iljin 63ba5d458e ui.gadgets.toolbar-docs: fix <toolbar> word description 2016-08-10 19:42:20 -07:00
Alexander Iljin bc6d5e6ce6 ui.render-docs: fix description of graft-state 2016-08-10 19:42:20 -07:00
Björn Lindqvist ddc5ece757 alien.*: frontend varargs support! #1677
alien-invoke gets an extra parameter indicating if the call uses varargs
or not. In 99.9% of the cases, the parameter should be f, but is t if
varargs are indicated. E.g

: do-printf ( fmt d -- st ) int f "printf" { c-string double } t alien-invoke ;
2016-08-10 21:34:37 +02:00
Björn Lindqvist 48bd0d2b66 ui.tools.*: fix swapped argument order for set-tool-dim 2016-07-30 19:03:23 +02:00
Björn Lindqvist 9ba5419bef ui.tools.*: new docs 2016-07-30 19:03:22 +02:00