These are chat archives for ZaneDubya/UltimaXNA

31st
Jul 2015
Zane Wagner
@ZaneDubya
Jul 31 2015 02:07
3 issues away from completing Milestone 0.6!
827 commits in the last 5 months!
Jeff Boulanger
@jeffboulanger
Jul 31 2015 13:22
Awesome :)
Zane Wagner
@ZaneDubya
Jul 31 2015 13:24
How was NY? You were going for the Win10 release party, right?
Jeff Boulanger
@jeffboulanger
Jul 31 2015 13:26
Ya I'm at the airport waiting for my flight home
The parties were a lot of fun
Meet a lot of cool people, got some good contact information to help with some issues at work
Zane Wagner
@ZaneDubya
Jul 31 2015 14:06
Too cool! Safe flight home.
:)
Zane Wagner
@ZaneDubya
Jul 31 2015 20:59
Hey @jeffboulanger - code question for you: GumpPicWithWidth derives from GumpPic which derives from AControl. AControl.Draw() draws all the children control owned by that control, so most (all?) classes deriving from AControl call base.Draw() as part of their Draw() method. How would you have a second-derived class (like GumpPicWithWidth) call Acontrol.Draw() for itself without calling base.Draw() (which would call GumpPic.Draw() ).
Jeff Boulanger
@jeffboulanger
Jul 31 2015 21:35
Don't derive it from gumpic. Instead move all behavior that relates to both to a new base class that dirives from acontrol. Then put the individual draw calls in each of the gumppic classes
Basically make a agumpic
Zane Wagner
@ZaneDubya
Jul 31 2015 23:19
NICE.
Thanks!
Zane Wagner
@ZaneDubya
Jul 31 2015 23:34
@jeffboulanger Another question - I need a property that will return the 'topmost owner' of a control. So if I'm hovering over a gumppic, which is owned by another gumppic, which is finally owned by a StatusGump, I want this property to return the StatusGump. What would be a good name for this property? Right now I'm using .TopmostOwner, but that's a little... I don't know. 'ugh'.
Jeff Boulanger
@jeffboulanger
Jul 31 2015 23:40
RootParent