comparison src/connectionitem.cpp @ 390:ef31a55c86b6 item_appearance_adjustments

Add little yellow star to current item
author Chris Cannam
date Tue, 24 May 2011 17:21:31 +0100
parents ce6a70970808
children 470829a21f98
comparison
equal deleted inserted replaced
389:496f2042155a 390:ef31a55c86b6
40 c_col = m_uncommitted->column(); c_row = m_uncommitted->row(); 40 c_col = m_uncommitted->column(); c_row = m_uncommitted->row();
41 } 41 }
42 42
43 return QRectF(xscale * c_col + size/2 - 2, 43 return QRectF(xscale * c_col + size/2 - 2,
44 yscale * c_row + size - 22, 44 yscale * c_row + size - 22,
45 xscale * p_col - xscale * c_col + 4, 45 xscale * p_col - xscale * c_col + 6,
46 yscale * p_row - yscale * c_row - size + 44) 46 yscale * p_row - yscale * c_row - size + 44)
47 .normalized(); 47 .normalized();
48 } 48 }
49 49
50 void 50 void