diff options
author | Christian Cunningham <cc@localhost> | 2022-03-12 09:47:04 -0800 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-03-12 09:47:04 -0800 |
commit | 468167fce9d64cb8f08832dd7586dd55f9200fb8 (patch) | |
tree | 2470776fdbf8ee4bb34fa36cb1e6010b5260cfc6 /include | |
parent | f1a310b37e482d091a4c4ac6cbbf7a27f4033a7e (diff) |
Draw Base-10 Numbers Easier
Diffstat (limited to 'include')
-rw-r--r-- | include/graphics/lfb.h | 3 | ||||
-rw-r--r-- | include/lib/strings.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/graphics/lfb.h b/include/graphics/lfb.h index 17c85ac..e8a7766 100644 --- a/include/graphics/lfb.h +++ b/include/graphics/lfb.h @@ -26,4 +26,7 @@ void draw_string(unsigned int lx, unsigned int ly, char* s); void draw_chex32(unsigned int lx, unsigned int ly, unsigned long val, unsigned int c); void draw_hex32(unsigned int lx, unsigned int ly, unsigned long val); +unsigned long draw_cu10(unsigned int lx, unsigned int ly, unsigned long val, unsigned int c); +unsigned long draw_u10(unsigned int lx, unsigned int ly, unsigned long val); + #endif diff --git a/include/lib/strings.h b/include/lib/strings.h index dd77324..b4a945e 100644 --- a/include/lib/strings.h +++ b/include/lib/strings.h @@ -4,6 +4,7 @@ #define string_t char* unsigned long strlen(string_t s); +void strcpy(string_t src, string_t dest); unsigned char strcmp(string_t a, string_t b); unsigned char strcmpn(string_t a, string_t b, unsigned int n); char* u32_to_str(unsigned long value); |