Commit Graph

48 Commits (81c6196dc488d73c9c47e5ccf94e6e8c94e75ad4)

Author SHA1 Message Date
John Benediktsson 59e3cf93b7 ui.gadgets.theme: rename to ui.theme.images. 2016-05-22 07:53:21 -07:00
John Benediktsson ff2f58ac4b ui.theme.switching: default font colors. 2016-05-22 07:53:21 -07:00
John Benediktsson 63410f62c8 ui.theme: updates to color scheme.
Fixes circularity and adds theme switching to Mac menu.
Could use some simplification and reduction in color theme hooks.
2016-05-09 21:40:56 -07:00
nicolas-p 072f8e2625 Set text color almost everywhere 2016-05-09 21:40:56 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman b6be8685c3 basis: ERROR: changes. 2015-08-13 03:20:39 -07:00
John Benediktsson 5fbe6aa9e6 ui.gadgets.labels: respect the labels background and foreground. 2015-07-25 22:38:34 -07:00
John Benediktsson dce364faa2 ui.gadgets.labels: trigger relayout when string changes. 2015-07-10 14:06:53 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
John Benediktsson 14b3261bef ui: cleanup some using lists. 2015-01-29 11:41:18 -08:00
John Benediktsson cfa87365e3 ui.baseline-alignment: add concept of "aligned-gadget".
This type of gadget caches baseline and cap-height for performance.
2012-09-18 15:48:49 -07:00
John Benediktsson b80992b27a Revert "ui.gadgets.labels: use font-metrics directly."
This reverts commit d9fdd71d64.
2012-09-18 09:19:29 -07:00
John Benediktsson 45f0db5f78 ui.gadgets: add some inline. 2012-09-17 17:21:31 -07:00
John Benediktsson eb1a4db801 ui.gadgets.labels: use font-metrics directly. 2012-09-17 14:12:25 -07:00
Slava Pestov 80d0ed0110 ui.gadgets.labels: fix stack effects for label-on-left and label-on-right 2010-07-18 17:38:51 -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
Doug Coleman bd13e018dd memq? -> member-eq?, sorted-memq? -> sorted-member-eq? 2009-10-28 15:02:00 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Keith Lazuka 9c7d45e08a Removed text shadow support 2009-09-08 14:22:27 -04:00
Keith Lazuka 3fb75247b2 Applied ui-tweaks patchset.
- prettyprinter now does syntax highlighting of Factor code
- added a prettyprinter.stylesheet vocab
- text shadow character style for formatted streams
- text shadow for labels
- toolbar buttons display keyboard shortcut in status bar rather than in the button title
- changed some colors in help.stylesheet to match the colors in Factor's scrollbars and border-buttons
- changed status bar color to match the dark blue in Factor's scrollbars
- added some internal padding to the browser gadget to give the article content some breathing room

NOTE: I removed the "pane" slot from browser-gadget. The slot was never used (at least in my image), and now that the browser-gadget's help-pane is wrapped by a "border" gadget, the slot name would be misleading.
2009-09-08 13:30:30 -04:00
Slava Pestov c7dc4f1080 Split off baseline alignment code into ui.baseline-alignment, and add cap-height generic word 2009-02-17 06:10:02 -06:00
Slava Pestov d5d9c65859 Remove new-gadget since it was just an alias for new 2009-02-16 04:04:32 -06:00
Slava Pestov 09630e5bf4 Fancy new buttons 2009-02-14 21:53:39 -06:00
Slava Pestov 4c86bd0951 Various UI cosmetic fixes 2009-02-14 20:46:35 -06:00
Slava Pestov 54a58cc196 Split off ui.pens from ui.render 2009-02-12 03:58:42 -06:00
Slava Pestov d1a5bf2073 Working on ui.images; change draw-gadget to translate to origin for you 2009-02-10 18:47:34 -06:00
Slava Pestov df62cb8edb Better error checking for labels and text rendering 2009-02-09 00:22:41 -06:00
Slava Pestov 148317846b Update various vocabularies for colors.constants 2009-02-05 22:17:15 -06:00
Slava Pestov 193be29964 Working on baseline alignment 2009-02-02 13:45:06 -06:00
Slava Pestov d31b902f96 Add horizontal and vertical orientation constants, working on baseline alignment 2009-02-02 00:02:55 -06:00
Slava Pestov 0835eb374b UI cleanup: make some ui.gadgets words private, give labels a virtual slot instead of label-string/set-label-string words 2009-02-01 20:31:42 -06:00
Slava Pestov 990c99a97e Add foreground and background color slots to font tuple 2009-01-30 03:36:39 -06:00
Slava Pestov 2a7d353251 Debugging Core Text, get colored text working and fix memory management issue 2009-01-21 19:34:42 -06:00
Slava Pestov d82a68a14c Clean up font API a little bit; users no longer have to call open-font arbitrarily 2009-01-16 00:43:51 -06:00
Slava Pestov 2b2f95e711 Merge branch 'master' into new_ui 2009-01-11 22:56:27 -06:00
Slava Pestov 1c1e36621a Small cleanup for ui.gadgets.labels 2009-01-11 19:40:17 -06:00
Slava Pestov bdaa5eac31 Minor UI documentation updates 2009-01-06 23:30:08 -06:00
Slava Pestov cdf3b48986 Refactoring usages of >r/r> to dip in UI 2008-11-28 00:02:02 -06:00
Slava Pestov c75c4efefd Add unit test for pack pref-dim bug 2008-11-19 19:08:12 -06:00
Slava Pestov f0c61b9499 Rewrite OpenGL rendering code
- Don't use glPolygonMode to draw outline rectangles
- Use vertex arrays instead of glBegin/glVertex/glEnd
- Remove dead code from opengl vocabulary
- draw-interior and draw-boundary are now called with origin get [ ... ] with-translation
2008-11-11 00:28:37 -06:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov b7610e0bf7 Fix ridiculous indentation, over (>>foo), and other crap in UI 2008-09-27 14:36:04 -05:00
Slava Pestov 44f53de164 Move make to its own vocabulary, remove fry _ feature 2008-09-10 20:07:00 -05:00
Doug Coleman e060a103b2 new accessors 2008-09-01 22:44:10 -05:00
Eduardo Cavazos daee534587 Update accessors from
ui.gadgets.{grid-lines,grids,incremental,labelled,labels,lists,panes}
2008-08-30 21:58:13 -05:00
Eduardo Cavazos 7402cd2ab7 Move 'ui' to basis 2008-08-07 21:12:50 -05:00