Sack Library Documentation
|
typedef struct draw_popup_item_tag { PTRSZVAL psvUser; struct { _32 selected : 1; _32 checked : 1; } flags; union { struct { _32 width, height; } measure; struct { S_32 x, y; _32 width, height; Image image; } draw; } } DRAWPOPUPITEM, * PDRAWPOPUPITEM; struct draw_popup_item_tag { PTRSZVAL psvUser; struct { _32 selected : 1; _32 checked : 1; } flags; union { struct { _32 width, height; } measure; struct { S_32 x, y; _32 width, height; Image image; } draw; }; }; struct draw_popup_item_tag { PTRSZVAL psvUser; struct { _32 selected : 1; _32 checked : 1; } flags; union { struct { _32 width, height; } measure; struct { S_32 x, y; _32 width, height; Image image; } draw; }; }; typedef struct draw_popup_item_tag { PTRSZVAL psvUser; struct { _32 selected : 1; _32 checked : 1; } flags; union { struct { _32 width, height; } measure; struct { S_32 x, y; _32 width, height; Image image; } draw; } } DRAWPOPUPITEM, * PDRAWPOPUPITEM;
Members |
Description |
PTRSZVAL psvUser; |
ID param of append menu item |
struct { _32 selected : 1; _32 checked : 1; } flags; |
Optional states an item might be in. |
_32 selected : 1; |
Menu item is in a selected state. (Mouse Over) |
_32 checked : 1; |
Menu item has a checkmark on it. |
struct { _32 width, height; } measure; |
Information which should be filled in when measuring popup items. |
_32 height; |
Height of the menu item. Width of the menu item. |
_32 width; |
Height of the menu item. Width of the menu item. |
struct { S_32 x, y; _32 width, height; Image image; } draw; |
Contains information passed when the draw is required. |
S_32 x; |
x to draw into y coordinate to start drawing at. |
S_32 y; |
x to draw into y coordinate to start drawing at. |
_32 height; |
Width to draw. Height to draw. |
_32 width; |
Width to draw. Height to draw. |
Image image; |
Image to draw into. |
This is used when a custom drawn menu item is used. Allows user code to draw onto the menu.
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|