B4A Library [B4X] [XUI] SD RevealColorView

Discussion in 'Additional libraries, classes and official updates' started by Star-Dust, Jul 16, 2018.

  1. Star-Dust

    Star-Dust Expert Licensed User

    This XUI library serves to change color to an animation (XUI) panel.
    RevealColor is a panel and has the same methods as an XUI panel.
    Required XUI 1.72+

    SD_XUI_RevealColorView

    Author: Star-Dust
    Version: 0.01
    • RevealColorView
      • Functions:
        • AddView (View As B4XView, Left As Int, Top As Int, Width As Int, Height As Int) As String
        • BringToFront As String
        • Class_Globals As String
        • DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String
          Base type must be Object
        • GetAllViewsRecursive As List
        • GetView (Index As Int) As B4XView
        • Initialize (Callback As Object, EventName As String) As String
        • IsInitialized As Boolean
          Verifica se l'oggetto sia stato inizializzato.
        • RemoveAllViews As String
        • RemoveViewFromParent As String
        • RequestFocus As String
        • SendToBack As String
        • setColor (NewColor As Int, x As Int, Y As Int)
        • Snapshot As B4XView
      • Properties:
        • Enable As Boolean
        • Height As Int
        • Left As Int
        • Tag As Object
        • Top As Int
        • Visible As Boolean
        • Width As Int

    video1.gif

    Code:
    RevealColorView1.setColor(xui.Color_Red,CenterX,BottomY)
     

    Attached Files:

    Last edited: Jul 17, 2018
  2. touchvip

    touchvip Member Licensed User

    very good!
     
  3. klaus

    klaus Expert Licensed User

    You should not use this prefix in the thread title: [B4X] [XUI]!
    It leads to misunderstanding. [B4X] [XUI] means cross platform.
    But your project is B4A only!
    Even though the code in your module might be cross platform, but, as soon as you compile it to a library it becomes mono platform.
    The B4X code can be cross platform, but libraries are always mono platform, they need platform specific code.
     
    Erel likes this.
  4. Star-Dust

    Star-Dust Expert Licensed User

    Thank's
     
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