예제 #1
0
        private void createFrameOverlayStructure()
        {
            int lNumFrameOverlayItems = mFrameOverlayItemList.Count;

            for (int lFrameCount = 0; lFrameCount < mMaxFrameCountForOverlayItems; lFrameCount++)
            {
                FrameOverlayDisplayItems lOverlayDisplayItems = new FrameOverlayDisplayItems();
                for (int lIndex = 0; lIndex < lNumFrameOverlayItems; lIndex++)
                {
                    FrameOverlayItem lOverlayItem = mFrameOverlayItemList[lIndex];

                    if (lOverlayItem.isDisplayOn(lFrameCount))
                    {
                        lOverlayDisplayItems.add(lOverlayItem);
                    }
                }

                if (lOverlayDisplayItems.Count > 0)
                {
                    mFrameOverlayStorage.Add(lFrameCount, lOverlayDisplayItems);
                }
            }
        }
        private void createFrameOverlayStructure()
        {
            int lNumFrameOverlayItems = mFrameOverlayItemList.Count;

            for(int lFrameCount = 0; lFrameCount < mMaxFrameCountForOverlayItems; lFrameCount++)
            {
                FrameOverlayDisplayItems lOverlayDisplayItems = new FrameOverlayDisplayItems();
                for (int lIndex = 0; lIndex < lNumFrameOverlayItems; lIndex++)
                {
                    FrameOverlayItem lOverlayItem = mFrameOverlayItemList[lIndex];

                    if (lOverlayItem.isDisplayOn(lFrameCount))
                        lOverlayDisplayItems.add(lOverlayItem);
                }

                if (lOverlayDisplayItems.Count > 0)
                    mFrameOverlayStorage.Add(lFrameCount, lOverlayDisplayItems);
            }
        }