Lane's Blog

Roguestar, Haskell, and Fun

Skip to: Content | Sidebar | Footer

Category: Uncategorized

Paintable User Interfaces

30 November, 2009 (14:32) | Uncategorized | By: Lane

It seems like it should be possible to have some kind of GUI library in which user interface elements can be painted onto the screen frame-by-frame, instead of the common practice of assembling an object-oriented hierarchy of widgets.
I’m thinking of something like (rough ECMA-like pseudocode):

static var clicks = 0;
drawRectangle( 0, 0, 100, 100)
drawText( 0, [...]

ANN: priority-sync

29 April, 2009 (17:28) | Uncategorized | By: Lane

Provides cooperative task prioritization.
The priority-sync package on hackage.haskell.org.
$ cabal install priority-sync
$ git clone http://www.downstairspeople.org/git/priority-sync.git
Feedback will be greatly appreciated. This package is a spin-off from my work on roguestar, where I need to do significant background processing while retaining enough resources to perform smooth animation.