Tab Button

This commit is contained in:
Luis Fernando Molina committed 2019-03-20 22:45:38 +01:00
1 parent c16ee902cd
commit e387db1f91
3 files changed
+19 -1

No files matched your search

+9
View File
@@ -17,6 +17,7 @@ function newAAMastersPlottersTradingSimulationTradingSimulationTradingSimulation
container.frame.containerName = "Simulated Records Panel";
let currentRecord;
let panelTabButton
return thisObject;
@@ -28,12 +29,19 @@ function newAAMastersPlottersTradingSimulationTradingSimulationTradingSimulation
thisObject.container.frame.position.x = viewPort.visibleArea.topRight.x - thisObject.container.frame.width * 1;
thisObject.container.frame.position.y = viewPort.visibleArea.topRight.y;
panelTabButton = newPanelTabButton()
panelTabButton.parentContainer = thisObject.container
panelTabButton.container.frame.parentFrame = thisObject.container.frame
panelTabButton.initialize()
}
function getContainer(point) {
var container;
container = panelTabButton.getContainer(point)
if (container !== undefined) { return container }
/* First we check if this point is inside this space. */
if (this.container.frame.isThisPointHere(point, true) === true) {
@@ -63,6 +71,7 @@ function newAAMastersPlottersTradingSimulationTradingSimulationTradingSimulation
plotCurrentRecordInfo();
panelTabButton.draw()
}