- [NEW] Labels amb color configurable. Per defecte blanc, com sol ser en els propertygrids

This commit is contained in:
2024-06-11 14:20:13 +02:00
parent 5ddc41e87c
commit f96305b0a4
2 changed files with 7 additions and 5 deletions

View File

@@ -1,8 +1,10 @@
#pragma once
#include "colors.h"
namespace ui
{
void label(const char *label, const int x, const int y, const int w, const int h);
void label(const char *label, const int x, const int y, const int w, const int h, const int color=WHITE+LIGHT);
const int button(const char *label, const int x, const int y, const int w, const int h, const int c1, const int c2, const int c3);
const int check(const char *label, const int x, const int y, const int w, const int h, const bool checked);
const int combo(const char *label, const int x, const int y, const int w, const int h);