25 26 package com.sun.glass.ui.ios; 27 28 import com.sun.glass.ui.Pixels; 29 import java.nio.ByteBuffer; 30 import java.nio.IntBuffer; 31 32 /** 33 * iOS platform implementation class for Pixels. 34 */ 35 final class IosPixels extends Pixels { 36 37 protected IosPixels(int width, int height, ByteBuffer data) { 38 super(width, height, data); 39 } 40 41 protected IosPixels(int width, int height, IntBuffer data) { 42 super(width, height, data); 43 } 44 45 protected IosPixels(int width, int height, IntBuffer data, float scale) { 46 super(width, height, data, scale); 47 } 48 49 @Override 50 protected void _fillDirectByteBuffer(ByteBuffer bb) { } 51 52 @Override 53 protected void _attachInt(long ptr, int w, int h, IntBuffer ints, int[] array, int offset) { } 54 55 @Override 56 protected void _attachByte(long ptr, int w, int h, ByteBuffer bytes, byte[] array, int offset) { } 57 } | 25 26 package com.sun.glass.ui.ios; 27 28 import com.sun.glass.ui.Pixels; 29 import java.nio.ByteBuffer; 30 import java.nio.IntBuffer; 31 32 /** 33 * iOS platform implementation class for Pixels. 34 */ 35 final class IosPixels extends Pixels { 36 37 protected IosPixels(int width, int height, ByteBuffer data) { 38 super(width, height, data); 39 } 40 41 protected IosPixels(int width, int height, IntBuffer data) { 42 super(width, height, data); 43 } 44 45 protected IosPixels(int width, int height, IntBuffer data, float scalex, float scaley) { 46 super(width, height, data, scalex, scaley); 47 } 48 49 @Override 50 protected void _fillDirectByteBuffer(ByteBuffer bb) { } 51 52 @Override 53 protected void _attachInt(long ptr, int w, int h, IntBuffer ints, int[] array, int offset) { } 54 55 @Override 56 protected void _attachByte(long ptr, int w, int h, ByteBuffer bytes, byte[] array, int offset) { } 57 } |