Exemple #1
0
 public DirectoryButton(string PATH, DirectoryNode NODE) : base(PATH, NODE)
 {
     node  = NODE;
     path  = PATH;
     size  = node.size;
     cdbtn = new ChangeDirButton(NODE);
 }
 public OpenFolderButton() : base("Square", new Vector2(Globals.screenWidth / 2 - 20, 20), new Vector2(Globals.screenWidth - 55, 30))    //55s
 {
     color = new Color(50, 50, 50, 80);
     text  = new EText(Globals.SystemFont, "", new Vector2(20, 12), new Vector2(0.5f, 0.5f), Color.White);
     cdbtn = new ChangeDirButton();
 }