Sha256: 54ac72088653f9d2da9c28d2368e377907ea8e5b2db9c8e523215f6b81104235
Contents?: true
Size: 512 Bytes
Versions: 5
Compression:
Stored size: 512 Bytes
Contents
module Joybox module UI class MenuImage < CCMenuItemImage alias_method :content_size, :contentSize def self.new(options = {}, &block) menu_item = self.itemWithNormalImage(options[:image_file_name], selectedImage: options[:selected_image_file_name], block: block) menu_item.position = options[:position] if options.has_key? (:position) menu_item end end end end
Version data entries
5 entries across 5 versions & 1 rubygems