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

Function DetectGraphicsChartMode

xscreen.cpp:2155–2179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2153// -g combined with -X, and so on.
2154
2155int DetectGraphicsChartMode()
2156{
2157 int nMode;
2158
2159 if (us.fWheel) nMode = gHouse;
2160 else if (us.fGrid || us.fAspect) nMode = gGrid;
2161 else if (us.fMidpoint) nMode = gMidpoint;
2162 else if (us.fHorizon) nMode = gHorizon;
2163 else if (us.fOrbit) nMode = gOrbit;
2164 else if (us.fSector) nMode = gSector;
2165 else if (us.fInfluence) nMode = gDisposit;
2166 else if (us.fEsoteric) nMode = gEsoteric;
2167 else if (us.fAstroGraph) nMode = gAstroGraph;
2168 else if (us.fCalendar) nMode = gCalendar;
2169 else if (us.fEphemeris) nMode = gEphemeris;
2170 else if (us.fHorizonSearch) nMode = gRising;
2171 else if (us.fAtlasNear) nMode = gLocal;
2172 else if (us.fMoonChart) nMode = gMoons;
2173 else if (us.fInDayGra) nMode = gTraTraGra;
2174 else if (us.fTransitGra) nMode = gTraNatGra;
2175 else if (us.nRel == rcBiorhythm) nMode = gBiorhythm;
2176 else nMode = gWheel;
2177
2178 return nMode;
2179}
2180
2181
2182// This is the main interface to all the graphics features. This routine is

Callers 2

xscreen.cppFile · 0.85
RedoMenuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected