OSDN Git Service
(root)
/
opentween
/
open-tween.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5188f6e
)
ListFilterの描画時にアイテムの選択状態を考慮
author
Kimura Youichi
<kim.upsilon@bucyou.net>
Wed, 6 May 2015 08:54:10 +0000
(17:54 +0900)
committer
Kimura Youichi
<kim.upsilon@bucyou.net>
Wed, 6 May 2015 16:13:17 +0000
(
01:13
+0900)
OpenTween/FilterDialog.cs
patch
|
blob
|
history
diff --git
a/OpenTween/FilterDialog.cs
b/OpenTween/FilterDialog.cs
index
7baa9ab
..
98f4f7a
100644
(file)
--- a/
OpenTween/FilterDialog.cs
+++ b/
OpenTween/FilterDialog.cs
@@
-1374,10
+1374,11
@@
namespace OpenTween
e.DrawBackground();
var filter = (PostFilterRule)this.ListFilters.Items[e.Index];
+ var isSelected = e.State.HasFlag(DrawItemState.Selected);
Brush textBrush;
if (filter.Enabled)
- textBrush =
SystemBrushes.Control
Text;
+ textBrush =
isSelected ? SystemBrushes.HighlightText : SystemBrushes.Window
Text;
else
textBrush = SystemBrushes.GrayText;