• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision0ff6b47fb881a30627195e5f5044b8b4179cd2bb (tree)
Zeit2011-02-16 20:25:11
Autorazyobuzin <azyobuzin@user...>
Commiterazyobuzin

Log Message

StatusesListViewの描画を元に戻した

Ändern Zusammenfassung

  • delete: "\202\302\202\242\202\351\202\361\202\351\202\361/Controls/StatusesListView.cs"

Diff

--- "a/\202\302\202\242\202\351\202\361\202\351\202\361/Controls/StatusesListView.cs"
+++ "b/\202\302\202\242\202\351\202\361\202\351\202\361/Controls/StatusesListView.cs"
@@ -114,16 +114,15 @@ namespace Azyobuzi.Twirunrun
114114
115115 e.Graphics.InterpolationMode = InterpolationMode.High;
116116
117- using (var b = (e.ItemState & ListViewItemStates.Selected) == ListViewItemStates.Selected ?
118- (Brush)new LinearGradientBrush(e.Bounds, Color.FromArgb(240, 250, 255), Color.FromArgb(170, 240, 255), LinearGradientMode.Vertical)
119- : (Brush)new SolidBrush(e.SubItem.BackColor))
117+ using (var b = new SolidBrush(
118+ (e.ItemState & ListViewItemStates.Selected) == ListViewItemStates.Selected ?
119+ SystemColors.Highlight : e.SubItem.BackColor))
120120 {
121121 e.Graphics.FillRectangle(b, e.Bounds);
122122 }
123123
124- //var foreColor = (e.ItemState & ListViewItemStates.Selected) == ListViewItemStates.Selected ?
125- // SystemColors.HighlightText : e.Item.ForeColor;
126- var foreColor = e.SubItem.ForeColor;
124+ var foreColor = (e.ItemState & ListViewItemStates.Selected) == ListViewItemStates.Selected ?
125+ SystemColors.HighlightText : e.Item.ForeColor;
127126
128127 e.ColumnIndex.SelectCase()
129128 .Case(0, () =>//名前部