bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #14967] images with alpha, sometimes have color corruption


From: Rob Burns
Subject: [bug #14967] images with alpha, sometimes have color corruption
Date: Mon, 21 Nov 2005 13:50:38 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051006 Firefox/1.0.7

Follow-up Comment #2, bug #14967 (project gnustep):

I am using the art backend. The image is fairly small (16 pixels I think),
but the tableColumn it is placed in is slightly smaller than that. I don't do
any scaling directly. The code I use for displaying it is below. 

When I open it up in Preview.app on my machine, it still has a green border.

Thanks
Rob


- (id)            tableView: (NSTableView *) aTableView
  objectValueForTableColumn: (NSTableColumn *) aTableColumn
                        row: (int) rowIndex
{

  <snip>...
 
  if( [[aTableColumn identifier] isEqualToString: @"Flag"])
  {
    if([[cards objectAtIndex: x] learned] == YES)
    {
      return [NSImage imageNamed: @"Star.tiff"];
    }
    if([[cards objectAtIndex: x] slot] != NOSLOT)
    {
      return [NSImage imageNamed: @"Scheduled.tiff"];
    }
  }
  return nil;
}

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14967>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]