Skip to content

Releases: thommcgrath/ArtisanKit

Artisan Kit 1.2.2

07 Feb 19:32
Compare
Choose a tag to compare
  • Added ArtisanKit.NearestMultiple method to help controls improve drawing sharpness at any scaling factor.
  • Updated ArtisanKit.BlendColors method to improve how colors are blended together. Now possible to blend colors with alpha channels.

ArtisanKit 1.2.1

06 Jan 16:42
Compare
Choose a tag to compare
  • Fixed some event names that Xojo decided not to rename.
  • Cleaned up more API 2 deprecation warnings introduced in Xojo 2020r2.
  • Control now has an Animated property that will automatically prevent all animations triggered by StartAnimation.
  • Custom focus ring drawing seems to have stopped working. No solution has been found at this time.
  • Added Color.AtOpacity method for decreasing the opacity of colors.
  • Added Graphics.NewPicture method for creating picture objects that match the Graphics object's scaling settings.

Artisan Kit 1.1.0

29 Oct 13:44
Compare
Choose a tag to compare

Updated for Xojo 2018r3 and dark mode

Added 3 new methods:

  • IsDarkMode: A simple wrapper for REALbasic.IsDarkMode when available (2018r3 and newer) or returns False when not available (2018r2 and earlier)
  • ColorLuminance: Calculates the relative luminance of a color. Useful for calculating contrast between colors.
  • ColorIsBright: Uses brightness and luminance to determine if a color appears "light" on the screen.

v1.0.1

04 Jan 02:34
Compare
Choose a tag to compare

Minor feature release:

  • It is now possible to start or update an animation from the ArtisanKit.Control.AnimationStep event. Previously, if the animation was on the final step, a newly started animation would be stopped too. This essentially prevented looping animations.
  • Added Finished As Boolean parameter to ArtisanKit.Control.AnimationStep event. This will be true when the final step of an animation is being executed.
  • Added Ease As Boolean = True parameter to ArtisanKit.Control.StartAnimation method. Previously, all animations would use an 'ease-out' effect. Now, when Ease is false, the animation will run at a steady pace.

v1.0.0

29 Oct 03:21
Compare
Choose a tag to compare

Initial release