Skip to content

Commit 75684cb

Browse files
committed
Out of date anaology
1 parent 1919442 commit 75684cb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

documentation/proposals/Proposal - Windowing 3.0.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ those APIs if the user has checked `view is IWindow`. Instead, this proposal bre
7575
concept of having an abstract "surface" representing a draw area that has been allotted to the application by the
7676
operating system/window manager, and splits the extant API surface up into distinct "components" that the user can
7777
access on this "surface". For example, instead of `IWindow.Size = new(1280, 720)`, the user would use
78-
`ISurface.Bounds.Size = new(1280, 720)` where `Bounds` is an optional component on that surface. Because that component
79-
is optional, nullable reference types shall be used, which will encourage the user to deal with the scenario in which
80-
that component is not present as a result of the IDE warnings that would be generated by making an assumption of its
81-
presence. This provides the write-once-run-everywhere encouragement we're after.
78+
`Surface.Window.ClientSize = new(1280, 720)` where `Bounds` is an optional component on that surface. Because that
79+
component is optional, nullable reference types shall be used, which will encourage the user to deal with the scenario
80+
in which that component is not present as a result of the IDE warnings that would be generated by making an assumption
81+
of its presence. This provides the write-once-run-everywhere encouragement we're after.
8282

8383
The Working Group may recall that they have already approved a version of this proposal that met some of these goals,
8484
originally designed by Dylan P and Kai J. Both of us were not fully satisfied with this proposal as this still used the

0 commit comments

Comments
 (0)