Add basic tooltip
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <breeze.h>
|
||||
#include <raygui.h>
|
||||
#include "components.h"d
|
||||
|
||||
extern BzUI *UI; // defined in main.c
|
||||
|
||||
@@ -28,9 +29,11 @@ void uiSettingsSlider(const char *txt, f32 *value);
|
||||
void uiGameResCount(i32 amount, i32 capacity, Rectangle icon, Texture2D texture);
|
||||
|
||||
void uiGameRecruit(const char *label, Rectangle rec, Texture2D tex, i32 numRecruiting,
|
||||
f32 progress, bool canAfford, bool *selected);
|
||||
void uiGameBuild(const char *label, Rectangle rec, Texture2D tex, bool canAfford, bool *selected);
|
||||
f32 progress, bool canAfford, bool *selected, bool *hovered);
|
||||
void uiGameBuild(const char *label, Rectangle rec, Texture2D tex, bool canAfford, bool *selected, bool *hovered);
|
||||
bool uiGameTrade(const char *label, Rectangle rec, Texture2D tex, bool canAfford);
|
||||
bool uiGameUnit(const char *label, i32 count, Rectangle rec, Texture2D tex);
|
||||
|
||||
void uiGameTooltipCost(Vector2 pos, i32 costs[RES_COUNT], Texture2D tex);
|
||||
|
||||
#endif //PIXELDEFENSE_UI_WIDGETS_H
|
||||
|
||||
Reference in New Issue
Block a user