Path for filenames using resource provider

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

User avatar
boldt
Just popping in
Just popping in
Posts: 1
Joined: Sat Jan 14, 2006 19:11

Path for filenames using resource provider

Postby boldt » Mon Jan 23, 2006 19:27

Hi Guys

Currently I'm working with the default resource provider, but have a problem with placement of resource files. I do not want the paths to be relative to the runtime directory of the application, but they must be relative to a resource directory which I want to specify.

Is there a way to do this with the default resource provider or is the only option to write a new resource provider which inherits from the abstract resource provider?

Any suggestion or hints will be appreciated

Thanks, Niels

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Re: Path for filenames using resource provider

Postby lindquist » Mon Jan 23, 2006 20:56

The DefaultResourceProvider is very simple, it only opens the file by passing the given filename. Resourcegroups are not even used for anything.

You'll very likely be best off making your own... But it's very simple.. I'm sure you'll figure it out.

HTH


Return to “Help”

Who is online

Users browsing this forum: No registered users and 20 guests