#1533 [NSImage dissolveToPoint:fromRect:fraction:] is deprecated in MacOSX 10.8 and later

Cosmetic
closed-fixed
3
2013-10-15
2013-10-03
chinhster
No

In ScintillaCocoa.mm ScintillaCocoa::StartDrag(),

[image dissolveToPoint: NSMakePoint(0.0, 0.0) fraction: 0.5];

produces the warning

*** WARNING: -[NSImage dissolveToPoint:fraction:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.

Discussion

  • chinhster

    chinhster - 2013-10-03

    This can be corrected by using:

    [image drawAtPoint: NSZeroPoint fromRect: NSZeroRect operation: NSCompositeSourceOver fraction: 0.5];

     
  • Neil Hodgson

    Neil Hodgson - 2013-10-04
    • labels: deprecated warning --> deprecated warning, scintilla
    • status: open --> open-fixed
    • assigned_to: Neil Hodgson
    • Priority: 9 --> 3
     
  • Neil Hodgson

    Neil Hodgson - 2013-10-04

    Committed as [bd4ab3].

     

    Related

    Commit: [bd4ab3]

  • Neil Hodgson

    Neil Hodgson - 2013-10-15
    • status: open-fixed --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks