示例#1
0
 public override void UpdateZones(RenderedLayout Layout)
 {
     LabelsDirty = true;
     this.Layout = Layout;
     TransWind.UpdateWindow();
     LabelWind.UpdateWindow();
 }
示例#2
0
 public override void ActivateSector(RenderedZone Zone)
 {
     if (!Object.ReferenceEquals(ActiveZone, Zone))
     {
         TransparencyDirty = true;
         ActiveZone        = Zone;
         TransWind.UpdateWindow();
         LabelWind.UpdateWindow();
     }
 }
示例#3
0
        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();
        }
示例#4
0
 public override void HideZone()
 {
     visible = false;
     TransWind.Hide();
     LabelWind.Hide();
 }