|
|
|
|
||||||||||||||||||||||||||||||||
|
Creates an icon object from the memory. This function creates an icon from memory data rather than icon file. w and h are the width and the height of the icon respectively. pANDBits and pXORBits are AND bitmask and XOR bitmask of the icon. MiniGUI currently support mono-color cursor and 16-color icon, colornum specifies the cursor's color depth. For mono-color, it should be 1, and for 16-color cursor, it should be 4.
|
|
|
Destroys an icon object. This function destroys the icon object hicon.
|
|
||||||||||||||||||||||||||||
|
Draws an icon into a box. This function draws an icon object hicon into a box specified by (x,y,w,h).
|
|
||||||||||||||||
|
Gets the size of an icon object. This function gets the size of the icon object hicon.
|
|
||||||||||||||||
|
Loads an icon from a Windows ICO file. This function loads an icon from a Windows ICO file named filename and creates an icon object. This function can load mono- and 16-color icons. Some Windows ICO file contain two icons in different sizes. You can tell this function to load which icon though which, 0 for the first icon, and 1 for the second icon. Generally, the later icon is the larger icon.
|
|
||||||||||||||||
|
Loads an icon from a memory area. This function loads an icon from a memroy area pointed to by area. The memory area has the same layout as the M$ Windows ICO file. This function can load mono- ,16-color and 256-color icons. Some Windows ICO file contain two icons in different sizes. You can tell this function to load which icon though which, 0 for the first icon, and 1 for the second icon. Generally, the later icon is the larger icon.
|
1.4.2