This commit is contained in:
2025-09-07 21:16:39 +03:30
parent a365c14a3e
commit eaf04cd81c
2 changed files with 40 additions and 2 deletions
+29 -1
View File
@@ -64,7 +64,8 @@ class XCXOM1POIDrawer : public XCBase
void DrawZone(
XOM1Zone &zone,
bool drawPrice = false,
bool drawMiddle = false //
bool drawMiddle = false,
bool drawFrom = false //
)
{
//
@@ -163,6 +164,33 @@ class XCXOM1POIDrawer : public XCBase
}
}
//
// Draw From ...
if (drawFrom)
{
//
CChartObjectVLine *mLineObj;
string mLineName = "mfl_" + ToMD5(zone.GetTag());
mLineObj = new CChartObjectVLine();
has = mLineObj.Create(
mDrawer.ChartIdentification(),
mLineName,
mDrawer.SubWindowIdentification(),
zone.from //
);
if (has)
{
//
mDrawer.ApplyStyle(
mLineObj,
zone.dir //
);
//
mObjects.Add(mLineObj);
}
}
//
// Clean Resources ...
box.Clean();