- Use indexes for font parameter in formatDeleteMsg() & cutString()


Origin commit data
------------------
Branch: ni/coolstream
Commit: 0d5edc29e6
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-08-13 (Sat, 13 Aug 2016)



------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2016-08-13 15:58:06 +02:00
parent 6e4d4c45fc
commit 8ef5e4b610
2 changed files with 7 additions and 7 deletions

View File

@@ -37,8 +37,6 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <driver/fontrenderer.h>
int my_system(const char * cmd);
int my_system(int argc, const char *arg, ...); /* argc is number of arguments including command */
@@ -69,7 +67,7 @@ std::string getFileName(std::string &file);
std::string getFileExt(std::string &file);
std::string getNowTimeStr(const char* format);
std::string trim(std::string &str, const std::string &trimChars = " \n\r\t");
std::string cutString(const std::string str, Font *msgFont, const int width);
std::string cutString(const std::string str, int msgFont, const int width);
std::string strftime(const char *format, const struct tm *tm);
std::string strftime(const char *format, time_t when, bool gm = false);
time_t toEpoch(std::string &date);