P
php-junkie
Guest
a gump editor/creator
A program that can be used to visually make gumps and generate the code for us to use. For example, after creating the gump visually with the gump creator it would generate code like this:
[code:1]
public NewGump() : base( 20, 30 )
{
AddPage( 0 );
AddBackground( 0, 0, 110, 96, 5054 );
AddPage( 1 );
AddButton( 10, 32, 0xFA5, 0xFA7, 1, GumpButtonType.Reply, 0 );
AddButton( 40, 32, 0xFA5, 0xFA7, 2, GumpButtonType.Reply, 0 );
AddButton( 70, 32, 0xFA5, 0xFA7, 3, GumpButtonType.Reply, 0 );
AddLabel( 10, 54, 0x481, "text" );
AddLabel( 40, 54, 0x481, "text" );
AddLabel( 70, 54, 0x481, "text" );
}
[/code:1]
I would do this my self but I'm still a newbie to C# programming. I have allot to learn before I can even attempt to write such a program.
A program that can be used to visually make gumps and generate the code for us to use. For example, after creating the gump visually with the gump creator it would generate code like this:
[code:1]
public NewGump() : base( 20, 30 )
{
AddPage( 0 );
AddBackground( 0, 0, 110, 96, 5054 );
AddPage( 1 );
AddButton( 10, 32, 0xFA5, 0xFA7, 1, GumpButtonType.Reply, 0 );
AddButton( 40, 32, 0xFA5, 0xFA7, 2, GumpButtonType.Reply, 0 );
AddButton( 70, 32, 0xFA5, 0xFA7, 3, GumpButtonType.Reply, 0 );
AddLabel( 10, 54, 0x481, "text" );
AddLabel( 40, 54, 0x481, "text" );
AddLabel( 70, 54, 0x481, "text" );
}
[/code:1]
I would do this my self but I'm still a newbie to C# programming. I have allot to learn before I can even attempt to write such a program.