Okay, so I'm a bit late to the party... just been trying out FryGUI for the first time, and it's really not too bad at all !!
But you know me... I can't leave things well alone, and the first thing I missed was scroll-wheel functionality on the table (to begin with).
A little hack to Table.bmx to implement scroll-wheel scrolling...
Possibly the call to UpdateMouseRelease() is a bit messy... but it works.
I'd much rather have an intermediate type called something along the lines of fry_TGadgetWithScrollBar which could better implement the mouse functionality - rather than will be the case at the moment of duplicating code...
But a very nice, reasonably fast, graphics-based GUI. Now I just need to work how to go about building UI's using the xml stuff..... argh...
:o)
But you know me... I can't leave things well alone, and the first thing I missed was scroll-wheel functionality on the table (to begin with).
A little hack to Table.bmx to implement scroll-wheel scrolling...
... add a new field Field gOZ:Int ... and adding to the UpdateMouseOver() method... 'deal with the scroll wheel Local z:Int = MouseZ() If z <> gOZ Then If z > gOZ Then gScroll.gPart = fry_TScrollBar.DEC_PART Else gScroll.gPart = fry_TScrollBar.INC_PART End If gOZ = z gScroll.UpdateMouseRelease(0,0) End If ... and to the Update() method, add this little bit If Not gState Then gOZ = MouseZ() End If
Possibly the call to UpdateMouseRelease() is a bit messy... but it works.
I'd much rather have an intermediate type called something along the lines of fry_TGadgetWithScrollBar which could better implement the mouse functionality - rather than will be the case at the moment of duplicating code...
But a very nice, reasonably fast, graphics-based GUI. Now I just need to work how to go about building UI's using the xml stuff..... argh...
:o)