Exemple #1
0
 public GUIItemMultiBtn(int d,string bg,string bOn,string bOf,GUIInterface o,int offset, bool dontHideWhenUnselected)
     : base(d,-1,"",bOn,bOf,o,dontHideWhenUnselected)
 {
     subItems = new ArrayList();
     m_backGround = bg;
     _off7 = offset;
 }
Exemple #2
0
 public AboutPanel()
 {
     InitializeComponent();
     win = (GUIInterface)this.DataContext;
     System.Reflection.Assembly assembly = System.Reflection.Assembly.GetExecutingAssembly();
     lblVersion.Content = AssemblyName.GetAssemblyName(assembly.Location).Version.ToString();
 }
 public static void UnregisterGUIObject(GUIInterface guiObject)
 {
     if (GUIManager.Instance != null)
     {
         GUIManager.Instance.InternalUnregisterGUIObject(guiObject);
     }
 }
Exemple #4
0
 public GUIItemMultiBtn(int d,string bg,string bOn,string bOf,GUIInterface o,int offset)
     : base(d,-1,"",bOn,bOf,o)
 {
     subItems = new ArrayList();
     m_backGround = bg;
     _off7 = offset;
 }
Exemple #5
0
 //MDS
 //    GUIMultiDotSlider mds;
 public GUIGridV2(int d,int actId,string inTxt,string bOn,string bOf/*,GUIStyle iOn,GUIStyle iOf*/,GUIInterface o)
     : base(d,actId,inTxt,bOn,bOf/*,iOn,iOf*/,o)
 {
     subItems = new ArrayList();
     //		mds = new GUIMultiDotSlider(1);
     thumbs = new Texture2D[0];
 }
    private void InternalRegisterGUIObject(GUIInterface guiObject)
    {
        List<GUIInterface> list;
        if (!m_GUIObjects.TryGetValue(guiObject.GetOrder(), out list))
        {
            list = new List<GUIInterface>();
            m_GUIObjects.Add(guiObject.GetOrder(), list);
        }

        list.Add(guiObject);
    }
Exemple #7
0
    // CONSTRUCTOR
    public GUIAutoItem(int d,string inTxt,string bOn,string bOf/*,GUIStyle iOn,GUIStyle iOf*/,GUIInterface o)
        : base(d,-1,inTxt,bOn,bOf,o)
    {
        m_depth = d;
        m_text = inTxt;

        bgOn = bOn;
        bgOff = bOf;
        //		icoOn = iOn.normal.background;
        //		icoOff = iOf.normal.background;
        origine = o;
    }
Exemple #8
0
    public GUIUpperList(int d,int actId,string inTxt,string bOn,string bOf/*,GUIStyle iOn,GUIStyle iOf*/,GUIInterface o)
        : base(d,actId,inTxt,bOn,bOf/*,iOn,iOf*/,o)
    {
        subItems = new ArrayList();
        //		mds = new GUIMultiDotSlider(1);
        thumbs = new Texture2D[0];
        r_position = new Rect();
        SetRects();
        r_content = new Rect(0,0,100,100);

        UsefullEvents.OnResizingWindow += SetRects;
        UsefullEvents.OnResizeWindowEnd += SetRects;
    }
Exemple #9
0
    public GUIItemV2(int depth,int actionId,string inTxt,string bOn,string bOf,GUIInterface o, bool dontHideWhenUnselected)
    {
        m_depth = depth;
        m_actionId = actionId;
        m_text = inTxt;
        subItems = new ArrayList();

        bgOn = bOn;
        bgOff = bOf;
        //		icoOn = iOn.normal.background;
        //		icoOff = iOf.normal.background;
        origine = o;
        _dontHideWhenSelected = dontHideWhenUnselected;
        t2dicon = null;
    }
 public CertificatesPanel()
 {
     InitializeComponent();
     win = (GUIInterface)DataContext;
 }
Exemple #11
0
 public SetUpOptions()
 {
     InitializeComponent();
     win = (GUIInterface)DataContext;
 }
Exemple #12
0
 public EditorPanel()
 {
     InitializeComponent();
     win = (GUIInterface)this.DataContext;
 }
Exemple #13
0
 public AppInfo()
 {
     InitializeComponent();
     win = (GUIInterface)DataContext;
 }
 private void InternalUnregisterGUIObject(GUIInterface guiObject)
 {
     List<GUIInterface> list;
     if (m_GUIObjects.TryGetValue(guiObject.GetOrder(), out list))
     {
         list.Remove(guiObject);
     }
 }
 public FileAssociationsPanel()
 {
     InitializeComponent();
     win = (GUIInterface)DataContext;
 }
Exemple #16
0
 public SigningPanel()
 {
     InitializeComponent();
     win = (GUIInterface)DataContext;
 }
Exemple #17
0
 }                                     //= new GUIInterface();
 public SourceFilesPanel()
 {
     InitializeComponent();
     win = (GUIInterface)this.DataContext;
 }
Exemple #18
0
 public RegistryPanel()
 {
     InitializeComponent();
     win = (GUIInterface)DataContext;
     cbRegHive.ItemsSource = Enum.GetValues(typeof(WIXSharpHelper.RegistryHive));
 }
 public FirewallExcepPanel()
 {
     InitializeComponent();
     win = (GUIInterface)DataContext;
 }
Exemple #20
0
 public GUICheckbox(int depth,int actionId,string inTxt,string bOn,string bOf/*,GUIStyle iOn,GUIStyle iOf*/,GUIInterface o)
     : base(depth, actionId, inTxt, bOn, bOf, o)
 {
     SetToogleActivated(true);
 }
 void Awake()
 {
     guiInterface = GetComponent<GUIInterface> ();
 }
Exemple #22
0
 public UsersPanel()
 {
     InitializeComponent();
     win = (GUIInterface)DataContext;
 }
 public EnvironmentVarsPanel()
 {
     InitializeComponent();
     win = (GUIInterface)DataContext;
 }
 public CompilerOptionsPanel()
 {
     InitializeComponent();
     win = (GUIInterface)DataContext;
 }
Exemple #25
0
 public GUIHSlider(int depth,int actionId,string bOn,string bOf/*,GUIStyle iOn,GUIStyle iOf*/,GUIInterface o)
     : base(depth, actionId, "", bOn, bOf, o)
 {
 }