40 #ifndef _uiradiobutton_cpp
41 #define _uiradiobutton_cpp
43 #include "UI/radiobutton.h"
44 #include "UI/screen.h"
46 #include "stringtool.h"
48 #include "exception.h"
60 CurrentSelection(NULL)
103 if( (*RadioIt) != Exclude ) {
104 (*RadioIt)->ManualSelect(
false);
182 if( OtherGroup == NULL ) {
188 if( OtherGroup != NULL ) {
230 SerializeError(
"Create XML Version Attribute",
"GroupButton",
true);
234 SerializeError(
"Create XML Version Attribute",
"GroupButtons",
true);
250 if( !ButtonsNode.
Empty() ) {
254 if( (*ButtonNodeIt).GetAttribute(
"Version").AsInt() == 1 ) {
257 CurrAttrib = (*ButtonNodeIt).GetAttribute(
"GroupButtonName");
258 if( !CurrAttrib.
Empty() )
259 GroupButtonName = CurrAttrib.
AsString();
261 if( !GroupButtonName.empty() ) {
267 ExceptionStream <<
"Named Widget \"" << GroupButtonName <<
"\" not found or not a RadioButton when deserializing Widget named \"" << this->
GetName() <<
"\".";
288 if( !PropertiesNode.
Empty() ) {
290 CurrAttrib = PropertiesNode.
GetAttribute(
"LockoutTime");
291 if( !CurrAttrib.
Empty() )
341 {
return new RadioButton(RendName,RendRect,Parent); }
359 {
delete static_cast<RadioButton*
>( ToBeDestroyed ); }