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:
@@ -1120,6 +1120,8 @@ extern const char STR_AUTH_FAILURE[];
|
||||
extern const char STR_PROTOCOL[];
|
||||
extern const char STR_RACING_MODE[];
|
||||
|
||||
extern const char STR_USE_THEME_COLOR[];
|
||||
|
||||
#define CHR_HOUR TR_CHR_HOUR
|
||||
#define CHR_INPUT TR_CHR_INPUT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user