From 48b2f1f7fb2061f142f1db75c713dbeb2cf15e61 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Sun, 27 Feb 2005 21:51:12 +0000 Subject: [PATCH] some UI cleanups --- TODO.FACTOR.txt | 11 ++++++++++- examples/gadget-test.factor | 11 +---------- library/ui/buttons.factor | 11 +---------- library/ui/editors.factor | 6 +++--- library/ui/paint.factor | 36 +++++++++++++++++++++------------- library/ui/panes.factor | 18 ++++++++++++----- library/ui/scrolling.factor | 39 ++++++++++++++++++++++++------------- 7 files changed, 75 insertions(+), 57 deletions(-) diff --git a/TODO.FACTOR.txt b/TODO.FACTOR.txt index e3c9a597a4..642cafc47f 100644 --- a/TODO.FACTOR.txt +++ b/TODO.FACTOR.txt @@ -5,10 +5,17 @@ - faster completion - [ [ dup call ] dup call ] infer hangs - code gc -- don't hardcode so many colors - ffi unicode strings: null char security hole - utf16 string boxing ++ ui: + +- fix up the min thumb size hack +- fix up initial layout of slider +- clicking in scroll bar: jump +- clicking thumb: drag +- console: scroll to bottom + + compiler/ffi: - more accurate types for various words @@ -31,6 +38,8 @@ + i/o: +- udp +- ipv6 - stream server can hang because of exception handler limitations - better i/o scheduler - nicer way to combine two paths diff --git a/examples/gadget-test.factor b/examples/gadget-test.factor index 1d9e32259f..368c489b32 100644 --- a/examples/gadget-test.factor +++ b/examples/gadget-test.factor @@ -48,15 +48,6 @@ USE: words : dup moving-actions ; -: junk - - dup [ - [ - print-banner - listener - ] in-thread - ] with-stream ; - : make-shapes ( -- ) f world get set-gadget-children @@ -73,7 +64,7 @@ USE: words ! "Welcome to Factor " version cat2