//+------------------------------------------------------------------+ //| TMGUI.mqh | //| Thorsten Fischer Copyright 2019 | //| https://www.tfsystem.de | //+------------------------------------------------------------------+ #property copyright "Thorsten Fischer Copyright 2019" #property link "https://www.tfsystem.de" #property version "1.00" #property strict #include "..\..\Include\TF-Class\TFFrame.mqh" //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ class CTMGUI : public CTFObject { private: CTFFrame m_Main_Window; // Hauptfenster public: CTMGUI(); ~CTMGUI(); virtual bool Create(void); virtual void Destroy(const int aReason=0); //virtual bool Create(const long aChart=0,const string aName="TMGUI",const int aSubwin=0,const int aL=0,const int aT=0,const int aR=100,const int aB=100); }; //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ CTMGUI::CTMGUI() { } //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ CTMGUI::~CTMGUI() { } //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ bool CTMGUI::Create() { return(m_Main_Window.Create()); } //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ //bool CTMGUI::Create(const long aChart=0,const string aName="TMGUI",const int aSubwin=0,const int aL=0,const int aT=0,const int aR=100,const int aB=100) //{ // return(false); //} //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ void CTMGUI::Destroy(const int aReason=0) { m_Main_Window.Destroy(aReason); } //+------------------------------------------------------------------+