[Prosciutto] Changeset [211]: + added method in ProsciuttoForm: public void ZA_UI_Api_SetButtonAttributeValue(int a_iFormIndex, int a_iBtnStartO...

1 view
Skip to first unread message

Mario Zorz

unread,
Jul 19, 2010, 8:32:33 PM7/19/10
to Mario Zorz
Changeset alert by Mario Zorz in space The Prosciutto Project
+ added method in ProsciuttoForm: public void ZA_UI_Api_SetButtonAttributeValue(int a_iFormIndex, int a_iBtnStartOffAttrsIdx, int a_iAttrIndex, int a_iValue) --> this allows setting attributes on buttons right away (bypassing the messaging system). Good for quick screen refreshes if you need to change the machine state as in sprites or games.
+ added method in ProsciuttoImageArray: public int ZA_UI_Api_GetImageArraySubIndex(int iImageArrayID)
+ added method in ProsciuttoImageArray: public int ZA_UI_Api_GetImageArrayAttributeValue(int a_iImgArrayIdx, int a_iImgStartOffAttrsIdx, int a_iAttrIndex)
+ now ProsciuttoTimer actually calls runActionExecute callback method, so you can implement and override whatever action you need from a timer you define.
+ added VCENTERED alignment to forms. A form might have an hfit height, and a VCENTERED value in its Y_COORD tag. This means "calculate height for me, and show the form at the center of the screen".
+ added method public void ZA_UI_Api_RequestRedraw() to uiapi, to ask Prosciutto to redraw the machine state if needed.
Commit from user: Mario Zorz

More details


Please click here to set your alert preferences for this space.
You can change or reduce the number of email alerts that you receive.

Assembla | Knowledge, Tools, and Talent for agile teams

Reply all
Reply to author
Forward
0 new messages