Commit (HEAD): icons loading from files

From: Hubert Figuiere (
Date: Wed Dec 03 2003 - 17:46:36 EST

  • Next message: Jordi Mas: "Re: Regarding fp_TextRun::_draw"

    Some XP changes to allow loading toolbar icons from files
    instead of inlined data. Implemented the loading for MacOS X.

    AP_Toolbar_Icons::_findIconDataByName() is unchanged, but I added
    AP_Toolbar_Icons::_findIconNameForID() to fetch the icon name from the
    icon ID.

    TODO: disable xpm inlining at build time if needed.
    TODO2: implement xpm -> png conversion for MacOS X build system
    TODO3: implement for GTK/GNOME.

    Add hooks to fetch the icon name from its ID.
    implement icon loading from PNG file in Bundle on MacOS X.
    CVS: Modified Files:
    CVS: src/af/xap/cocoa/
    CVS: src/af/xap/xp/xap_Toolbar_Icons.h
    CVS: src/wp/ap/xp/ap_Toolbar_Icons.cpp


    AbiWord maintainer - Lille, France 
    GPG fingerprint: 6C44 DB3E 0BF3 EAF5 B433  239A 5FEE 05E6 A56E 15A3

    This archive was generated by hypermail 2.1.4 : Wed Dec 03 2003 - 17:44:58 EST