last works on supporting ...

This commit is contained in:
2024-06-20 00:05:45 +03:30
parent 7bae4c6723
commit 0ef22df67b
11 changed files with 2440 additions and 494 deletions
+77 -2
View File
@@ -29,7 +29,7 @@
//
// Definitions ...
#define defZoneBGColor clrLightGray
#define defZoneBGColor CLR_NONE // clrLightGray
#define defZoneLBLColor clrWhite
//
@@ -286,6 +286,56 @@ public:
return Init(inputs);
}
//
// Overrides ...
//
string GetTag() override
{
return "XZONE";
}
//
// Retrieve Title Prefix ...
string GetIdentifier()
{
//
string result = NULL;
//
if (!IsValid())
{
return result;
}
//
result = GetTag() + "_" +
mSymbol + "_" +
ToString(mPeriod) +
ToFormatString(mStartTime) + "_" +
ToFormatString(mEndTime);
//
return result;
}
//
bool IsValid()
{
//
bool result = false;
//
result =
//
mZones.Total() > 0
//
;
//
return result;
}
//
// Add Specified Level/Color ...
void AddLevelColor(
@@ -502,7 +552,7 @@ public:
}
//
bool DrawZones(
bool Draw(
long chartId = 0,
string prefix = "XSCZone",
int subWindow = 0,
@@ -645,6 +695,31 @@ public:
return result;
}
//
bool Remove(
long chartId = 0,
string prefix = "XSCZone",
int subWindow = 0,
bool redraw = false //
)
{
//
bool result = false;
//
mChartObjects.Clear();
//
result =
//
true
//
;
//
return result;
}
//
// Protected ...
protected: