#include <mgutils.h>
Skin item information structure
Definition at line 1317 of file mgutils.h.
◆ attached
The attached private data with the item by application.
Definition at line 1422 of file mgutils.h.
◆ bmp_index
The index of the item bitmap in the skin bitmap array.
Definition at line 1412 of file mgutils.h.
◆ hwnd
The handle to the control if the type is SI_TYPE_CONTROL.
Definition at line 1415 of file mgutils.h.
◆ id
The identifier of the item.
Definition at line 1320 of file mgutils.h.
◆ item_rc
The hit-test rectangle of the item.
Definition at line 1408 of file mgutils.h.
◆ style
The style of the item.
The style of an item is composed of five classes of information:
- The type of an item.
- The hit-test shape type.
- The common status.
- The item specific status.
- The item specific style.
The type of an item can be one of the following values:
- SI_TYPE_NRMLABEL
The item is a normal label.
- SI_TYPE_BMPLABEL
The item is a bitmap label.
- SI_TYPE_CMDBUTTON
The item is a command button.
- SI_TYPE_CHKBUTTON
The item is a check button.
- SI_TYPE_NRMSLIDER
The item is a normal slider.
- SI_TYPE_ROTSLIDER
The item is a rotation slider.
The hit-test shape type can be one of the following values:
- SI_TEST_SHAPE_RECT
The hit-test shape is a rect.
- SI_TEST_SHAPE_ELLIPSE
The hit-test shape is an ellipse.
- SI_TEST_SHAPE_LOZENGE
The hit-test shape is a lozenge.
- SI_TEST_SHAPE_LTRIANGLE
The hit-test shape is a left triangle.
- SI_TEST_SHAPE_RTRIANGLE
The hit-test shape is a right triangle.
- SI_TEST_SHAPE_UTRIANGLE
The hit-test shape is a up triangle.
- SI_TEST_SHAPE_DTRIANGLE
The hit-test shape is a down triangle.
The common status of an item can be OR'ed with the following values:
- SI_STATUS_OK
The basic status of an item, always be there.
- SI_STATUS_VISIBLE
The item is visble.
- SI_STATUS_DISABLED
The item is disabled.
- SI_STATUS_HILIGHTED
The item is hilighted.
The item specific status can be one of the following values:
- SI_BTNSTATUS_CLICKED
The three-state button is clicked.
- SI_BTNSTATUS_CHECKED
The check button is ckecked.
The item specific style can be a valued OR'ed with the following values:
- SI_NRMSLIDER_HORZ
The normal slider is horizontal.
- SI_NRMSLIDER_VERT
The normal slider is vertical.
- SI_NRMSLIDER_STATIC
The normal slider is static, i.e., the slider acts like a progress bar.
- SI_ROTSLIDER_CW
The rotation slider is clockwise.
- SI_ROTSLIDER_ANTICW
The rotation slider is anti-clockwise.
- SI_ROTSLIDER_STATIC
The rotation slider is static, i.e., the slider acts like a progress bar.
Definition at line 1400 of file mgutils.h.
◆ tip
◆ type_data
The type-specific data of the item, used to define extra information of the item.
Definition at line 1428 of file mgutils.h.
X-coordinate of the item in the skin.
Definition at line 1403 of file mgutils.h.
Y-coordinate of the item in the skin.
Definition at line 1405 of file mgutils.h.
The documentation for this struct was generated from the following file: