CnGraphConsts.pas 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {******************************************************************************}
  2. { CnPack For Delphi/C++Builder }
  3. { 中国人自己的开放源码第三方开发包 }
  4. { (C)Copyright 2001-2018 CnPack 开发组 }
  5. { ------------------------------------ }
  6. { }
  7. { 本开发包是开源的自由软件,您可以遵照 CnPack 的发布协议来修 }
  8. { 改和重新发布这一程序。 }
  9. { }
  10. { 发布这一开发包的目的是希望它有用,但没有任何担保。甚至没有 }
  11. { 适合特定目的而隐含的担保。更详细的情况请参阅 CnPack 发布协议。 }
  12. { }
  13. { 您应该已经和开发包一起收到一份 CnPack 发布协议的副本。如果 }
  14. { 还没有,可访问我们的网站: }
  15. { }
  16. { 网站地址:http://www.cnpack.org }
  17. { 电子邮件:master@cnpack.org }
  18. { }
  19. {******************************************************************************}
  20. unit CnGraphConsts;
  21. {* |<PRE>
  22. ================================================================================
  23. * 软件名称:界面控件包
  24. * 单元名称:资源字符串定义单元
  25. * 单元作者:CnPack开发组
  26. * 备 注:该单元定义了界面类用到的资源字符串
  27. * 开发平台:PWin98SE + Delphi 5.0
  28. * 兼容测试:PWin9X/2000/XP + Delphi 5/6
  29. * 本 地 化:该单元中的字符串均符合本地化处理方式
  30. * 单元标识:$Id$
  31. * 修改记录:2005.12.24 V1.0
  32. * 创建单元
  33. ================================================================================
  34. |</PRE>}
  35. interface
  36. {$I CnPack.inc}
  37. var
  38. SCnAOCaptionColor: string = '&Color';
  39. SCnAOCaptionFont: string = '&Font';
  40. SCnAOCaptionOption: string = '&Options';
  41. SCreateDCFromEmptyBmp: string = 'Can''t create DC for empty bitmap';
  42. SAllocDIBFail: string = 'Can''t allocate the DIB handle';
  43. SCreateDCFail: string = 'Can''t create compatible DC';
  44. SSelectBmpToDCFail: string = 'Can''t select an object into DC';
  45. SBitmapIsEmpty: string = 'Can''t access data for empty bitmap';
  46. SInvalidPixel: string = 'Invalid pixel x: %d, y: %d';
  47. SInvalidPixelF: string = 'Invalid pixel x: %f, y: %f';
  48. SInvalidScanLine: string = 'Invalid scanline Row: %d';
  49. SInvalidAlphaBitmap: string = 'In Alpha Blend, Blend Bitmap must be same dimensions as Current Bitmap';
  50. SInvalidForeBitmap: string = 'Invalid foreground bitmap';
  51. SReadBmpError: string = 'Read bitmap data error';
  52. // CnSkinMagic Exceptions
  53. SCNE_WRITEVMTFAILED: string = 'Can''t Write VMT Data, CnSkinMagic Class Register Failed!';
  54. SCNE_FINDCLASSDATAFAILED: string = 'Can''t Find CnSkingMagic Class Data!';
  55. SCNE_REGISTERMESSAGEFAILED: string = 'Can''t Register Window Message for CnSkinMagic!';
  56. implementation
  57. end.