Commit graph

16 commits

Author SHA1 Message Date
evancz
e85f31fda5 New way to import that does not clutter global namespace. Switch uses of Nothing and Just to simpler expressions.
Fix IE9 bug due to `console.log`.
2012-11-20 23:18:32 -08:00
evancz
354c2efe43 Get rid of more closure compiler errors. 2012-11-14 00:30:06 -08:00
evancz
f508072988 Updates to get rid of closure compiler errors. 2012-11-14 00:06:22 -08:00
evancz
e52ece9b73 Get rid of Graphics module prefix. 2012-10-22 00:17:51 -07:00
evancz
bdb898df65 Rename libraries, dropping prefixes. This probably introduces some bugs. 2012-10-15 23:03:14 -07:00
evancz
16895c4384 Add monospace back to asText 2012-10-04 12:18:01 -04:00
evancz
02adbe1e40 Change the type of show. It now produces a String. 2012-10-04 00:54:41 -04:00
evancz
6a4cf28866 Add a bunch of functions to classify chars.
Remove an unnecessary `console.log`
2012-10-04 00:39:00 -04:00
evancz
c9c17b34ef Rename insideForm to isWithin.
Rename `foldp1` to `foldp'`, I think the previous name suggests different behavior.
Add `foldp1 :: (a -> a -> a) -> Signal a -> Signal a`
Add type hints for all of these functions.
2012-10-02 22:57:52 -04:00
evancz
bb1d53de2e add insideForm :: Point -> Form -> Bool function that checks to see if a point is inside of a form. 2012-09-27 17:18:29 -04:00
evancz
bcfdf66ed9 Add images function. 2012-09-13 12:25:14 -07:00
evancz
5fbc042066 Fix size analysis of text in IE and FireFox 2012-09-11 13:57:42 -07:00
evancz
38d0e8f2e6 Add support for links and DOM nodes. Fix lots of bugs. 2012-09-11 02:52:03 -07:00
evancz
0e613a1058 Include Graphics.Element by default. Fix bugs for fittedImage and change when the string for video is converted to a JSString. 2012-09-02 00:27:36 -05:00
evancz
2f5d4459ef Fix up graphics libraries:
- All basic elements can now be displayed and updated. Updates no longer rebuild the whole scene; instead they only replace as necessary.
- Add `container` primitive which allows people to position Elements in a more flexible way.
- Collages can now handle sprites, textures, and Elements!

Still need to work on making Signal.Input play nice with the new Graphics libs.
2012-09-01 16:38:09 -05:00
evancz
1501160bac Begin rewrite of rendering engine. 2012-08-31 01:42:33 -05:00