GumpEntries
Took a stab in the dark today to try to create something and it actually worked. I will be trying different things along these lines and will be posting them here as I get them finished. Devs, please take from them if you wish to put them in the distro.
Until they go into the distro, I've included a 'GumpEntries.cs' that has calls to add the entries to a gump. I'll give an example call from a gump script with each one. When I have more time, I'm going to look into getting textual Tooltips using 1060658, by looking at how ObjectPropertyList does it.
Took a stab in the dark today to try to create something and it actually worked. I will be trying different things along these lines and will be posting them here as I get them finished. Devs, please take from them if you wish to put them in the distro.
Until they go into the distro, I've included a 'GumpEntries.cs' that has calls to add the entries to a gump. I'll give an example call from a gump script with each one. When I have more time, I'm going to look into getting textual Tooltips using 1060658, by looking at how ObjectPropertyList does it.
- GumpButtonWTooltip.cs - Put tooltips on individual buttons.
Code:
GumpEntries.AddButtonWTooltip( this, 10, 10, 247, 248, 1, GumpButtonType.Reply, 0, 1012006 );
- GumpBackgroundWTooltip.cs - Put tooltips on individual backgrounds.
Code:
GumpEntries.AddBackgroundWTooltip( this, 0, 0, 100, 100, 9200, 1012006 );
- GumpAlphaRegionWTooltip.cs - Put tooltips on individual alpha regions.
Code:
GumpEntries.AddAlphaRegionWTooltip( this, 10, 10, 100, 100, 1012006 );
- GumpCheckWTooltip.cs - Put tooltips on individual check boxes.
Code:
GumpEntries.AddCheckWTooltip( this, 10, 10, 247, 248, false, 1, 1012006 );