Rename modelBmp using new 'displayName', add more options (#544)
* Make img buf only size of img not whole widget * Don't draw buffer if there's no image * If there's no image, draw model name * Add some options, draw model name if img not set Add options for text colour, size, fill enable and colour * Use valid values for defaults * Get right colours * Add concept of a 'friendly name to widgets' Allows for separation of internal and user visible names * Use new theme constants * Use right version of libopenui * `displayName` instead of `friendlyName` * Allow using theme colour or custom for name
This commit is contained in:
@@ -940,3 +940,5 @@ const char STR_RACING_MODE[] = TR_RACING_MODE;
|
||||
#if defined(PCBNV14)
|
||||
const char STR_RFPOWER_AFHDS2[] = TR_RFPOWER_AFHDS2;
|
||||
#endif
|
||||
|
||||
const char STR_USE_THEME_COLOR[] = TR_USE_THEME_COLOR;
|
||||
|
||||
Reference in New Issue
Block a user