API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

LISTMODELEVENT_INIT()

Brew Release
Brew MP 1.0.2
See Also
Description
This function serves to initialize the fields of a ListModelEvent data structure. It initializes the event code field of the base model event, and each of the fields unique to the ListModelEvent.
Params
pe
[]:
Pointer to a list model event.
c
[]:
Event code that identifies the type of event.
p
[]:
Indicates a relative position within the list whose value depends on the type of change being communicated by the event. In general, this is the index of the item effected by the change. For example, when an new item is inserted into the list, this field identifies the index where the new item was added. Similarly, when an item is deleted, this field identifies the index where the deleted item formerly resided.
o
[]:
Indicates the number of items stored in the list prior to a change to the list.
n
[]:
Indicates the number of items stored in the list after the change.
Prototype
  •    ListModelEvent_Init(ListModelEvent *pe, uint32 c, int p, int o, int n)
    
Return
  • None
Side Effect
  • None
Comments
None