B4J Library [B4X] [XUI] mcSmoothFadingBG

This library creates a smooth background transition between random colours.
It can be used as a splash screen or show some kind of "Loading please wait" screen as seen in when installing windows

My first attempt in custom view


mcSmoothFadingBG

Author: Mcqueccu
Version: 1.00
  • mcSmoothFadingBG
    • Fields:
      • mBase As B4XView
    • Functions:
      • DesignerCreateView (Base As Object, Lbl As Label, Props As Map)
        Base type must be Object
      • Initialize (Callback As Object, EventName As String)
      • Start
        Starting the Smooth Color fading background transition
      • Stop
        Stops the Background color transition
    • Properties:
      • Duration As Int [write only]
        Set the Transition Duration
      • Status As Boolean [read only]
        Check the the background transitioning status
      • TransitionDuration As Int [read only]
        Get the Duration

QC2E5NaIek.gif
 

Attachments

  • SmoothFading Example.zip
    55 KB · Views: 202
  • mcSmoothFadingBG.b4xlib
    1.2 KB · Views: 195
Last edited:
Top