@@ -38,7 +38,7 @@ class Shells private constructor(private val style: Int, private val coat: Coat)
3838 private var title: String? = null
3939 private var image: Image ? = null
4040 private var alpha = SWT .DEFAULT
41- private val size = Point (SWT .DEFAULT , SWT .DEFAULT )
41+ private val size = SwtKt . Point (SWT .DEFAULT , SWT .DEFAULT )
4242 private var positionIncludesTrim = true
4343 private var location: Map .Entry <Corner , Point >? = null
4444 private var dontOpen = false
@@ -86,7 +86,7 @@ class Shells private constructor(private val style: Int, private val coat: Coat)
8686 * Calls [.setLocation] and [.setSize] in one line.
8787 */
8888 fun setRectangle (rect : Rectangle ): Shells {
89- return setLocation(Point (rect.x, rect.y)).setSize(Point (rect.width, rect.height))
89+ return setLocation(SwtKt . Point (rect.x, rect.y)).setSize(SwtKt . Point (rect.width, rect.height))
9090 }
9191
9292 /* *
@@ -290,12 +290,12 @@ class Shells private constructor(private val style: Int, private val coat: Coat)
290290 }
291291 }
292292 val topLeft =
293- location!! .key.topLeftRequiredFor(Rectangle (0 , 0 , computedSize.x, computedSize.y), location!! .value)
294- bounds = Rectangle (topLeft.x, topLeft.y, computedSize.x, computedSize.y)
293+ location!! .key.topLeftRequiredFor(SwtKt . Rectangle (0 , 0 , computedSize.x, computedSize.y), location!! .value)
294+ bounds = SwtKt . Rectangle (topLeft.x, topLeft.y, computedSize.x, computedSize.y)
295295 } else {
296296 val computedSize = shell.computeSize(size.x, size.y, true )
297297 val topLeft =
298- location!! .key.topLeftRequiredFor(Rectangle (0 , 0 , computedSize.x, computedSize.y), location!! .value)
298+ location!! .key.topLeftRequiredFor(SwtKt . Rectangle (0 , 0 , computedSize.x, computedSize.y), location!! .value)
299299 bounds = shell.computeTrim(topLeft.x, topLeft.y, computedSize.x, computedSize.y)
300300 }
301301 }
0 commit comments