개정판 a5b465dc
issue #534: Add ItemRect property to all of controls
Change-Id: Id0d640b9fd9959615758b5e55b499f97d6f38dae
KCOM/Common/SelectionSet.cs | ||
---|---|---|
47 | 47 |
return _instance; |
48 | 48 |
} |
49 | 49 |
} |
50 |
|
|
51 |
/// <summary> |
|
52 |
/// Control Select |
|
53 |
/// </summary> |
|
54 |
/// <author>humkyung</author> |
|
55 |
/// <date>2019.06.13</date> |
|
56 |
/// <param name="Control"></param> |
|
57 |
/// <param name="dragrect"></param> |
|
58 |
/// <returns></returns> |
|
59 |
public Boolean SelectControl(CommentUserInfo control, Rect dragrect) |
|
60 |
{ |
|
61 |
return dragrect.Contains(control.ItemRect); |
|
62 |
} |
|
50 | 63 |
} |
51 | 64 |
} |
내보내기 Unified diff