Skip to content

Commit

Permalink
Update DisplayAttributeInfo.cpp
Browse files Browse the repository at this point in the history
leave color to app
  • Loading branch information
fxliang committed Jun 2, 2023
1 parent 6f702c3 commit 1686d1c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions WeaselTSF/DisplayAttributeInfo.cpp
Expand Up @@ -6,13 +6,14 @@
const WCHAR _daiInputName[] = L"DisplayAttributeInput";
const WCHAR _daiDescription[] = L"Weasel Display Attribute Input";

// change style only, leave color to app
const TF_DISPLAYATTRIBUTE _daiDisplayAttribute =
{
{ TF_CT_COLORREF, RGB(255, 0, 0) }, // text color
{ TF_CT_NONE, 0 }, // text color
{ TF_CT_NONE, 0 }, // background color (TF_CT_NONE => app default)
TF_LS_DOT, // underline style
FALSE, // underline boldness
{ TF_CT_COLORREF, RGB(0, 0, 0) }, // underline color
{ TF_CT_NONE, 0 }, // underline color
TF_ATTR_INPUT // attribute info
};

Expand Down

0 comments on commit 1686d1c

Please sign in to comment.