B4i Library [B4X] [XUI] SD LiquidProgress (Bar)

Discussion in 'iOS Libraries' started by Star-Dust, Mar 8, 2019.

  1. Star-Dust

    Star-Dust Expert Licensed User

    Made entirely with B4i with XUI

    Android version
    Desktop version

    iSD_LiquidProgress

    Author: Star-Dust
    Version: 0.045
    • LiquidProgress
      • Functions:
        • Class_Globals As NSString*
        • DesignerCreateView (Base As NSObject*, Lbl As B4ILabelWrapper*, Props As B4IMap*) As NSString*
          Base type must be Object
        • Initialize (ba As B4I*, Callback As NSObject*, EventName As NSString*) As NSString*
        • Invalidate As NSString*
        • IsInitialized As BOOL
          Verifica se l'oggetto sia stato inizializzato.
        • Wait (Milliseconds As Long long)
          Eg. use:
          SD_LiquidProgress1.Wait(2000)
          Sleep(2000)
      • Properties:
        • BackgroundColor As Int
        • BackgroundWaveColor As Int
        • TextSize As Int
        • TextVisible As BOOL
        • Value As Int
          Value 0 to 100
        • WaveColor As Int
    Video1.gif
     

    Attached Files:

    Last edited: Jun 14, 2019
  2. Mashiane

    Mashiane Expert Licensed User

    A waterball. Cool..
     
  3. Star-Dust

    Star-Dust Expert Licensed User

    Thank's. I had put aside a dozen or so Views to make, but I did not have time, now I have developed and published them 3. I have discarded some of them.

    Others will realize it at my next break :rolleyes: But I'll probably just do Android, there seems to be less interest in iOS. o_O
     
    Last edited: Mar 8, 2019
    JMB and Mashiane like this.
  4. Alexander Stolte

    Alexander Stolte Well-Known Member Licensed User

    Because i Code the Android App first and then the ios app, the others maybe too.
     
  5. Star-Dust

    Star-Dust Expert Licensed User

    Update rel 0.02

    You can change colors and contains a method to pause the progression but keep the animation

    Code:
    LiquidProgress1.Wait(PauseTime)
    Sleep(PauseTime)
    Video1.gif
     
    Last edited: Mar 9, 2019
    Alexander Stolte likes this.
  6. Star-Dust

    Star-Dust Expert Licensed User

    Update rel 0.03

    Code:
    LiquidProgress1.ProgressTextVisible=False
    LiquidProgress1.Invalidate
     
    Last edited: Mar 10, 2019
    Alexander Stolte likes this.
  7. Star-Dust

    Star-Dust Expert Licensed User

    Update rel 0.04
     
  8. Star-Dust

    Star-Dust Expert Licensed User

    I started working on a version where the view fills with Beer. Very refreshing.
    I need to improve the foam ... I'll study it a little bit

    Unfortunately, I will not be able to distribute it

    Video1.gif
     
  9. Mashiane

    Mashiane Expert Licensed User

  10. Mashiane

    Mashiane Expert Licensed User

    Here is your answer Anand...:D
     
    AnandGupta likes this.
  11. Star-Dust

    Star-Dust Expert Licensed User

    Mashiane likes this.
  12. AnandGupta

    AnandGupta Active Member Licensed User

    I watched closely and I see the beer foam is a circular image, which is revealed part by part as the wave goes up.
    So we can have mango juice, coffee etc. just by changing the image in what you have distributed, I think :)

    Regards,

    Anand
     
    Mashiane and Alexander Stolte like this.
  13. Star-Dust

    Star-Dust Expert Licensed User

    Yes, but ice cold beer in the summer is better
     
    Mashiane and AnandGupta like this.
  14. Star-Dust

    Star-Dust Expert Licensed User

    update 0.05
    Video2.gif
     
    Erel and Alexander Stolte like this.
  15. JMB

    JMB Active Member Licensed User

    Great library Star-Dust. Nice work!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice