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
TranslationDefs.h
TranslationErrors.h
TranslationUtils.h Actually sort the translator menu used in ShowImage. 2012-08-07 00:41:41 -04:00
Translator.h
TranslatorAddOn.h
TranslatorFormats.h
TranslatorRoster.h