Subscribe to library updates

DonManfred

Expert
Licensed User
Longtime User
FancButton V1.0.3
New Parameter in Initialize; AllowDismiss true/false. When set to true the button will be SwipeToDismissAble

Events for
- Click
- LongClick
- Hover
and SwipeToDismiss

B4X:
Sub fb_ondismiss(v As Object, Tag As Object)
    Log($"fb_ondismiss"$)
    Log("token: "&Tag)
    If v Is FancyBtn Then
        Dim fb As FancyBtn = v
        Log("fbtag: "&fb.Tag)
    End If
    'fb.Text = "X"

End Sub

Sub fb_Click(v As Object, Tag As Object)
    Log($"fb_Click"$)
    If v Is FancyBtn Then
        Dim fb As FancyBtn = v
        fb.Text = "Clicked"
    End If
End Sub
Sub fb_LongClick(v As Object, Tag As Object)
    Log($"fb_LongClick"$)
    If v Is FancyBtn Then
        Dim fb As FancyBtn = v
        fb.Text = "LongClicked"
    End If
End Sub
 

Informatix

Expert
Licensed User
Longtime User
LibGDX

I noticed that the Texture property of lgTextureRegion returned a different reference each time despite the texture was unchanged. This was due to an useless wrapping of the result. This mistake was in a dozen of other classes and is now fixed.

v1.06:
- I fixed a few bugs;
- I added a Texture property to lgSprite;
- I added the MotorJoint type to lgBox2DWorld;
- I added GetFixture to lgBox2DBody;
- I added Initialize3 to lgShapeRenderer to allow the use of custom shader programs;
- I added ScaleEffect to lgParticleEffect;
- I added CleanUpBlendFunction to lgParticleEmitter;
- I added scl2 to lgMathVector2;
- I added IsEnabled to lgGLProfiler;
- I added Percent, VisualPercent and VisualInterpolation to lgScn2DProgressBar;
- I added Percent, VisualPercent, VisualInterpolation and VisualInterpolationInverse to lgScn2DSlider;
- I added isLeftEdge, isRightEdge, isTopEdge, isBottomEdge to lgScn2DScrollPane;
- The Reset function of lgScn2DTableCell sets now all constraints to their default values;
- I modified the Map_Hexagonal example to display the coordinates of the touched hex.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…