///
/// Copyright © 2003-2008 JetBrains s.r.o.
/// You may distribute under the terms of the GNU General Public License, as published by the Free Software Foundation, version 2 (see License.txt in the repository root folder).
///
using System;
using System.Collections;
using System.Drawing;
using System.Windows.Forms;
using JetBrains.DataStructures;
using JetBrains.Omea.Base;
using SP.Windows;
namespace JetBrains.JetListViewLibrary
{
internal class SingleLineRowRenderer: RowRendererBase
{
private JetListViewNodeCollection _nodeCollection;
private int _sizeToContentColumnCount = 0;
private int _autoSizeColumnCount = 0;
private int _visibleWidth;
private Hashtable _headerMap = new Hashtable();
private JetListViewColumn _trackColumn;
private bool _processingHeaderOperation;
private int _internalChange = 0;
private int _minColWidth = 40;
private HashMap _sizeToContentItemWidths = new HashMap(); // JLVColumn -> IntHashTable