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; }
/*! \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)); }
public Coord(ref NativeOS.Coord coord) { X = coord.X; Y = coord.Y; }
public ShowObjectTopLeftBlock(Toolbox.ShowObjectTopLeft spec) { TopLeft = new NativeOS.Coord(spec.TopLeft); }
/*! \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)); }