mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
String functions now default to length = 0, no padding.
This commit is contained in:
parent
e51db769e6
commit
4aa1c8fb65
@ -40,9 +40,11 @@ namespace ui {
|
|||||||
|
|
||||||
extern void dirty_event();
|
extern void dirty_event();
|
||||||
|
|
||||||
std::string to_string_dec_uint(const uint32_t n, const int32_t l, const char fill = 0);
|
// TODO: Move these somewhere else!
|
||||||
std::string to_string_dec_int(const int32_t n, const int32_t l, const char fill = 0);
|
// TODO: Allow l=0 to not fill/justify? Already using this way in ui_spectrum.hpp...
|
||||||
std::string to_string_hex(const uint32_t n, const int32_t l);
|
std::string to_string_dec_uint(const uint32_t n, const int32_t l = 0, const char fill = 0);
|
||||||
|
std::string to_string_dec_int(const int32_t n, const int32_t l = 0, const char fill = 0);
|
||||||
|
std::string to_string_hex(const uint32_t n, const int32_t l = 0);
|
||||||
|
|
||||||
struct Context {
|
struct Context {
|
||||||
FocusManager focus_manager;
|
FocusManager focus_manager;
|
||||||
|
Loading…
Reference in New Issue
Block a user