Commit Graph

51 Commits (84c7f10ab7dbc5e0d3d901b848ef018ddb39a86d)

Author SHA1 Message Date
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 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 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 2d5bc00029 Fix pane selection to begin at hand-click-loc not hand-loc 2008-12-18 01:11:00 -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 d74af138e1 Fix shift-drag selection in panes 2008-11-20 18:30:08 -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 b1d82c6c74 More indentation fixes 2008-09-27 18:44:51 -05:00
Slava Pestov b7610e0bf7 Fix ridiculous indentation, over (>>foo), and other crap in UI 2008-09-27 14:36:04 -05:00
Eduardo Cavazos 289b366d40 Update old accessors from 'ui.traverse' 2008-09-01 18:24:26 -05:00
Eduardo Cavazos 7535c1d256 Another big accessors batch update 2008-08-31 01:42:30 -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 04f8eaf220 ui.*: Use new accessors 2008-08-29 18:44:19 -05:00