motion-blitz icon indicating copy to clipboard operation
motion-blitz copied to clipboard

Update & Refactor

Open markrickert opened this issue 9 years ago • 1 comments

I did a lot of refactoring in this branch... converted all the methods into a global invoke method that takes a hash of data and sets defaults.

  • Updated SVProgressHUD to 1.1.3
  • Added ability to show an arbitrary image
  • Added Motion::Blitz.visible? to see if the HUD is being displayed
  • Added the new "info" style
  • Added global style setters - backgorund_color=, foreground_color=, font=, info_image=, success_image=, error_image=, default_mask_type=.
  • Added some associated style getters
  • Added some basic tests as well as a .travis.yml file for automated testing on github.

Let me know what you think :)

markrickert avatar Jul 22 '15 16:07 markrickert