public override void UpdateZones(RenderedLayout Layout) { LabelsDirty = true; this.Layout = Layout; TransWind.UpdateWindow(); LabelWind.UpdateWindow(); }
public override void ActivateSector(RenderedZone Zone) { if (!Object.ReferenceEquals(ActiveZone, Zone)) { TransparencyDirty = true; ActiveZone = Zone; TransWind.UpdateWindow(); LabelWind.UpdateWindow(); } }
public override void RenderZone(int ScreenWidth, int ScreenHeight) { TransWind.Width = LabelWind.Width = ScreenWidth; TransWind.Height = LabelWind.Height = ScreenHeight + GDIWindow.WinApi.WinAPI.GetSystemMetrics(GDIWindow.Win32Enums.SystemMetric.SM_CYCAPTION) + 15; visible = true; LabelWind.ZPos = TransWind.ZPos = GDIWindow.Win32Enums.HWNDPosStates.TopMost; LabelsDirty = true; TransWind.Show(); LabelWind.Show(); }
public override void HideZone() { visible = false; TransWind.Hide(); LabelWind.Hide(); }