wxWidgets

wxWidgets

対応環境

  • Windows
    • Windows 95以降?
    • 2.9以降はUnicode版のみなので、9xではMSLUが必要
  • Mac
    • 2.8とそれ以前: Mac OS 8.6以上
      • wxMac: Carbon使用
      • wxCocoa: Cocoa使用
    • 2.9以降: Mac OS X 10.4以上
      • wxOSX/Carbon: Carbon使用(64ビットで使用不可)
      • wxOSX/Cocoa: Cocoa使用
      • wxCocoa: 廃止された

実装についてのメモ

// wx/mac/carbon/font.h
// class wxFont
#ifndef __LP64__    
    // 'old' Quickdraw accessors
    short MacGetFontNum() const;
    short MacGetFontSize() const;
    wxByte  MacGetFontStyle() const;

    // 'new' ATSUI accessors
    wxUint32 MacGetATSUFontID() const;
    wxUint32 MacGetATSUAdditionalQDStyles() const;
    wxUint16 MacGetThemeFontID() const ;

    // Returns an ATSUStyle not ATSUStyle*
    void* MacGetATSUStyle() const ; 
#else
    const void * MacGetCTFont() const;
    // soon to be removed for 64bit, Returns an ATSUStyle not ATSUStyle*
    void* MacGetATSUStyle() const ; 
#endif

タグ:

+ タグ編集
  • タグ:

このサイトはreCAPTCHAによって保護されており、Googleの プライバシーポリシー利用規約 が適用されます。

最終更新:2011年04月17日 19:24