[fix] Better color?
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
void prepare(UINT32 width, UINT32 height, COLOR_RGB color = {144, 238, 145});
|
||||
void prepare(UINT32 width, UINT32 height, COLOR_RGB color = {34, 139, 34});
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <graphics/context.h>
|
||||
#include <graphics/draw.h>
|
||||
|
||||
void pf_print_char(char c, unsigned int basex, unsigned int basey,
|
||||
void pf_print_char(char c, uint16_t basex, uint16_t basey,
|
||||
COLOR_RGB color = {255, 255, 255, 255}); // Pixel Font 打印字符
|
||||
void pf_print(const char* text, COLOR_RGB color = {255, 255, 255, 255}); // Pixel Font 打印string
|
||||
void pf_reset_position(void); // 重设Pixel Font Cursor位置
|
||||
void pf_print(const char* text, uint16_t basex, uint16_t basey, COLOR_RGB color = {255, 255, 255, 255}); // Pixel Font 打印string
|
||||
// void pf_reset_position(void); // 重设Pixel Font Cursor位置
|
||||
Reference in New Issue
Block a user