代码拉取完成,页面将自动刷新
函数名称 | 说明 |
---|---|
children_layouter_factory | 获取缺省的子控件布局算法工厂对象。 |
children_layouter_factory_create | 创建子控件布局算法工厂对象。 |
children_layouter_factory_create_layouter | 创建指定类型的子控件布局算法对象。 |
children_layouter_factory_destroy | 析构并释放子控件布局算法工厂对象。 |
children_layouter_factory_register | 注册子控件布局算法创建函数。 |
children_layouter_factory_set | 设置缺省的子控件布局算法工厂对象。 |
获取缺省的子控件布局算法工厂对象。
children_layouter_factory_t* children_layouter_factory ();
参数 | 类型 | 说明 |
---|---|---|
返回值 | children_layouter_factory_t* | 返回子控件布局算法工厂对象。 |
创建子控件布局算法工厂对象。
children_layouter_factory_t* children_layouter_factory_create ();
参数 | 类型 | 说明 |
---|---|---|
返回值 | children_layouter_factory_t* | 返回子控件布局算法工厂对象。 |
创建指定类型的子控件布局算法对象。
children_layouter_t* children_layouter_factory_create_layouter (children_layouter_factory_t* factory, const char* type);
参数 | 类型 | 说明 |
---|---|---|
返回值 | children_layouter_t* | 返回子控件布局算法对象。 |
factory | children_layouter_factory_t* | 子控件布局算法工厂对象。 |
type | const char* | 类型。 |
析构并释放子控件布局算法工厂对象。
ret_t children_layouter_factory_destroy (children_layouter_factory_t* factory);
参数 | 类型 | 说明 |
---|---|---|
返回值 | ret_t | 返回RET_OK表示成功,否则表示失败。 |
factory | children_layouter_factory_t* | 子控件布局算法工厂对象。 |
注册子控件布局算法创建函数。
ret_t children_layouter_factory_register (children_layouter_factory_t* factory, const char* type, children_layouter_create_t create);
参数 | 类型 | 说明 |
---|---|---|
返回值 | ret_t | 返回RET_OK表示成功,否则表示失败。 |
factory | children_layouter_factory_t* | layouter工厂对象。 |
type | const char* | 子控件布局算法类型。 |
create | children_layouter_create_t | 子控件布局算法创建函数。 |
设置缺省的子控件布局算法工厂对象。
ret_t children_layouter_factory_set (children_layouter_factory_t* factory);
参数 | 类型 | 说明 |
---|---|---|
返回值 | ret_t | 返回RET_OK表示成功,否则表示失败。 |
factory | children_layouter_factory_t* | 子控件布局算法工厂对象。 |
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。