This is one I'm hoping I can get some help on as I'm feeling less confident about sussing this one out.
The project in question relies on maintaining a log of events the player can view. I've built a hybrid Selectable/Command Window (Base Selectable, "stole" and retooled the relevant Command functions), and it works perfectly.
But, given what its built off, the default drawText() packs all of the text into one line. drawTextEx() handles the straight processing and gives me color codes, that's an easy update. A little slice & dice and we split the lines at \n to draw the multiple lines, that works. itemRect has been updated to encompass the new heights and placements. So far so good.
Now I've got to rejigger what looks like a lot of extra calculations for the scrolling and potentially other elements related to the size of the list.
Has anyone had experience doing this? Happy to take some pointers, also happy to kick someone a few bucks for a clean solution.
The project in question relies on maintaining a log of events the player can view. I've built a hybrid Selectable/Command Window (Base Selectable, "stole" and retooled the relevant Command functions), and it works perfectly.
But, given what its built off, the default drawText() packs all of the text into one line. drawTextEx() handles the straight processing and gives me color codes, that's an easy update. A little slice & dice and we split the lines at \n to draw the multiple lines, that works. itemRect has been updated to encompass the new heights and placements. So far so good.
Now I've got to rejigger what looks like a lot of extra calculations for the scrolling and potentially other elements related to the size of the list.
Has anyone had experience doing this? Happy to take some pointers, also happy to kick someone a few bucks for a clean solution.