//+------------------------------------------------------------------+ //| VisualInterfaces.mqh | //| Copyright 2025, MetaQuotes Ltd. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2025, MetaQuotes Ltd." #property link "https://www.mql5.com" #property version "1.00" //+------------------------------------------------------------------+ //| Interface for view change callbacks | //+------------------------------------------------------------------+ interface ViewEvents { void OnViewChanged(); void OnZoomChanged(long newZoom, long oldZoom); // Zoom is 0 to 5 void OnMinZoomReached(); void OnBeforeRender(); void OnAfterRender(); };