Well-defined initial identicon color.
This commit is contained in:
parent
7f7910f0a9
commit
44a9ee0f15
@ -210,7 +210,7 @@ MPIdenticon mpw_identicon(const char *fullName, const char *masterPassword) {
|
|||||||
.body = "",
|
.body = "",
|
||||||
.rightArm = "",
|
.rightArm = "",
|
||||||
.accessory = "",
|
.accessory = "",
|
||||||
.color=0,
|
.color = 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
MPIdenticon identicon = {
|
MPIdenticon identicon = {
|
||||||
|
@ -107,7 +107,8 @@ typedef mpw_enum ( uint32_t, MPCounterValue ) {
|
|||||||
|
|
||||||
/** These colours are compatible with the original ANSI SGR. */
|
/** These colours are compatible with the original ANSI SGR. */
|
||||||
typedef mpw_enum( uint8_t, MPIdenticonColor ) {
|
typedef mpw_enum( uint8_t, MPIdenticonColor ) {
|
||||||
MPIdenticonColorRed = 1,
|
MPIdenticonColorBlack,
|
||||||
|
MPIdenticonColorRed,
|
||||||
MPIdenticonColorGreen,
|
MPIdenticonColorGreen,
|
||||||
MPIdenticonColorYellow,
|
MPIdenticonColorYellow,
|
||||||
MPIdenticonColorBlue,
|
MPIdenticonColorBlue,
|
||||||
|
Loading…
Reference in New Issue
Block a user