uiUnderlineSuggestion with uiUnderlineColorCustom
- Ngôn ngữ chính
- C
- Star
- 10.9k
- Fork
- 612
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
`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, ") ");
```

Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.