// // CPT operator / SondeerGame // This source file is (c) by Deltares. // - October 2014 // class GeoFrame extends GUIButton; function ChangeFrameStyle(string stylestring) { // either "normal"(default), "noleft" or "noright" if(stylestring == "noleft") { log("1 - Style = "$Style$" , Controller = "$Controller); Style = Controller.GetStyle("DialogBackgroundNoLeft"); } else if(stylestring == "noright") { log("2 - Style = "$Style$" , Controller = "$Controller); Style = Controller.GetStyle("DialogBackgroundNoRight"); } else { log("3 - Style = "$Style$" , Controller = "$Controller); Style = Controller.GetStyle("DialogBackground"); } } defaultproperties { WinWidth=0.7 WinHeight=0.7 bAcceptsInput=false bNeverFocus=true StyleName="DialogBackground" RenderWeight=0.1 }