Open file dialog
Posted: Wed Dec 10, 2008 21:59
Hi,
I'm implementing a open file dialog ( doesn't seem to exist one from the get go, correct? ). I'd love to get some feedback since I'm totaly green with CEGUI, to make sure that I'm going about this correctly and that it meshes with the general architecture of CEGUI.
I should probably start out by creating a layout file defining the different basic elements right? This seems pretty straightforward. Now the tricky part after I got the layout going is that I need to integrate it with the code back end. There doesn't seem to be any framework for dialogs, so how would one go about this? Inheritance from FrameWindow would probably grant me all the functionality I would need to contain and manage the sub elements. This doesn't feel correct at all though, I just want to create an object which take cares of the different events and updates the sub elements, and is managed by CEGUI. What is the correct way to implement such a dialog in CEGUI?
I'm implementing a open file dialog ( doesn't seem to exist one from the get go, correct? ). I'd love to get some feedback since I'm totaly green with CEGUI, to make sure that I'm going about this correctly and that it meshes with the general architecture of CEGUI.
I should probably start out by creating a layout file defining the different basic elements right? This seems pretty straightforward. Now the tricky part after I got the layout going is that I need to integrate it with the code back end. There doesn't seem to be any framework for dialogs, so how would one go about this? Inheritance from FrameWindow would probably grant me all the functionality I would need to contain and manage the sub elements. This doesn't feel correct at all though, I just want to create an object which take cares of the different events and updates the sub elements, and is managed by CEGUI. What is the correct way to implement such a dialog in CEGUI?