TTextBoxMessage v1, ready.

TTextBox v1.
This commit is contained in:
oz
2020-12-03 17:47:36 +03:00
parent 9ffab95d8e
commit fe66d33768
22 changed files with 419 additions and 57 deletions

View File

@@ -87,10 +87,10 @@ TPinballComponent::~TPinballComponent()
}
int TPinballComponent::Message(int message1, float message2)
int TPinballComponent::Message(int code, float value)
{
MessageField = message1;
if (message1 == 1024)
MessageField = code;
if (code == 1024)
MessageField = 0;
return 0;
}
@@ -108,3 +108,7 @@ int TPinballComponent::get_scoring(int score1)
{
return 0;
}
void TPinballComponent::control_handler(int code, TPinballComponent* cmp)
{
}