Example #1
0
 public static MGButton CheckboxWithTexture(string fsName1, string fsName2)
 {
     var button = new MGButton();
     button.InitCheckboxWithPrssingTexture(fsName1, fsName2, "", "");
     return button;
 }
Example #2
0
 public static MGButton CheckboxWithPressingTexture(string fsName1, string fsName2, string fsName3,
                                                    string fsName4)
 {
     if (fsName3 == null) throw new ArgumentNullException("fsName3");
     var button = new MGButton();
     button.InitCheckboxWithPrssingTexture(fsName1, fsName2, fsName3, fsName4);
     return button;
 }
Example #3
0
 public static MGButton ButtonWithToggleTwinkle(string fsName1)
 {
     var button = new MGButton();
     button.InitButtonWithToggleTwinkle(fsName1);
     return button;
 }
Example #4
0
 public static MGButton ButtonWithTextureTwinkle(string fsName1, string fsName2)
 {
     var button = new MGButton();
     button.InitButtonWithTextureTwinkle(fsName1, fsName2);
     return button;
 }
Example #5
0
 public static MGButton ButtonWithoutTexture(float width, float height)
 {
     var button = new MGButton();
     button.InitButtonWithoutTexture(width, height);
     return button;
 }
Example #6
0
 public static MGButton ButtonWithFadeoutTwinkle(string fsName1, float opacity)
 {
     var button = new MGButton();
     button.InitButtonWithFadeoutTwinkle(fsName1, opacity);
     return button;
 }