-setpal & getpal renamed to setcolor & getcolor

-setcolor & getcolor now use r, g & b instead of uint32
This commit is contained in:
2022-10-05 17:47:58 +02:00
parent a9f7d46afd
commit 8415841c5c
3 changed files with 18 additions and 12 deletions

4
mini.h
View File

@@ -123,8 +123,8 @@ void cls(uint8_t color=0);
void color(uint8_t color=6);
void loadpal(const char* filename);
void setpal(uint8_t index, uint32_t color);
uint32_t getpal(uint8_t index);
void setcolor(uint8_t index, uint32_t color);
uint32_t getcolor(uint8_t index);
void settrans(uint8_t index);
uint8_t gettrans();