form.cc: select and option classes
June 10, 2008
4:41 p.m.
Two patches here. The first patch turns DilloHtmlSelect and DilloHtmlOption into classes and implements their constructors and destructors. It also makes DilloHtmlInput::DilloHtmlInput() responsible for creating the select object if necessary (as determined by examining the input type) and removes the select argumentfrom DilloHtmlInput::DilloHtmlInput() and DilloHtmlForm::addInput() . The second patch is a small followup that simplifies select handling elsewhere: instead of checking the input type we check if the input's select is non-NULL. Regards, Jeremy Henty
6747
Age (days ago)
6747
Last active (days ago)
1 comments
2 participants
participants (2)
-
jcid@dillo.org -
onepoint@starurchin.org