A Question about Cursors and Icons

Started by CodeBunny, November 04, 2010, 00:57:44

Previous topic - Next topic


This isn't really important - I'm just a little curious why one needs to supply ByteBuffer to set the icon, but an IntBuffer to create Cursor data.

Why not use a common way of telling the machine what image data to use? Is one advantageous over the other in certain situations?