当前位置: 首页>>代码示例>>C#>>正文


C# GumpButtonType类代码示例

本文整理汇总了C#中GumpButtonType的典型用法代码示例。如果您正苦于以下问题:C# GumpButtonType类的具体用法?C# GumpButtonType怎么用?C# GumpButtonType使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


GumpButtonType类属于命名空间,在下文中一共展示了GumpButtonType类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: AddImageTiledButton

 public void AddImageTiledButton(int x, int y, int normalID, int pressedID, int buttonID, GumpButtonType type,
                                    int itemID, int hue, int width, int height, GumpResponse callback,
                                    int param = 0, int localizedTooltip = -1, string name = "")
 {
     this.Add(new GumpImageTileButton(x, y, normalID, pressedID, this.NewID(), type, param, itemID, hue, width,
                                      height, callback, localizedTooltip, name));
 }
开发者ID:GaeaUO,项目名称:ForkUO,代码行数:7,代码来源:Buttons.cs

示例2: KRGumpButton

		public KRGumpButton( int x, int y, int normalID, int pressedID, int buttonID, GumpButtonType type, int param )
		{
			m_X = x;
			m_Y = y;
			m_ID1 = normalID;
			m_ID2 = pressedID;
			m_ButtonID = buttonID;
			m_Type = type;
			m_Param = param;
		}
开发者ID:zerodowned,项目名称:JustUO-merged-with-EC-Support,代码行数:10,代码来源:KRGumpButton.cs

示例3: AddButton

		public new void AddButton(int x, int y, int normalID, int pressedID, int buttonID, GumpButtonType type, int param)
		{
			if (type == GumpButtonType.Page)
			{
				AddButton(new GumpButton(x, y, normalID, pressedID, 0, GumpButtonType.Page, param), null);
			}
			else
			{
				AddButton(x, y, normalID, pressedID, buttonID, null);
			}
		}
开发者ID:greeduomacro,项目名称:RuneUO,代码行数:11,代码来源:SuperGump_Buttons.cs

示例4: GumpButton

 public GumpButton(int x, int y, int normalID, int pressedID, int buttonID, GumpButtonType type, int param, GumpResponse callback, string name)
 {
     this._X = x;
     this._Y = y;
     this._ID1 = normalID;
     this._ID2 = pressedID;
     this._EntryID = buttonID;
     this._Type = type;
     this._Param = param;
     this._Callback = callback;
     this._Name = (name != null ? name : "");
 }
开发者ID:havik,项目名称:ForkUO,代码行数:12,代码来源:GumpButton.cs

示例5: AddButton

		public void AddButton(
			int x,
			int y,
			int normalID,
			int pressedID,
			GumpButtonType type,
			GumpResponse callback,
			int param = 0,
			string name = "")
		{
			Add(new GumpButton(x, y, normalID, pressedID, NewID(), type, param, callback, name));
		}
开发者ID:greeduomacro,项目名称:RuneUO,代码行数:12,代码来源:Buttons.cs

示例6: GumpImageTileButton

		public GumpImageTileButton(
			int x,
			int y,
			int normalID,
			int pressedID,
			GumpButtonType type,
			int param,
			int itemID,
			int hue,
			int width,
			int height,
			string name)
			: this(x, y, normalID, pressedID, -1, type, param, itemID, hue, width, height, null, -1, name)
		{ }
开发者ID:jasegiffin,项目名称:JustUO,代码行数:14,代码来源:GumpImageTileButton.cs

示例7: GumpButtonTileArt

		public GumpButtonTileArt( int x, int y, int normalID, int pressedID, GumpButtonType type, int param, int buttonID, int itemid, int hue, int width, int height, int localizedTooltip )
		{
			m_X = x;
			m_Y = y;
			m_ID1 = normalID;
			m_ID2 = pressedID;
			m_Type = type;
			m_Param = param;
			m_ButtonID = buttonID;
			m_ItemID = itemid;
			m_Hue = hue;
			m_Width = width;
			m_Height = height;

            m_LocalizedTooltip = localizedTooltip;
		}
开发者ID:Tukaramdas,项目名称:ServUO-EC-Test-Fork,代码行数:16,代码来源:GumpButtonTileArt.cs

