MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / OnButtonClicked

Method OnButtonClicked

engine/Poseidon/UI/Map/UIMapDialogs.cpp:219–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219void DisplayInsertMarker::OnButtonClicked(int idc)
220{
221 switch (idc)
222 {
223 case IDC_CANCEL:
224 case IDC_OK:
225 _exitVK = idc;
226 if (_exitKey == idc)
227 {
228 Exit(idc);
229 }
230 break;
231 default:
232 Display::OnButtonClicked(idc);
233 break;
234 }
235}
236
237// Control *DisplayInsertMarker::OnCreateCtrl(int type, int idc, const ParamEntry &cls);
238void DisplayInsertMarker::Destroy()

Callers

nothing calls this directly

Calls 11

GetCtrlFunction · 0.85
GetWorldNameFunction · 0.85
ShowCtrlMethod · 0.80
SwitchLandscapeMethod · 0.80
ClearMissionMethod · 0.80
ActivateAddonsMethod · 0.80
InitGeneralMethod · 0.80
InitVehiclesMethod · 0.80
ClientReadyMethod · 0.45
IsServerMethod · 0.45
IsGameMasterMethod · 0.45

Tested by

no test coverage detected