MCPcopy Create free account
hub / github.com/CruiserOne/Astrolog / PrintNotice

Function PrintNotice

general.cpp:1410–1424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1408// displayer below, except print in a different color.
1409
1410void PrintNotice(CONST char *sz)
1411{
1412#ifndef WIN
1413 AnsiColor(kYellowA);
1414 fprintf(stderr, "%s\n", sz);
1415 AnsiColor(kDefault);
1416#else
1417 char szT[cchSzDef];
1418
1419 if (wi.fNoPopup)
1420 return;
1421 sprintf(szT, "%s Notice", szAppName);
1422 MessageBox(wi.hwndMain, sz, szT, MB_ICONINFORMATION);
1423#endif
1424}
1425
1426
1427// Print a warning message given a string. This is called in non-fatal cases

Callers 4

ShowParseExpressionFunction · 0.85
PrintSzFormatFunction · 0.85
FRegisterExtensionsFunction · 0.85
FUnregisterExtensionsFunction · 0.85

Calls 1

AnsiColorFunction · 0.85

Tested by

no test coverage detected