示例8: GumpImageTileButton

        public GumpImageTileButton(int x, int y, int normalID, int pressedID, int buttonID, GumpButtonType type, int param, int itemID, int hue, int width, int height, int localizedTooltip)
        {
            this.m_X = x;
            this.m_Y = y;
            this.m_ID1 = normalID;
            this.m_ID2 = pressedID;
            this.m_ButtonID = buttonID;
            this.m_Type = type;
            this.m_Param = param;

            this.m_ItemID = itemID;
            this.m_Hue = hue;
            this.m_Width = width;
            this.m_Height = height;

            this.m_LocalizedTooltip = localizedTooltip;
        }
开发者ID:m309,项目名称:ForkUO,代码行数:17,代码来源:GumpImageTileButton.cs

示例9: AddImageTiledButton

		public void AddImageTiledButton(
			int x,
			int y,
			int normalID,
			int pressedID,
			int buttonID,
			GumpButtonType type,
			int param,
			int itemID,
			int hue,
			int width,
			int height,
			int localizedTooltip = -1,
			string name = "")
		{
			Add(
				new GumpImageTileButton(
					x, y, normalID, pressedID, buttonID, type, param, itemID, hue, width, height, null, localizedTooltip, name));
		}
开发者ID:greeduomacro,项目名称:RuneUO,代码行数:19,代码来源:Buttons.cs

示例10: GumpImageTileButton

        public GumpImageTileButton(int x, int y, int normalID, int pressedID, int buttonID, GumpButtonType type, int param, int itemID, int hue, int width, int height, GumpResponse callback, int localizedTooltip, string name)
        {
            this._X = x;
            this._Y = y;
            this._ID1 = normalID;
            this._ID2 = pressedID;
            this._EntryID = buttonID;
            this._Type = type;
            this._Param = param;

            this._ItemID = itemID;
            this._Hue = hue;
            this._Width = width;
            this._Height = height;

            this._LocalizedTooltip = localizedTooltip;

            this._Callback = callback;
            this._Name = (name != null ? name : "");
        }
开发者ID:GaeaUO,项目名称:ForkUO,代码行数:20,代码来源:GumpImageTileButton.cs

示例11: AddImageTiledButton

		public new void AddImageTiledButton(
			int x,
			int y,
			int normalID,
			int pressedID,
			int buttonID,
			GumpButtonType type,
			int param,
			int itemID,
			int hue,
			int width,
			int height)
		{
			if (type == GumpButtonType.Page)
			{
				AddImageTiledButton(
					new GumpImageTileButton(x, y, normalID, pressedID, 0, GumpButtonType.Page, param, itemID, hue, width, height), null);
			}
			else
			{
				AddImageTiledButton(x, y, normalID, pressedID, buttonID, itemID, hue, width, height, null);
			}
		}
开发者ID:jasegiffin,项目名称:JustUO,代码行数:23,代码来源:SuperGump_TileButtons.cs

示例12: GumpButton

		public GumpButton(
			int x, int y, int normalID, int pressedID, GumpButtonType type, int param, GumpResponse callback, string name)
			: this(x, y, normalID, pressedID, -1, type, param, callback, name)
		{ }
开发者ID:greeduomacro,项目名称:RuneUO,代码行数:4,代码来源:GumpButton.cs

示例13: AddCallbackButton

 public void AddCallbackButton(int x, int y, int buttonIDnormal, int buttonIDpushed, int id, GumpButtonType type, int page, Action<GumpButton> callback)
 {
     GumpButton b = new GumpButton(x, y, buttonIDnormal, buttonIDpushed, id, type, page);
     ButtonCallbacks[b] = callback;
     Add(b);
 }
开发者ID:Crome696,项目名称:ServUO,代码行数:6,代码来源:TitlesMenu.cs

示例14: AddImageTiledButton

		public void AddImageTiledButton( int x, int y, int normalID, int pressedID, int buttonID, GumpButtonType type, int param, int itemID, int hue, int width, int height )
		{
			Add( new GumpImageTileButton( x, y, normalID, pressedID, buttonID, type, param, itemID, hue, width, height ) );
		}
开发者ID:brodock,项目名称:genova-project,代码行数:4,代码来源:Gump.cs

示例15: AddButton

		public void AddButton( int x, int y, int normalID, int pressedID, int buttonID, GumpButtonType type, int param )
		{
			Add( new GumpButton( x, y, normalID, pressedID, buttonID, type, param ) );
		}
开发者ID:brodock,项目名称:genova-project,代码行数:4,代码来源:Gump.cs


注:本文中的GumpButtonType类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。