Animation time? 😛

I just ripped the animation selector code from LeafEdit for it, because it's basically the same like LeafEdit because of Rectangles.
This commit is contained in:
SuperSaiyajinStackZ
2020-01-14 18:24:39 +01:00
parent 021f1ebabd
commit 47bbcf2917
8 changed files with 60 additions and 56 deletions
+1
View File
@@ -48,6 +48,7 @@ namespace Gui
void sprite(int key, int x, int y, float ScaleX = 1, float ScaleY = 1);
void spriteBlend(int key, int x, int y, float ScaleX = 1, float ScaleY = 1);
void DrawArrow(int x, int y, float rotation = 0, int arrowSprite = 0);
void drawAnimatedSelector(float xPos, float yPos, float Width, float Height, float speed = .060, u32 colour = C2D_Color32(0, 0, 0, 0));
// Misc.
bool Draw_Rect(float x, float y, float w, float h, u32 color);