Commit Graph

11 Commits (3fb2511b537f8511171cccba886e2f730c256b57)

Author SHA1 Message Date
kts 3fb2511b53 Added callback system to CBDL.Event, allowing for a scope-aware function to be triggered when any Event comes in. This can be used as an alternative to a standard poll-based Loop. Added additional code related to adding and firing custom Events, even to objects that are not DOM elements - this needs work, however. Added the Line object to CBDL.Graphics. This is fully implemented in the Canvas renderer, but needs to be properly implemented in the Div renderer. Fixed Div renderer's String object to use the xmp element type rather than div for rendering text. 2014-09-04 16:05:53 -04:00
kts 8d1a4f86f5 Fixed FILL video mode to allow for proper resize handling. Added some additional functionality to get the width in pixels of a string by creating, measuring, and destroying a hidden div containing the wanted string in a given Font. 2014-08-12 17:47:41 -07:00
kts 9d5fcedf00 Fixed CANVAS_2D rendering for boxes, added setColor, setSize, and setScale to Box and Drawable. Other CANVAS_2D fixes to allow similar support to DIV backend. Also added VideoMode flags FILL, for filling the window size, and ABSOLUTE, for absolute and top-left positioning 2013-08-04 22:32:40 -07:00
kts 44678b18af pew pew, no idea 2013-08-04 11:25:51 -07:00
kts 8e14a7aea6 No idea, as I hadn't committed in months 2013-07-02 19:28:26 -07:00
kts 2f3a24e8a6 forgot to add test.gif and test.png 2013-03-20 19:11:02 -07:00
kts 97b448abe8 Added a buncha display backend stuff. Currently implemented is an HTML5 canvas display and a traditional Div-based display using CSS3 for rotation, scaling, etc.. Stub in-place for WebGL 2D Display 2013-03-20 19:08:33 -07:00
kts 73f99487ea Made Events work under IE, added some TODO for Events. Other minor adjustments for IE9+ compatability ( <=IE8 needs some fixes) 2013-03-17 22:50:32 -07:00
kts 7ad8029abf Added the Events system, created proper Graphics.Display backends and made them selectable on start, created Graphics.Drawable stubs, tidied up and messied up some of them codes 2013-03-17 21:45:08 -07:00
Meegwun Southall cb336968a7 Made some minor changes to CBDL, added some TODO issues that need to be resolved. Mainly to test commits from a mobile platform 2013-03-15 11:13:49 -07:00
kts 2820319212 Added base CBDL files. At the moment, CBDL.Loop is broken and CBDL.Includes are hacked - to be fixed, but initial commits are important! 2013-03-14 23:11:30 -07:00