Sha256: c2adccb97f61025fc59765c21b1d089389c81a9728ffc060130d37cf8eba3f7d
Contents?: true
Size: 739 Bytes
Versions: 2
Compression:
Stored size: 739 Bytes
Contents
module Joybox module UI class Menu < CCMenu extend Joybox::Common::Initialize alias_method :align_items_vertically, :alignItemsVertically alias_method :align_items_vertically_width_padding, :alignItemsVerticallyWithPadding alias_method :align_items_horizontally, :alignItemsHorizontally alias_method :align_items_horizontally_with_padding, :alignItemsHorizontallyWithPadding alias_method :align_items_in_columns, :alignItemsInColumnsWithArray alias_method :align_items_in_rows, :alignItemsInRowsWithArray def initialize(options = {}) initWithArray(options[:items]) self.position = options[:position] if options.has_key? (:position) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
joybox-1.1.1 | motion/joybox/ui/menu.rb |
joybox-1.1.0 | motion/joybox/ui/menu.rb |