示例#1
0
文件: gui.cpp 项目: CyberMayck/CQML
/**
 * Updates values of attributes.
 * Updates values and its children.
 */
	void Element::Update()
	{
		if(!enabled)
			return;
		int i;
		if(x_Update) x_Update(x_context);
		if(y_Update) y_Update(y_context);
		if(width_Update) width_Update(width_context);
		if(height_Update) height_Update(height_context);
		if(visible_Update) visible_Update(visible_context);
		if(enabled_Update) enabled_Update(enabled_context);

		for(i=0;i<childrenCount;i++)
		{
			children[i]->Update();
		}
		return;
	}
示例#2
0
void CTSE_Info_Object::x_UpdateComplete(void) const
{
    x_Update(~0);
}
示例#3
0
void CTSE_Info_Object::x_UpdateCore(void) const
{
    x_Update(fNeedUpdate_core|fNeedUpdate_children_core);
}