Commit graph

9 commits

Author SHA1 Message Date
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
8a79164a21 Distinguish between DOM nodes created by Elm and ones imported from JS. 2012-09-13 21:28:16 -07: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