Development > Newbie Coding
Question on List Formatting
bayo:
BTW for horizontal spinner, we can add it, but only for 2.5.
H-Hour:
If it's possible to have horizontal spinner that can place the spinner buttons not directly side-by-side, like this market mockup, it would be nice. But might not really work within a single node.
bayo:
nice idea, it can be a unidirectional spinner :-) one node for "+", and one node for "-".
I will do it now, cause i love this idea.
And it would be nice to use a data node to edit the shared data, to create some kind of real component, but maybe i am dreaming to fast...
Battlescared:
Over in the Bug thread I posted that I'd discovered a problem in the transfer page where items can be lost while working on this. I think I can fix the problem, but it's a bit out of scope of where I'm working at the moment.
The issue is that the next/previous base buttons are not reinitializing the transfer menu when they are clicked. The transfer linked list just gets dumped with all the items in it. What I think should happen is that the prev/next callbacks should check if they are on the transfer page and issue a command to reset the transfer page and unload the cargo before the next base is selected. That is outside of the scope of cp_transfer_callbacks.c I'm working on now, and at least for the moment, I'd like to stay in that scope. But I could save the current state in cp_transfer_callbacks in global and check it when the items are accessed to see if there had been a change in the source base, and reset things when I detect that. I'm looking if I can detect that state without using globals (I don't like globals, though I know it's common in C).
Ideas? Direction? Leave it for others to fix?
geever:
I'll fix it up, if this machine let me...
-geever
Navigation
[0] Message Index
[*] Previous page
Go to full version