Mercurial > projects > dynamin
changeset 43:6b264c92da34
Rename collectFromPanel() to collectFromContainer()
author | Jordan Miner <jminer7@gmail.com> |
---|---|
date | Thu, 30 Jul 2009 17:37:59 -0500 |
parents | 2e466b478c0b |
children | ad551ec36b75 |
files | dynamin/gui/radio_button.d |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/dynamin/gui/radio_button.d Thu Jul 30 17:36:54 2009 -0500 +++ b/dynamin/gui/radio_button.d Thu Jul 30 17:37:59 2009 -0500 @@ -45,7 +45,7 @@ if(!topLevel) return null; RadioButton[] radios; - void collectFromPanel(Container container) { + void collectFromContainer(Container container) { foreach(control; container) { if(auto r = cast(RadioButton)control) { if(r.group != group) @@ -55,11 +55,11 @@ if(r.checked) checkedIndex = radios.length-1; } else if(auto c = cast(Container)control) - collectFromPanel(c); + collectFromContainer(c); } } checkedIndex = -1; - collectFromPanel(topLevel.content); + collectFromContainer(topLevel.content); return radios; } override void whenKeyDown(KeyEventArgs e) {