mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-25 23:30:40 -04:00
Extract to_string_* functions from ui_widget.
This commit is contained in:
parent
d8c59e2ce2
commit
76845c4335
12 changed files with 178 additions and 122 deletions
|
@ -41,12 +41,6 @@ void dirty_set();
|
|||
void dirty_clear();
|
||||
bool is_dirty();
|
||||
|
||||
// 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);
|
||||
|
||||
class Context {
|
||||
public:
|
||||
FocusManager& focus_manager() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue