Exemple #1
0
 void DrawControlPanelDefineSymbols(float width)
 {
     QUI.DrawCollapsableStringList("View/Edit: '" + QUtils.GetActiveBuildTargetGroup() + "' Scripting Define Symbols", showDefineSymbols, QColors.Color.Gray, symbols, this, width, MiniBarHeight);
     QUI.BeginHorizontal(width);
     {
         QUI.Space((width - 120 - 2 - 160) * showDefineSymbols.faded);
         if (showDefineSymbols.faded > 0.8f)
         {
             if (QUI.GhostButton("Refresh Symbols List", QColors.Color.Gray, 120 * showDefineSymbols.faded))
             {
                 symbols = QUtils.GetScriptingDefineSymbolsForGroup(QUtils.GetActiveBuildTargetGroup());
             }
             QUI.Space(SPACE_2);
             if (QUI.GhostButton("Save Changes to Symbols List", QColors.Color.Gray, 160 * showDefineSymbols.faded))
             {
                 QUtils.SetScriptingDefineSymbolsForGroup(QUtils.GetActiveBuildTargetGroup(), symbols);
                 showDefineSymbols.target = false;
             }
         }
     }
     QUI.EndHorizontal();
 }