Exemplo n.º 1
0
		public GumpNotResizable( string[] commands, BaseGump parent ) : base( commands, parent )
		{
		}
Exemplo n.º 2
0
		public GumpItemColor( string[] commands, BaseGump parent ) : base( commands, parent )
		{
			m_X = GetInt32( 1 );
			m_Y = GetInt32( 2 );
			m_GumpId = GetInt32( 3 );
			m_Color = GetInt32( 4 );
		}
Exemplo n.º 3
0
 public GumpPage(string[] commands, BaseGump parent) : base(commands, parent)
 {
     m_Page = GetInt32(1);
 }
Exemplo n.º 4
0
		public GumpHtmlLocalizedArgs( string[] commands, BaseGump parent ) : base( commands, parent )
		{
			m_X = GetInt32( 1 );
			m_Y = GetInt32( 2 );
			m_Width = GetInt32( 3 );
			m_Height = GetInt32( 4 );
			m_Background = GetBoolean( 5 );
			m_Scrollbar = GetBoolean( 6 );
			m_Color = GetInt32( 7 );
			m_Number = GetInt32( 8 );
			m_Args = GetString( 9 );
		}
Exemplo n.º 5
0
		public GumpImageTiled( string[] commands, BaseGump parent ) : base( commands, parent )
		{
			m_X = GetInt32( 1 );
			m_Y = GetInt32( 2 );
			m_Width = GetInt32( 3 );
			m_Height = GetInt32( 4 );
			m_GumpId = GetInt32( 5 );
		}
Exemplo n.º 6
0
		public GumpCheck( string[] commands, BaseGump parent ) : base( commands, parent )
		{
			m_X = GetInt32( 1 );
			m_Y = GetInt32( 2 );
			m_InactiveId = GetInt32( 3 );
			m_ActiveId = GetInt32( 4 );
			m_InitialState = GetBoolean( 5 );
			m_SwitchId = GetInt32( 6 );
		}
Exemplo n.º 7
0
		public GumpHtml( string[] commands, BaseGump parent ) : base( commands, parent )
		{
			m_X = GetInt32( 1 );
			m_Y = GetInt32( 2 );
			m_Width = GetInt32( 3 );
			m_Height = GetInt32( 4 );
			m_Text = GetText( GetInt32( 5 ) );
			m_Background = GetBoolean( 6 );
			m_Scrollbar = GetBoolean( 7 );
		}
Exemplo n.º 8
0
 public GumpGroup(string[] commands, BaseGump parent) : base(commands, parent)
 {
     m_Group = GetInt32(1);
 }
Exemplo n.º 9
0
		public GumpLabelCropped( string[] commands, BaseGump parent ) : base( commands, parent )
		{
			m_X = GetInt32( 1 );
			m_Y = GetInt32( 2 );
			m_Width = GetInt32( 3 );
			m_Height = GetInt32( 4 );
			m_Color = GetInt32( 5 );
			m_Text = GetText( GetInt32( 6 ) );
		}
Exemplo n.º 10
0
 public GumpNotDisposable(string[] commands, BaseGump parent) : base(commands, parent)
 {
 }
Exemplo n.º 11
0
 public GumpNotResizable(string[] commands, BaseGump parent) : base(commands, parent)
 {
 }
Exemplo n.º 12
0
 public GumpEntry(string[] commands, BaseGump parent)
 {
     m_Commands = commands;
     m_Parent   = parent;
 }
