D4CD_BUTTON - Gargy007/D4CD GitHub Wiki
D4CD_BUTTON object is defined for standard button use - select and push. The button support two types of visual aspect to show state of button (unfocused/focused), by HW cursor or by special printed characters on sides of button text (in example: round and angle brackets).
Declaration
D4CD_DECLARE_BUTTON(name, text, x, y, cx, flags, pUser, onClick, pOnUsrMsg)
- name - name of object
- text - pointer to text of button
- x,y - coordination of button
- cx - full length of button
- flags - system flags of object
- pUser - user data/pointer
- onClick - pointer on OnClick function
- pOnUsrMsg - pointer on user message function
API functions
Only standard function to runtime change text of button - D4CD_SetText.