Add Supports for Signalling Panel and its Actions and also Completely Test it ...

This commit is contained in:
2024-09-25 06:41:21 +03:30
parent 960ac6fd82
commit 20aeac12f6
3 changed files with 286 additions and 90 deletions
@@ -122,6 +122,16 @@ class XCButton : XSCBase
ObjectSetInteger(0, mName, OBJPROP_BGCOLOR, value);
}
/**
* Set Object Text Color ...
*
* @param value: Color
*/
void SetColor(color value)
{
ObjectSetInteger(0, mName, OBJPROP_COLOR, value);
}
/**
* Set Object Text ...
*
@@ -152,6 +162,16 @@ class XCButton : XSCBase
ObjectSetInteger(0, mName, OBJPROP_BACK, value);
}
/**
* Set Button Click State ...
*
* @param value: state
*/
void SetState(bool value)
{
ObjectSetInteger(0, mName, OBJPROP_STATE, value);
}
//
// Protected ...
protected: