Modified: MacRuby/trunk/lib/hotcocoa/mappings/control.rb (609 => 610)
--- MacRuby/trunk/lib/hotcocoa/mappings/control.rb 2008-09-20 00:08:16 UTC (rev 609)
+++ MacRuby/trunk/lib/hotcocoa/mappings/control.rb 2008-09-20 00:08:49 UTC (rev 610)
@@ -1,5 +1,13 @@
HotCocoa::Mappings.map :control => :NSControl do
-
+
+ constant :alignment, {
+ :left => NSLeftTextAlignment,
+ :right => NSRightTextAlignment,
+ :center => NSCenterTextAlignment,
+ :justified => NSJustifiedTextAlignment,
+ :natural => NSNaturalTextAlignment
+ }
+
custom_methods do
include TargetActionConvenience