kayler-renslow / arma-dialog-creator

A dialog/GUI creation tool for Arma 3.
MIT License
76 stars 12 forks source link

Exportable Controls Without Exporting a Dialog #40

Open kayler-renslow opened 5 years ago

kayler-renslow commented 5 years ago

Summary

Export Controls {} without needing to export the whole dialog. Also, have option to export an array of class names of Controls.

Detail

class MyDialog {
  idd=0;
  class Controls { //export just this
    class Control1 {};
  };
};
class Control1 {};
};
class Control2 {};
};
class MyDialog {
  idd=0;
  controls[] = {Control1, Control2}; //also, have a way to export this array without exporting the whole dialog
};