Exemplo n.º 13
0
        public static GumpEntry Create(string[] commands, BaseGump parent)
        {
            string command = commands[0].ToLower();

            switch (command)
            {
            case "nomove":
                return(new GumpNotDragable(commands, parent));

            case "noclose":
                return(new GumpNotClosable(commands, parent));

            case "nodispose":
                return(new GumpNotDisposable(commands, parent));

            case "noresize":
                return(new GumpNotResizable(commands, parent));

            case "checkertrans":
                return(new GumpAlphaRegion(commands, parent));

            case "resizepic":
                return(new GumpBackground(commands, parent));

            case "button":
                return(new GumpButton(commands, parent));

            case "checkbox":
                return(new GumpCheck(commands, parent));

            case "group":
                return(new GumpGroup(commands, parent));

            case "htmlgump":
                return(new GumpHtml(commands, parent));

            case "xmfhtmlgump":
                return(new GumpHtmlLocalized(commands, parent));

            case "xmfhtmlgumpcolor":
                return(new GumpHtmlLocalizedColor(commands, parent));

            case "xmfhtmltok":
                return(new GumpHtmlLocalizedArgs(commands, parent));

            case "gumppic":
                return(new GumpImage(commands, parent));

            case "gumppictiled":
                return(new GumpImageTiled(commands, parent));

            case "buttontileart":
                return(new GumpImageTiledButton(commands, parent));

            case "tilepic":
                return(new GumpItem(commands, parent));

            case "tilepichue":
                return(new GumpItemColor(commands, parent));

            case "text":
                return(new GumpLabel(commands, parent));

            case "croppedtext":
                return(new GumpLabelCropped(commands, parent));

            case "page":
                return(new GumpPage(commands, parent));

            case "radio":
                return(new GumpRadio(commands, parent));

            case "textentry":
                return(new GumpTextEntry(commands, parent));

            case "tooltip":
                return(new GumpTooltip(commands, parent));

            default:
                throw new ArgumentException();
            }
        }
Exemplo n.º 14
0
 public GumpTooltip(string[] commands, BaseGump parent) : base(commands, parent)
 {
     m_Number = GetInt32(1);
 }
Exemplo n.º 15
0
		public GumpAlphaRegion( string[] commands, BaseGump parent ) : base( commands, parent )
		{
			m_X = GetInt32( 1 );
			m_Y = GetInt32( 2 );
			m_Width = GetInt32( 3 );
			m_Height = GetInt32( 4 );
		}
Exemplo n.º 16
0
		public GumpPage( string[] commands, BaseGump parent ) : base( commands, parent )
		{
			m_Page = GetInt32( 1 );
		}
Exemplo n.º 17
0
		public GumpButton( string[] commands, BaseGump parent ) : base( commands, parent )
		{
			m_X = GetInt32( 1 );
			m_Y = GetInt32( 2 );
			m_NormalId = GetInt32( 3 );
			m_PressedId = GetInt32( 4 );
			m_Type = GetInt32( 5 );
			m_Param = GetInt32( 6 );
			m_ButtonId = GetInt32( 7 );
		}
Exemplo n.º 18
0
		public GumpTextEntry( string[] commands, BaseGump parent ) : base( commands, parent )
		{
			m_X = GetInt32( 1 );
			m_Y = GetInt32( 2 );
			m_Width = GetInt32( 3 );
			m_Height = GetInt32( 4 );
			m_Color = GetInt32( 5 );
			m_EntryId = GetInt32( 6 );
			m_InitialText = GetText( GetInt32( 7 ) );
		}
Exemplo n.º 19
0
		public GumpGroup( string[] commands, BaseGump parent ) : base( commands, parent )
		{
			m_Group = GetInt32( 1 );
		}
Exemplo n.º 20
0
		public GumpTooltip( string[] commands, BaseGump parent ) : base( commands, parent )
		{
			m_Number = GetInt32( 1 );
		}
Exemplo n.º 21
0
		public GumpHtmlLocalized( string[] commands, BaseGump parent ) : base( commands, parent )
		{
			m_X = GetInt32( 1 );
			m_Y = GetInt32( 2 );
			m_Width = GetInt32( 3 );
			m_Height = GetInt32( 4 );
			m_Number = GetInt32( 5 );

			if ( commands.Length < 8 )
			{
				m_Background = false;
				m_Scrollbar = false;
			}
			else
			{
				m_Background = GetBoolean( 6 );
				m_Scrollbar = GetBoolean( 7 );
			}
		}
