From d3836c2a52e2ba435ea9aeeb2af1b15861c25f67 Mon Sep 17 00:00:00 2001 From: Alexander Ljungberg Date: Mon, 24 Jan 2011 13:22:07 -0300 Subject: [PATCH] Global fixes. --- AppKit/CPControl.j | 26 +++++++++++++------------- AppKit/CPEvent.j | 30 +++++++++++++++--------------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/AppKit/CPControl.j b/AppKit/CPControl.j index ba7768eb0..77614fb7d 100644 --- a/AppKit/CPControl.j +++ b/AppKit/CPControl.j @@ -43,21 +43,21 @@ CPLineBreakByTruncatingHead = 3; CPLineBreakByTruncatingTail = 4; CPLineBreakByTruncatingMiddle = 5; -CPTopVerticalTextAlignment = 1, -CPCenterVerticalTextAlignment = 2, +CPTopVerticalTextAlignment = 1; +CPCenterVerticalTextAlignment = 2; CPBottomVerticalTextAlignment = 3; -CPScaleProportionally = 0; -CPScaleToFit = 1; -CPScaleNone = 2; +CPScaleProportionally = 0; +CPScaleToFit = 1; +CPScaleNone = 2; -CPNoImage = 0; -CPImageOnly = 1; -CPImageLeft = 2; -CPImageRight = 3; -CPImageBelow = 4; -CPImageAbove = 5; -CPImageOverlaps = 6; +CPNoImage = 0; +CPImageOnly = 1; +CPImageLeft = 2; +CPImageRight = 3; +CPImageBelow = 4; +CPImageAbove = 5; +CPImageOverlaps = 6; CPOnState = 1; CPOffState = 0; @@ -72,7 +72,7 @@ CPControlTextDidBeginEditingNotification = "CPControlTextDidBeginEditingNotif CPControlTextDidChangeNotification = "CPControlTextDidChangeNotification"; CPControlTextDidEndEditingNotification = "CPControlTextDidEndEditingNotification"; -var CPControlBlackColor = [CPColor blackColor]; +var CPControlBlackColor = [CPColor blackColor]; /*! @ingroup appkit diff --git a/AppKit/CPEvent.j b/AppKit/CPEvent.j index 4c1584be7..39cccbc86 100644 --- a/AppKit/CPEvent.j +++ b/AppKit/CPEvent.j @@ -161,21 +161,21 @@ CPEscapeFunctionKey = "\u001B"; CPSpaceFunctionKey = "\u0020"; -CPDOMEventDoubleClick = "dblclick", -CPDOMEventMouseDown = "mousedown", -CPDOMEventMouseUp = "mouseup", -CPDOMEventMouseMoved = "mousemove", -CPDOMEventMouseDragged = "mousedrag", -CPDOMEventKeyUp = "keyup", -CPDOMEventKeyDown = "keydown", -CPDOMEventKeyPress = "keypress"; -CPDOMEventCopy = "copy"; -CPDOMEventPaste = "paste"; -CPDOMEventScrollWheel = "mousewheel"; -CPDOMEventTouchStart = "touchstart"; -CPDOMEventTouchMove = "touchmove"; -CPDOMEventTouchEnd = "touchend"; -CPDOMEventTouchCancel = "touchcancel"; +CPDOMEventDoubleClick = "dblclick"; +CPDOMEventMouseDown = "mousedown"; +CPDOMEventMouseUp = "mouseup"; +CPDOMEventMouseMoved = "mousemove"; +CPDOMEventMouseDragged = "mousedrag"; +CPDOMEventKeyUp = "keyup"; +CPDOMEventKeyDown = "keydown"; +CPDOMEventKeyPress = "keypress"; +CPDOMEventCopy = "copy"; +CPDOMEventPaste = "paste"; +CPDOMEventScrollWheel = "mousewheel"; +CPDOMEventTouchStart = "touchstart"; +CPDOMEventTouchMove = "touchmove"; +CPDOMEventTouchEnd = "touchend"; +CPDOMEventTouchCancel = "touchcancel"; var _CPEventPeriodicEventPeriod = 0, _CPEventPeriodicEventTimer = nil,