mirror of
https://github.com/opentx/opentx.git
synced 2025-07-14 11:59:50 +03:00
Bsongis/gui refactoring for x7 d (#3701)
* [X7D] New board added * Cosmetics
This commit is contained in:
parent
282b856309
commit
d3ae3c035d
233 changed files with 7472 additions and 4560 deletions
|
@ -18,9 +18,22 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef _STRHELPERS_H_
|
||||
#define _STRHELPERS_H_
|
||||
|
||||
char * strAppend(char * dest, const char * source, int len=0);
|
||||
char * strAppendUnsigned(char * dest, uint32_t value, uint8_t digits=0, uint8_t radix=10);
|
||||
char * strAppendSigned(char * dest, int32_t value, uint8_t digits=0, uint8_t radix=10);
|
||||
char * strSetCursor(char * dest, int position);
|
||||
char * strAppendDate(char * str, bool time=false);
|
||||
char * strAppendFilename(char * dest, const char * filename, const int size);
|
||||
|
||||
#if defined(CPUARM) && !defined(BOOT)
|
||||
char * getStringAtIndex(char * dest, const char * s, int idx);
|
||||
char * getStringWithIndex(char * dest, const char * s, int idx);
|
||||
char * getCurveString(char * dest, int idx);
|
||||
char * getSwitchString(char * dest, swsrc_t idx);
|
||||
char * getSourceString(char * dest, mixsrc_t idx);
|
||||
#endif
|
||||
|
||||
#endif // _STRHELPERS_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue