haiku/headers/os/translation
Ryan Leavengood e77304562d Actually sort the translator menu used in ShowImage.
There were two problems with the last commit:

* the list needed to be outside of the top-level loop.
* BList was just broken for sorting translation_format pointers.

I fixed this by moving the loop outside and converting the translation_formats
to translator_info, which has the translator_id, since that is needed to create
the menu item, and would otherwise be unavailable outside the loop.

I tried to get this working with BList, but the sorting was completely broken,
and converting to BObjectList made the code much, much better and worked great.
Screw BList and casting, hurray templated BObjectList.

Really fixes #6782.
2012-08-07 00:41:41 -04:00
..
BitmapStream.h * Rewrote header. 2009-08-27 13:40:07 +00:00
TranslationDefs.h * Rewrote headers as needed. 2009-08-27 14:20:56 +00:00
TranslationErrors.h * Rewrote headers as needed. 2009-08-27 14:20:56 +00:00
TranslationUtils.h Actually sort the translator menu used in ShowImage. 2012-08-07 00:41:41 -04:00
Translator.h * Rewrote headers as needed. 2009-08-27 14:20:56 +00:00
TranslatorAddOn.h * Rewrote headers as needed. 2009-08-27 14:20:56 +00:00
TranslatorFormats.h * Rewrote last Translation Kit header. 2009-08-27 14:34:29 +00:00
TranslatorRoster.h * Rewrote headers as needed. 2009-08-27 14:20:56 +00:00