mit-cml/appinventor-sources — pull request #26 by themadrobot (2013-07-01 22:23:05+00:00)
Title: Button component

I have added the following modifications to the button component

Button Component mods (file changed:ButtonBase.java)
=====================

- (added properties in the block editor)
- italic (Getter)
- bold (Getter)
- fontsize (Getter/setter)

- fontstyle (Getter/Setter)
I have added this as I have always wonder why italics never worked when I set it.
The reason for this is italic is on available with Sans Serif.
There are only 7 available fontstyle so that is the reason for me adding this property

- (added events in the block editor)
- TouchUp
- Touchdown

Block editor block family Mods (files changed: OUTPUT_FOOTER.txt, OUTPUT_HEADER.txt)
==============================
FontStyle block family added
- This contains the 7 possibly fontstyle available.
Used with Textbox, Button, Label components
font styles are:
SansSerif Normal, SansSerif Bold
Serif Normal, Serif Bold, Serif Italic, Serif Bold Italic
Monospace Normal

ImageAnimation added
- This is the 6 Imageanimation allowed for use with the Image.Animation block
ScrollLeftSlow, ScrollLeft, ScrollLeftFast
ScrollRightSlow, ScrollRight, ScrollRightFast

Testing done
============
- Manually tested the change to the component fully
- Junit testing not done (Not sure how to do this)
- Unit testing not done (Not sure how to do this)