uiUnderlineSuggestion with uiUnderlineColorCustom
- Vorherrschende Sprache
- C
- Sterne
- 10.9k
- Forks
- 612
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
`uiUnderlineSuggestion` doesn't work with `uiUnderlineColorCustom`:
In the drawtext example:
```c
uiAttributedStringAppendUnattributed(attrstr, "Furthermore, there are attributes allowing for ");
attr = uiNewUnderlineAttribute(uiUnderlineSuggestion);
attr2 = uiNewUnderlineColorAttribute(uiUnderlineColorSpelling, 0, 0, 0, 0);
appendWithAttribute("special underlines for indicating spelling errors", attr, attr2);
uiAttributedStringAppendUnattributed(attrstr, " (");
attr = uiNewUnderlineAttribute(uiUnderlineSuggestion);
attr2 = uiNewUnderlineColorAttribute(uiUnderlineColorCustom, 0.1, 0.1, 0.9, 1);
appendWithAttribute("and other types of errors", attr, attr2);
uiAttributedStringAppendUnattributed(attrstr, ") ");
```

Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.