mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-21 13:24:30 -04:00
String functions now default to length = 0, no padding.
This commit is contained in:
parent
e51db769e6
commit
4aa1c8fb65
1 changed files with 5 additions and 3 deletions
|
@ -40,9 +40,11 @@ namespace ui {
|
|||
|
||||
extern void dirty_event();
|
||||
|
||||
std::string to_string_dec_uint(const uint32_t n, const int32_t l, const char fill = 0);
|
||||
std::string to_string_dec_int(const int32_t n, const int32_t l, const char fill = 0);
|
||||
std::string to_string_hex(const uint32_t n, const int32_t l);
|
||||
// TODO: Move these somewhere else!
|
||||
// TODO: Allow l=0 to not fill/justify? Already using this way in ui_spectrum.hpp...
|
||||
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 {
|
||||
FocusManager focus_manager;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue