當前位置: 首頁>>代碼示例>>C#>>正文


C# UI.AControl類代碼示例

本文整理匯總了C#中UltimaXNA.Core.UI.AControl的典型用法代碼示例。如果您正苦於以下問題:C# AControl類的具體用法?C# AControl怎麽用?C# AControl使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


AControl類屬於UltimaXNA.Core.UI命名空間,在下文中一共展示了AControl類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: DropDownList

        public DropDownList(AControl parent)
            : base(parent)
        {
            HandlesMouseInput = true;

            m_Font = ServiceRegistry.GetService<IResourceProvider>().GetAsciiFont(1);
        }
開發者ID:msx752,項目名稱:UltimaXNA,代碼行數:7,代碼來源:DropDownList.cs

示例2: Button

        public Button(AControl owner)
            : base(owner)
        {
            HandlesMouseInput = true;

            m_UserInterface = ServiceRegistry.GetService<UserInterfaceService>();
        }
開發者ID:gautamabudha,項目名稱:UltimaXNA,代碼行數:7,代碼來源:Button.cs

示例3: ColorPickerBox

        public ColorPickerBox(AControl parent)
            : base(parent)
        {
            HandlesMouseInput = true;

            m_UserInterface = ServiceRegistry.GetService<UserInterfaceService>();
        }
開發者ID:robertdeclaux,項目名稱:UltimaXNA,代碼行數:7,代碼來源:ColorPickerBox.cs

示例4: ItemGumplingPaperdoll

 public ItemGumplingPaperdoll(AControl parent, int x, int y, Item item)
     : base(parent, item)
 {
     m_x = x;
     m_y = y;
     HighlightOnMouseOver = false;
 }
開發者ID:msx752,項目名稱:UltimaXNA,代碼行數:7,代碼來源:ItemGumplingPaperdoll.cs

示例5: PaperDollInteractable

        public PaperDollInteractable(AControl parent, int x, int y)
            : base(0, 0)
        {
            Parent = parent;
            Position = new Point(x, y);

            m_World = ServiceRegistry.GetService<WorldModel>();
        }
開發者ID:InjectionDev,項目名稱:UltimaXNA,代碼行數:8,代碼來源:PaperDollInteractable.cs

示例6: PaperDollInteractable

        public PaperDollInteractable(AControl owner, int x, int y)
            : base(0, 0)
        {
            Owner = owner;
            Position = new Point(x, y);

            m_World = ServiceRegistry.GetService<WorldModel>();
        }
開發者ID:gautamabudha,項目名稱:UltimaXNA,代碼行數:8,代碼來源:PaperDollInteractable.cs

示例7: ExpandableScroll

 public ExpandableScroll(AControl owner, int x, int y, int height)
     : base(0, 0)
 {
     Owner = owner;
     Position = new Point(x, y);
     m_expandableScrollHeight = height;
     MakeThisADragger();
 }
開發者ID:gautamabudha,項目名稱:UltimaXNA,代碼行數:8,代碼來源:ExpandableScroll.cs

示例8: TextEntry

        public TextEntry(AControl parent)
            : base(parent)
        {
            HandlesMouseInput = true;
            HandlesKeyboardFocus = true;

            m_UserInterface = ServiceRegistry.GetService<UserInterfaceService>();
        }
開發者ID:leventcorapsiz,項目名稱:UltimaXNA,代碼行數:8,代碼來源:TextEntry.cs

示例9: DropDownList

        public DropDownList(AControl owner)
            : base(owner)
        {
            HandlesMouseInput = true;

            m_UserInterface = ServiceRegistry.GetService<UserInterfaceService>();
            m_Font = ServiceRegistry.GetService<IUIResourceProvider>().GetAsciiFont(1);
        }
開發者ID:gautamabudha,項目名稱:UltimaXNA,代碼行數:8,代碼來源:DropDownList.cs

示例10: ItemGumpling

        public ItemGumpling(AControl parent, Item item)
            : base(parent)
        {
            BuildGumpling(item);
            HandlesMouseInput = true;

            m_World = Service.Get<WorldModel>();
        }
開發者ID:jorsi,項目名稱:UltimaXNA,代碼行數:8,代碼來源:ItemGumpling.cs

示例11: ItemGumpling

        public ItemGumpling(AControl owner, Item item)
            : base(owner)
        {
            buildGumpling(item);
            HandlesMouseInput = true;

            m_World = ServiceRegistry.GetService<WorldModel>();
        }
開發者ID:gautamabudha,項目名稱:UltimaXNA,代碼行數:8,代碼來源:ItemGumpling.cs

示例12: ScrollBar

 public ScrollBar(AControl owner, int x, int y, int height, int minValue, int maxValue, int value)
     : this(owner)
 {
     Position = new Point(x, y);
     MinValue = minValue;
     MaxValue = maxValue;
     Height = height;
     Value = value;
 }
開發者ID:gautamabudha,項目名稱:UltimaXNA,代碼行數:9,代碼來源:ScrollBar.cs

示例13: PaperDollInteractable

 public PaperDollInteractable(AControl parent, int x, int y, Mobile sourceEntity)
     : base(0, 0)
 {
     Parent = parent;
     Position = new Point(x, y);
     m_isFemale = sourceEntity.Flags.IsFemale;
     SourceEntity = sourceEntity;
     m_World = ServiceRegistry.GetService<WorldModel>();
 }
開發者ID:robertdeclaux,項目名稱:UltimaXNA,代碼行數:9,代碼來源:PaperDollInteractable.cs

示例14: WorldViewport

        public WorldViewport(AControl parent, int x, int y, int width, int height)
            : base(parent)
        {
            Position = new Point(x, y);
            Size = new Point(width, height);

            HandlesMouseInput = true;
            ServiceRegistry.Register<WorldViewport>(this);
        }
開發者ID:msx752,項目名稱:UltimaXNA,代碼行數:9,代碼來源:WorldViewport.cs

示例15: WorldControl

        public WorldControl(AControl owner, int x, int y, int width, int height)
            : base(owner)
        {
            Position = new Point(x, y);
            Size = new Point(width, height);

            HandlesMouseInput = true;
            ServiceRegistry.Register<WorldControl>(this);
        }
開發者ID:gautamabudha,項目名稱:UltimaXNA,代碼行數:9,代碼來源:WorldControl.cs


注:本文中的UltimaXNA.Core.UI.AControl類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。