Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Made a new "Sort Order" dialog...
Alpha:
--- Quote from: ouch on October 02, 2014, 11:19:32 pm ---I was wondering why this never got added, then I remembered that the code::blocks berlios project died right around that time so my submitted patch no longer exists.
--- End quote ---
50% correct... patch #3529 exists, but when you uploaded it to BerliOS, it must have been compressed, and therefore corrupted within their database (BerliOS only handled plain text). So, impossible to recover from there.
--- Quote from: ouch on October 02, 2014, 11:19:32 pm ---Was there an actual reason this was never added or should I re-submit it through sourceforge?
--- End quote ---
Though I personally would not make use of this feature, I would recommend uploading it again; you already put the work in and I believe others would benefit from it.
oBFusCATed:
Are you really spending all that time reordering build targets?
This is a monstrous dialog and if I have to use it I'd be really scared.
Probably a saner option would be to just add multiple selection support and "move to top"/"move to bottom" buttons.
ouch:
Finally got around to finishing this. There is now two modes, basic and advanced. In basic mode (the default) it only has the move, section and reset buttons available. Ticking the advanced checkbox brings up the view in the first post. That checkbox is also saved on exit so you can just set it and forget it. The multiple selection and dragging and dropping still works in both modes too. Additionally this version saves it's window size on exit. The minimum window size is calculated dynamically instead of having fixed numbers. So no one should see a horrible pile of controls stacked on top of one another regardless of platform. This is true even if the user tries to pull some config file shenanigans... :) Max size is not taken into consideration to prevent multi-monitor issues. The window also centers itself on whatever called it instead of the center of the screen which should also help multi-monitor users.
So yeah, this version should have something everyone will enjoy.
Patch files and whole files in link below.
https://sites.google.com/site/ouchsdownloads/home/downloads/EditOrder.zip
ollydbg:
Very good job, ouch. I don't have time to test it recently, but generally I'm fine with the UI. ;)
oBFusCATed:
I'll be fine with this patch, if you remove the advanced mode.
Also, I'm not sure that I like the resizing magick you're describing.
I've not looked at the patch, but I hope you're using sizers and you're not placing controls manually.
Also what does the reset list button do? Isn't it the same as cancel + reopening the dialog?
BTW: You've not answered my questions. Are you really spending all that time re-ordering targets? How many targets do you really have?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version