Changeset 2897 for libpipi/trunk


Ignore:
Timestamp:
Oct 7, 2008, 8:10:14 PM (12 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Added preliminary support of CoreImage? (Cocoa/Mac? OS X) Changed default hidden unicode glyph to 'x' in The Pimp to fix a compilation problem
Location:
libpipi/trunk
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/ThePimp/gtk-gui/ThePimp.NewFile.cs

    r2892 r2897  
    7676            this.entry1.IsEditable = true;
    7777            this.entry1.WidthChars = 6;
    78             this.entry1.InvisibleChar = '';
     78            this.entry1.InvisibleChar = 'x';
    7979            this.entry1.Xalign = 1F;
    8080            this.table1.Add(this.entry1);
     
    9191            this.entry2.IsEditable = true;
    9292            this.entry2.WidthChars = 6;
    93             this.entry2.InvisibleChar = '';
     93            this.entry2.InvisibleChar = 'x';
    9494            this.entry2.Xalign = 1F;
    9595            this.table1.Add(this.entry2);
  • libpipi/trunk/configure.ac

    r2894 r2897  
    137137[
    138138 MACOSX_SDK_FRAMEWORKS="-F${MACOSX_SDK}/System/Library/Frameworks"
    139  CPPFLAGS="${CPPFLAGS} ${ARCH} ${MACOSX_SDK_FRAMEWORKS}"
    140  CFLAGS="${CFLAGS} ${MACOSX_SDK_CFLAGS}"
     139 CPPFLAGS="${CPPFLAGS} ${ARCH} ${MACOSX_SDK_FRAMEWORKS} -I/Developer//SDKs/MacOSX10.5.sdk/System/Library/Frameworks/QuartzCore.framework/Versions/A/Headers/"
     140 CFLAGS="${CFLAGS} ${MACOSX_SDK_CFLAGS} -I/Developer//SDKs/MacOSX10.5.sdk/System/Library/Frameworks/QuartzCore.framework/Versions/A/Headers/"
    141141 CXXFLAGS="${CXXFLAGS} ${MACOSX_SDK_CXXFLAGS}"
    142142 OBJCFLAGS="${OBJCFLAGS} ${MACOSX_SDK_CFLAGS}"
  • libpipi/trunk/pipi/Makefile.am

    r2842 r2897  
    111111endif
    112112
     113if USE_COCOA
     114codec_objcflags = -I"/Developer//SDKs/MacOSX10.5.sdk/System/Library/Frameworks/QuartzCore.framework/Versions/A/Headers/"
     115codec_libs += -framework Cocoa -framework IOKit -framework CoreFoundation -framework QuartzCore
     116codec_sources += codec/coreimage.m
     117endif
  • libpipi/trunk/pipi/codec.c

    r2845 r2897  
    5656        ret = pipi_load_gdi(name);
    5757#endif
    58 
     58#if USE_COCOA
     59    if(!ret)
     60        ret = pipi_load_coreimage(name);
     61#endif
    5962    return ret;
    6063}
  • libpipi/trunk/pipi/pipi_internals.h

    r2844 r2897  
    8686#endif
    8787
     88#ifdef USE_COCOA
     89pipi_image_t *pipi_load_coreimage(const char *name);
     90int pipi_save_coreimage(pipi_image_t *img, const char *name);
     91#endif
     92
     93
    8894pipi_image_t *pipi_load_oric(const char *name);
    8995int pipi_save_oric(pipi_image_t *img, const char *name);
Note: See TracChangeset for help on using the changeset viewer.