com.jniwrapper.win32.gdi
Class GdiObject.ImageLoadParameters

java.lang.Object
  extended bycom.jniwrapper.util.FlagSet
      extended bycom.jniwrapper.win32.gdi.GdiObject.ImageLoadParameters
Enclosing class:
GdiObject

public static class GdiObject.ImageLoadParameters
extends com.jniwrapper.util.FlagSet

ImageLoadParameters class.


Field Summary
static int COLOR
          The image in color.
static int COPYDELETEORG
          Deletes the original image after creating the copy.
static int COPYFROMRESOURCE
          Tries to reload an icon or cursor resource from the original resource file rather than simply copying the current image.
static int COPYRETURNORG
          Returns the original image handle if it satisfies the criteria for the copy.
static int CREATEDIBSECTION
          Causes function to return a DIB section bitmap rather than a compatible bitmap.
static int DEFAULTCOLOR
          The default flag, it does nothing.
static int DEFAULTSIZE
          Uses the width or height specified by the system metric values.
static int LOADFROMFILE
          Loads the stand-alone image from the file.
static int LOADMAP3DCOLORS
          Searches the color table for the image and replaces the shades of gray with the corresponding 3-D color.
static int LOADTRANSPARENT
          Retrieves the color value of the first pixel in the image and replaces the corresponding entry in the color table with the default window color.
static int MONOCHROME
          The image in black and white colors.
static int SHARED
          Shares the image handle if the image is loaded multiple times.
static int VGACOLOR
          Uses true VGA colors.
 
Constructor Summary
GdiObject.ImageLoadParameters()
           
 
Methods inherited from class com.jniwrapper.util.FlagSet
add, and, clear, contains, getBit, getBits, getFlags, getMask, or, remove, setBit, setBits, setupFlag, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULTCOLOR

public static final int DEFAULTCOLOR
The default flag, it does nothing. All it means is "not MONOCHROME".

See Also:
Constant Field Values

MONOCHROME

public static final int MONOCHROME
The image in black and white colors.

See Also:
Constant Field Values

COLOR

public static final int COLOR
The image in color.

See Also:
Constant Field Values

COPYRETURNORG

public static final int COPYRETURNORG
Returns the original image handle if it satisfies the criteria for the copy.

See Also:
Constant Field Values

COPYDELETEORG

public static final int COPYDELETEORG
Deletes the original image after creating the copy.

See Also:
Constant Field Values

LOADFROMFILE

public static final int LOADFROMFILE
Loads the stand-alone image from the file.

See Also:
Constant Field Values

LOADTRANSPARENT

public static final int LOADTRANSPARENT
Retrieves the color value of the first pixel in the image and replaces the corresponding entry in the color table with the default window color. All pixels in the image that use that entry become the default window color. This value applies only to images that have corresponding color tables. Do not use this option if you are loading a bitmap with a color depth greater than 8 bit per pixel.

See Also:
Constant Field Values

DEFAULTSIZE

public static final int DEFAULTSIZE
Uses the width or height specified by the system metric values.

See Also:
Constant Field Values

VGACOLOR

public static final int VGACOLOR
Uses true VGA colors.

See Also:
Constant Field Values

LOADMAP3DCOLORS

public static final int LOADMAP3DCOLORS
Searches the color table for the image and replaces the shades of gray with the corresponding 3-D color.

See Also:
Constant Field Values

CREATEDIBSECTION

public static final int CREATEDIBSECTION
Causes function to return a DIB section bitmap rather than a compatible bitmap.

See Also:
Constant Field Values

COPYFROMRESOURCE

public static final int COPYFROMRESOURCE
Tries to reload an icon or cursor resource from the original resource file rather than simply copying the current image.

See Also:
Constant Field Values

SHARED

public static final int SHARED
Shares the image handle if the image is loaded multiple times.

See Also:
Constant Field Values
Constructor Detail

GdiObject.ImageLoadParameters

public GdiObject.ImageLoadParameters()