|
|
@ -292,6 +292,7 @@ public: |
|
|
|
MenuItem *item = new CGameMenuItem(this, itemName); |
|
|
|
MenuItem *item = new CGameMenuItem(this, itemName); |
|
|
|
item->AddActionSignalTarget(target); |
|
|
|
item->AddActionSignalTarget(target); |
|
|
|
item->SetCommand(command); |
|
|
|
item->SetCommand(command); |
|
|
|
|
|
|
|
item->SetProportional(true); |
|
|
|
item->SetText(itemText); |
|
|
|
item->SetText(itemText); |
|
|
|
item->SetUserData(userData); |
|
|
|
item->SetUserData(userData); |
|
|
|
return BaseClass::AddMenuItem(item); |
|
|
|
return BaseClass::AddMenuItem(item); |
|
|
@ -302,6 +303,7 @@ public: |
|
|
|
MenuItem *item = new CGameMenuItem(this, itemName); |
|
|
|
MenuItem *item = new CGameMenuItem(this, itemName); |
|
|
|
item->AddActionSignalTarget(target); |
|
|
|
item->AddActionSignalTarget(target); |
|
|
|
item->SetCommand(command); |
|
|
|
item->SetCommand(command); |
|
|
|
|
|
|
|
item->SetProportional(true); |
|
|
|
item->SetText(itemText); |
|
|
|
item->SetText(itemText); |
|
|
|
item->SetUserData(userData); |
|
|
|
item->SetUserData(userData); |
|
|
|
return BaseClass::AddMenuItem(item); |
|
|
|
return BaseClass::AddMenuItem(item); |
|
|
|