mirror of
https://github.com/zhigang1992/rmq.git
synced 2026-04-29 13:15:36 +08:00
Merge branch 'master' of github.com:infinitered/rmq
This commit is contained in:
@@ -1,7 +1,19 @@
|
||||
module RubyMotionQuery
|
||||
module Stylers
|
||||
|
||||
class UIPageControlStyler < UIControlStyler
|
||||
class UIPageControlStyler < UIControlStyler
|
||||
def current_page; @view.currentPage; end
|
||||
def current_page=(value); @view.currentPage=value; end
|
||||
|
||||
def number_of_pages; @view.numberOfPages; end
|
||||
def number_of_pages=(value); @view.numberOfPages = value; end
|
||||
|
||||
def page_indicator_tint_color; @view.pageIndicatorTintColor; end
|
||||
def page_indicator_tint_color=(color); @view.pageIndicatorTintColor = color;end
|
||||
|
||||
def current_page_indicator_tint_color; @view.currentPageIndicatorTintColor;end
|
||||
def current_page_indicator_tint_color=(color);@view.currentPageIndicatorTintColor = color;end
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@@ -17,6 +17,22 @@ module RubyMotionQuery
|
||||
def content_inset=(value) ; @view.contentInset = value ; end
|
||||
def content_inset ; @view.contentInset ; end
|
||||
|
||||
def bounces=(value); @view.bounces = value; end
|
||||
def bounces; @view.bounces; end
|
||||
|
||||
def content_size=(value); @view.contentSize = value; end
|
||||
def content_size; @view.contentSize; end
|
||||
|
||||
def shows_horizontal_scroll_indicator=(value); @view.showsHorizontalScrollIndicator = value; end
|
||||
def shows_horizontal_scroll_indicator; @view.showsHorizontalScrollIndicator; end
|
||||
|
||||
def shows_vertical_scroll_indicator=(value); @view.showsVerticalScrollIndicator = value; end
|
||||
def shows_vertical_scroll_indicator; @view.showsVerticalScrollIndicator; end
|
||||
|
||||
def scroll_indicator_insets=(value); @view.scrollIndicatorInsets = value; end
|
||||
def scroll_indicator_insets; @view.scrollIndicatorInsets; end
|
||||
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@@ -283,6 +283,14 @@ module RubyMotionQuery
|
||||
@view.layer
|
||||
end
|
||||
|
||||
def border_width=(value)
|
||||
@view.layer.borderWidth = value
|
||||
end
|
||||
def border_width
|
||||
@view.layer.borderWidth
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user