2014-03-13 14:51:53 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module RichElement
|
2014-03-26 14:03:04 +08:00
|
|
|
-- @extend Ref
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module ccui
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-13 14:51:53 +08:00
|
|
|
--------------------------------
|
2015-03-26 10:44:28 +08:00
|
|
|
-- brief Initialize a rich element with different arguments.<br>
|
|
|
|
-- param tag A integer tag value.<br>
|
|
|
|
-- param color A color in @see `Color3B`.<br>
|
|
|
|
-- param opacity A opacity value in `GLubyte`.<br>
|
|
|
|
-- return True if initialize success, false otherwise.
|
2014-03-13 14:51:53 +08:00
|
|
|
-- @function [parent=#RichElement] init
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #int tag
|
|
|
|
-- @param #color3b_table color
|
|
|
|
-- @param #unsigned char opacity
|
2014-03-13 14:51:53 +08:00
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
2015-03-26 10:44:28 +08:00
|
|
|
-- brief Default constructor.
|
2014-03-13 14:51:53 +08:00
|
|
|
-- @function [parent=#RichElement] RichElement
|
|
|
|
-- @param self
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return RichElement#RichElement self (return value: ccui.RichElement)
|
2014-03-13 14:51:53 +08:00
|
|
|
|
|
|
|
return nil
|