Slava Pestov
4f19f9b2c1
Fix UI pane selection
2009-04-02 09:09:09 -05:00
Slava Pestov
4dbb2aa491
Partial fix for pane selection
2009-04-01 22:24:49 -05:00
Slava Pestov
3bf5d2bfd4
Implement image tesselation in image.tesselation. This is used by opengl.textures to break up large bitmaps into multiple smaller textures. The gl-rect and gl-fill-rect words have different stack effects now, so usages were updated.
2009-03-27 18:31:25 -05:00
Slava Pestov
f4948ec970
Merge tools.test.ui into ui.gadgets.debug
2009-03-25 22:52:52 -05:00
Slava Pestov
723bfab030
Fixing unit tests for syntax change
2009-03-23 00:34:02 -05:00
Slava Pestov
be4fb1e7d9
Move call( and execute( to core
2009-03-16 20:11:36 -05:00
Slava Pestov
07a5a46009
Add stream-element-type generic word
2009-03-15 17:11:18 -05:00
Slava Pestov
7cefd48884
Tweak pane layout for better baseline alignment
2009-03-12 17:48:46 -05:00
Slava Pestov
667eca9410
Fix unit tests and help lint for 'see' move
2009-03-11 17:33:54 -05:00
Slava Pestov
5f196ba2ef
Fix bootstrap
2009-03-11 07:17:57 -05:00
Slava Pestov
692b648feb
Change tabular-output and smash-pane behavior to fix panes unit tests; re-organize panes code to make more words private
2009-03-11 03:17:30 -05:00
Slava Pestov
a3c23c53ca
Half-fix pane selection
2009-03-09 18:35:12 -05:00
Slava Pestov
7ec4f574a5
Clicking in the pane focuses the input area
2009-03-08 17:33:40 -05:00
Slava Pestov
5c88b18a9a
Oops, forgot to call prepare-last-line
2009-03-06 13:32:41 -06:00
Slava Pestov
4e8280be63
Fix problem where listener would scroll to the top sometimes
2009-03-05 16:33:09 -06:00
Slava Pestov
fa79803856
Fix text rendering for fonts where the image bounds exceed the metric bounds, such as Zapfino and Arabic fonts
2009-02-20 20:53:51 -06:00
Slava Pestov
773d292688
Panes fill up available space with the last line
2009-02-18 17:33:00 -06: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
9ebc487f44
Kill ui.gadgets.theme
2009-02-14 19:50:22 -06:00
Slava Pestov
da825003ae
io.styles: support image style
2009-02-11 04:53:33 -06:00
Slava Pestov
a465da365f
ui.tools.listener: position the input field next to the prompt
2009-02-09 22:40:11 -06:00
Slava Pestov
7b8e7f8092
Use call( in a bunch of places in the UI; update-ui infers now
2009-02-09 00:49:48 -06:00
Slava Pestov
06eb14573b
ui.gadgets.panes: set background color of labels to page-color
2009-02-07 18:13:33 -06:00
Slava Pestov
e0f8a3a7b1
derive-font: output base font if font given is f
2009-02-05 22:16:07 -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
669548e62e
Clean up some usages of tuck, and add Joe's curried cleave/spread/apply combinators to kernel vocabulary
2009-02-02 13:43:54 -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
af744e4511
Use singletons instead of empty tuples, add undo/redo to editor gadgets
2009-01-28 00:30:57 -06:00
Slava Pestov
b12d53938d
Remove a spin usage
2009-01-26 17:58:43 -06:00
Slava Pestov
5aec661b92
Rename font key in io.styles to font-name for clarity; clean up some nefarious stack shuffling in ui.gadgets.panes
2009-01-26 16:25:57 -06:00
Slava Pestov
bb27511753
Fixing code for first-class fonts
2009-01-26 02:21:28 -06:00
Slava Pestov
4f5a927afb
Move UI text backends to ui.text.*, move UI backends to ui.backend.*, add font datatype
2009-01-26 00:36:37 -06:00
Slava Pestov
fe7c2fecbe
Eliminate some more usages of tuck
2009-01-25 17:55:27 -06:00
Slava Pestov
21433c47ef
Fix conflict
2009-01-13 17:54:27 -06:00
Slava Pestov
4204fd495f
Move formatted stream output words to io.styles; they didn't belong in core, and this reduces deployed image size
2009-01-13 17:12:43 -06:00
Slava Pestov
723626a9d2
Add slot editing to UI inspector, remove slot editing from TTY inspector
2009-01-08 17:02:54 -06:00
Slava Pestov
bdaa5eac31
Minor UI documentation updates
2009-01-06 23:30:08 -06:00
Slava Pestov
f9851b195a
Working on new profiler tool
2008-12-22 00:54:08 -06:00
Slava Pestov
2d5bc00029
Fix pane selection to begin at hand-click-loc not hand-loc
2008-12-18 01:11:00 -06:00
Slava Pestov
63fda570bf
Fixing assorted compile errors and help lint warnings
2008-12-16 01:12:36 -06:00
Slava Pestov
daf2857d7b
define-inline now takes an effect parameter
...
C: now sets the stack effect of the new word to slot names
add new basis/constants vocab; CONSTANT: foo bar is equivalent to : foo bar ; inline
(going to fold CONSTANT:, ALIAS: and qualified into core soon perhaps)
tighten the screws: inline words now need a stack declaration too
update some usages of inline words
2008-12-15 19:44:56 -06:00
Slava Pestov
5fff1bdf05
Clean up ui.gadgets.menus, improve docs, ad add right-click menus to panes and editors with clipboard commands
2008-11-30 15:03:05 -06:00
Slava Pestov
cdf3b48986
Refactoring usages of >r/r> to dip in UI
2008-11-28 00:02:02 -06:00
Slava Pestov
7e71fe081c
Fix shift-drag again
2008-11-22 02:24:17 -06:00
Slava Pestov
fb918ab756
The event loop thread now adds events to a queue slurped by the UI update thread instead of handling them directly. This fixes a race condition where a gadget could end up handling an event before it was grafted or laid out
2008-11-21 23:01:20 -06:00