Esempio n. 1
0
        internal Overlays(PFSSection Section)
        {
            _pfsHandle = Section;

            for (int i = 1; i <= Section.GetSectionsNo(); i++)
            {
                PFSSection sub = Section.GetSection(i);
                switch (sub.Name)
                {
                case "Foreground":
                    _foreground = new Foreground(sub);
                    break;

                case "Background":
                    _background = new Background(sub);
                    break;

                case "Current_Layer":
                    _current_Layer = new Current_Layer(sub);
                    break;

                default:
                    _unMappedSections.Add(sub.Name);
                    break;
                }
            }
        }
Esempio n. 2
0
    internal Overlays(PFSSection Section)
    {
      _pfsHandle = Section;

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "Foreground":
          _foreground = new Foreground(sub);
          break;
        case "Background":
          _background = new Background(sub);
          break;
        case "Current_Layer":
          _current_Layer = new Current_Layer(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }
    }