javauis/eswt_akn/org.eclipse.ercp.swt.s60/src/org/eclipse/swt/graphics/Color.java
branchRCL_3
changeset 24 6c158198356e
parent 14 04becd199f91
equal deleted inserted replaced
23:e5618cc85d74 24:6c158198356e
   285     private int getRgbValue()
   285     private int getRgbValue()
   286     {
   286     {
   287         return OS.Color_RgbValue(device.handle, handle);
   287         return OS.Color_RgbValue(device.handle, handle);
   288     }
   288     }
   289 
   289 
   290 
       
   291 
       
   292     /**
   290     /**
   293      * Invokes platform specific functionality to allocate a new Color.
   291      * Invokes platform specific functionality to allocate a new Color.
   294      * <p>
   292      * <p>
   295      * <b>IMPORTANT:</b> This method is <em>not</em> part of the public
   293      * <b>IMPORTANT:</b> This method is <em>not</em> part of the public
   296      * API for <code>Color</code>. It is marked public only so that it
   294      * API for <code>Color</code>. It is marked public only so that it
   298      * available on all platforms, and should never be called from
   296      * available on all platforms, and should never be called from
   299      * application code.
   297      * application code.
   300      * </p>
   298      * </p>
   301      *
   299      *
   302      * @param device the device on which to allocate the color
   300      * @param device the device on which to allocate the color
   303      * @param handle the handle for the font
   301      * @param handle the handle for the color
   304      * @return a new font object containing the specified device and handle
   302      * @return a new color object containing the specified device and handle
   305      */
   303      */
   306     public static Color internal_new(Device device, int handle)
   304     public static Color internal_new(Device device, int handle)
   307     {
   305     {
   308         if (device == null) device = Device.getDevice();
   306         if (device == null) device = Device.getDevice();
   309         Color color = new Color();
   307         Color color = new Color();