#include <mi32/grlist.h>
Public Types | |
| enum | BTNKEY { BTNKEY_ButtonLeft = 0x01, BTNKEY_ButtonMiddle = 0x02, BTNKEY_ButtonRight = 0x04, BTNKEY_Shift = 0x10, BTNKEY_Control = 0x20 } |
| enum | MSGPROC { MSGPROC_Ignored = 0, MSGPROC_Normal = 1, MSGPROC_Reset = 2, MSGPROC_PopupMenu } |
| enum | MSGTYPE { MSGTYPE_NoMessage = 0, MSGTYPE_Draw, MSGTYPE_PointerMotion, MSGTYPE_ButtonPressed, MSGTYPE_ButtonReleased, MSGTYPE_ButtonMotion, MSGTYPE_ButtonDoubleClick, MSGTYPE_KeyPressed, MSGTYPE_KeyReleased, MSGTYPE_RequestSize, MSGTYPE_Deselected, MSGTYPE_Selected, MSGTYPE_RequestToolTip, MSGTYPE_DoubleClick } |
Public Attributes | |
| BTNKEY | button |
| LRECT2D | drawrect |
| MGD::CONTEXT * | gc |
| int | itemnum |
| MIUNICODE | key |
| LPOINT2D | origin |
| LPOINT2D | pointer |
| void * | PrivPtr |
| MSGPROC | proc |
| UINT8 | selected |
| BTNKEY | state |
| MIUNICODE * | tooltip |
| MSGTYPE | type |
| INT16 | width |
Processing done for Button/KeyPress messages.
Which button was pressed/released.
Rectangle to draw.
Graphic context for drawing.
Which key was pressed/released.
Item origin in window coordinates.
Pointer location where event occurred.
Private pointer if set.
What processing message handler did.
Set if item is currently "selected".
Button/Modifier key state.
ToolTip string returned (will be freed).
Message type.
Width, SizeRequest must set.
1.6.1