Renamed tuples from other code.

This commit is contained in:
Evgeny Gerashchenko
2013-03-18 22:04:06 +04:00
parent c458ed36f6
commit 655f9e01a2
4 changed files with 26 additions and 26 deletions
+3 -3
View File
@@ -62,9 +62,9 @@ var JFrame.title : String
get() = getTitle()!!
set(t) {setTitle(t)}
var JFrame.size : #(Int, Int)
get() = #(getSize()!!.getWidth().toInt(), getSize()!!.getHeight().toInt())
set(dim) {setSize(Dimension(dim._1, dim._2))}
var JFrame.size : Pair<Int, Int>
get() = Pair(getSize()!!.getWidth().toInt(), getSize()!!.getHeight().toInt())
set(dim) {setSize(Dimension(dim.first, dim.second))}
var JFrame.height : Int
get() = getSize()!!.getHeight().toInt()