Exemplo n.º 22
0
		public static GumpEntry Create( string[] commands, BaseGump parent )
		{
			string command = commands[0].ToLower();
			switch ( command )
			{
				case "nomove":
					return new GumpNotDragable( commands, parent );
				case "noclose":
					return new GumpNotClosable( commands, parent );
				case "nodispose":
					return new GumpNotDisposable( commands, parent );
				case "noresize":
					return new GumpNotResizable( commands, parent );
				case "checkertrans":
					return new GumpAlphaRegion( commands, parent );
				case "resizepic":
					return new GumpBackground( commands, parent );
				case "button":
					return new GumpButton( commands, parent );
				case "checkbox":
					return new GumpCheck( commands, parent );
				case "group":
					return new GumpGroup( commands, parent );
				case "htmlgump":
					return new GumpHtml( commands, parent );
				case "xmfhtmlgump":
					return new GumpHtmlLocalized( commands, parent );
				case "xmfhtmlgumpcolor":
					return new GumpHtmlLocalizedColor( commands, parent );
				case "xmfhtmltok":
					return new GumpHtmlLocalizedArgs( commands, parent );
				case "gumppic":
					return new GumpImage( commands, parent );
				case "gumppictiled":
					return new GumpImageTiled( commands, parent );
				case "buttontileart":
					return new GumpImageTiledButton( commands, parent );
				case "tilepic":
					return new GumpItem( commands, parent );
				case "tilepichue":
					return new GumpItemColor( commands, parent );
				case "text":
					return new GumpLabel( commands, parent );
				case "croppedtext":
					return new GumpLabelCropped( commands, parent );
				case "page":
					return new GumpPage( commands, parent );
				case "radio":
					return new GumpRadio( commands, parent );
				case "textentry":
					return new GumpTextEntry( commands, parent );
				case "tooltip":
					return new GumpTooltip( commands, parent );

				default:
					throw new ArgumentException();
			}
		}
Exemplo n.º 23
0
		public GumpImage( string[] commands, BaseGump parent ) : base( commands, parent )
		{
			m_X = GetInt32( 1 );
			m_Y = GetInt32( 2 );
			m_GumpId = GetInt32( 3 );

			if ( commands.Length > 4 )
				m_Color = Int32.Parse( commands[4].Substring( 4 ) );
			else
				m_Color = 0;
		}
Exemplo n.º 24
0
		public GumpEntry( string[] commands, BaseGump parent )
		{
			m_Commands = commands;
			m_Parent = parent;
		}
Exemplo n.º 25
0
		public GumpImageTiledButton( string[] commands, BaseGump parent ) : base( commands, parent )
		{
			m_X = GetInt32( 1 );
			m_Y = GetInt32( 2 );
			m_NormalID = GetInt32( 3 );
			m_PressedID = GetInt32( 4 );
			m_Type = GetInt32( 5 );
			m_Param = GetInt32( 6 );
			m_ButtonID = GetInt32( 7 );
			m_ItemID = GetInt32( 8 );
			m_Hue = GetInt32( 9 );
			m_Width = GetInt32( 10 );
			m_Height = GetInt32( 11 );
		}
Exemplo n.º 26
0
		public GumpNotDisposable( string[] commands, BaseGump parent ) : base( commands, parent )
		{
		}
Exemplo n.º 27
0
		public GumpLabel( string[] commands, BaseGump parent ) : base( commands, parent )
		{
			m_X = GetInt32( 1 );
			m_Y = GetInt32( 2 );
			m_Color = GetInt32( 3 );
			m_Text = GetText( GetInt32( 4 ) );
		}
Exemplo n.º 28
0
 public GumpItem(string[] commands, BaseGump parent) : base(commands, parent)
 {
     m_X      = GetInt32(1);
     m_Y      = GetInt32(2);
     m_GumpId = GetInt32(3);
 }