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

Function SetRel

wdriver.cpp:267–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265// menu command, and erase the bullet by the menu command for the old mode.
266
267void SetRel(int rc)
268{
269 CI ciT;
270
271 if (us.nRel == rcMidpoint) { // Restore chart when leave midpoint mode.
272 ciT = ciMain;
273 ciCore = ciMain = ciSave;
274 ciSave = ciT;
275 }
276 if (rc == rcMidpoint) // Remember chart so can restore it later.
277 ciSave = ciMain;
278 us.nRel = rc;
279 RadioMenu(cmdRelBiorhythm, cmdRelTransit, CmdFromRc(rc));
280 wi.fCast = fTrue;
281}
282
283
284// Display and process the specified right click context popup menu.

Callers 2

DlgInfoAllFunction · 0.85
NWmCommandFunction · 0.85

Calls 1

CmdFromRcFunction · 0.85

Tested by

no test coverage detected