Esempio n. 1
0
 public ShowObjectFullSpecBlock(Toolbox.ShowObjectFull spec)
 {
     Visible            = new NativeOS.Rect(spec.Visible);
     Scroll             = new NativeOS.Coord(spec.Scroll);
     BehindWindow       = spec.StackPosition;
     WindowFlags        = spec.WindowFlags;
     ParentWindowHandle = spec.ParentWindowHandle;
     AlignmentFlags     = spec.AlignmentFlags;
 }
Esempio n. 2
0
 /*! \brief Find the origin of the window when its state is already known. */
 public OS.Coord GetOrigin(ref NativeOS.Rect visible,
                           ref NativeOS.Coord scroll)
 {
     return(WimpWindow.GetOrigin(ref visible, ref scroll));
 }
Esempio n. 3
0
 public Coord(ref NativeOS.Coord coord)
 {
     X = coord.X;
     Y = coord.Y;
 }
Esempio n. 4
0
 public ShowObjectTopLeftBlock(Toolbox.ShowObjectTopLeft spec)
 {
     TopLeft = new NativeOS.Coord(spec.TopLeft);
 }
Esempio n. 5
0
 /*! \brief Find the origin of the window when its state is already known. */
 public OS.Coord GetOrigin(ref NativeOS.Rect visible,
                           ref NativeOS.Coord scroll)
 {
     return(new OS.Coord(visible.MinX - scroll.X,
                         visible.MaxY - scroll.Y));
 }