finished incorporating messaging into the UI window and added another custom control to make updating the UI easier

This commit is contained in:
James Daly
2019-06-14 22:15:58 -04:00
parent 0b52e91a3d
commit 38dbb7fa92
13 changed files with 131 additions and 193 deletions

View File

@@ -9,6 +9,8 @@ case class Fraction(val num : Int, val denom : Int) extends Ordered[Fraction] {
override def compare(f : Fraction) : Int = {
(num * f.denom) compare (f.num * denom)
}
def toDouble = 1.0 * num / denom
}
class IntFraction(val x : Int) extends AnyVal {