MCPcopy Create free account
hub / github.com/TASEmulators/fceux / DWaitButton

Function DWaitButton

src/drivers/win/input.cpp:1331–1340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1329}
1330
1331int DWaitButton(HWND hParent, const char *text, ButtConfig *bc)
1332{
1333 DWBText=text;
1334 DWBButtons = bc;
1335 DWBStarted = 1;
1336
1337 int nRet = DialogBox(fceu_hInstance, "DWBDIALOG", hParent, DWBCallB);
1338 SetFocus(hParent);
1339 return 0; //mbg merge TODO 7/17/06 - had to add this return value--is it right?
1340}
1341
1342static ButtConfig *DoTBButtons=0;
1343static const char *DoTBTitle=0;

Callers 3

AskForHotkeyFunction · 0.70
DoTBCallBFunction · 0.70
InputConCallBFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected