Exemple #1
0
        internal static void PushValue(LGuiStyleValueIndex Index, float Value)
        {
            var Backup = new LGuiStyleValueBackup(Index, GetValue(Index));

            ValueStack.Push(Backup);
            Values[(int)Index] = Value;
        }
Exemple #2
0
 internal static float GetValue(LGuiStyleValueIndex Index)
 {
     return(Values[(int)Index]);
 }
Exemple #3
0
 internal LGuiStyleValueBackup(LGuiStyleValueIndex Index, float Value)
 {
     this.Index = Index;
     this.Value = Value;
 }