Hi All,
WHile going through the widget's code i ahve seen property classes associated with each control.
I could not get the usage of creating the property class, as all the proeprty objects are kept private in control class.
can any body please give me some more infor to understand it more.
Thanks,
RitZ
Significance of property class
Moderators: CEGUI MVP, CEGUI Team
Significance of property class
The properties are a way of data driving the gui elements.
For example, a ProgressBar may have a Progress property that maps the ascii string "progress" to the actual setting of the element's floating point number. This allows it to be specified in xml files.
I'm not sure of the exact mechanism of this as it looks fairly convoluted (especially having to create a class for each property), but thats the gist of it.
For example, a ProgressBar may have a Progress property that maps the ascii string "progress" to the actual setting of the element's floating point number. This allows it to be specified in xml files.
I'm not sure of the exact mechanism of this as it looks fairly convoluted (especially having to create a class for each property), but thats the gist of it.
Significance of property class
Hello,
Thanks for reply.
Can you please give me any reference or pointer to read about how XML files works in CE system
I am not able to get any consolidated link at this site
Thanks
RitZ
Thanks for reply.
Can you please give me any reference or pointer to read about how XML files works in CE system
I am not able to get any consolidated link at this site
Thanks
RitZ
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Significance of property class
For a brief reference on what's available for XML files in CEGUI, look at the cegui_mk2/XMLRefSchema/ReadMe.txt file.
CE.
CE.
Significance of property class
Thanks a Lot.
Ritz
Ritz
Return to “CEGUI Library Development Discussion”
Who is online
Users browsing this forum: No registered users and 5 guests