Apostate
27-07-2012 02:07:18
I'm using OpenGLPlatform with an engine I'm writing and I finally got stuff drawing, but now it looks like the background images for each of my widgets is offset. Pretty sure the texture is loading fine, but I'm guessing I'm doing something wrong with the resource files or something.
I copied the MyGUI_3.2.0\Media\MyGUI_Media folder to ./data/ui/MyGUI and called the function below:
Here's a screenshot (click for bigger). My mouse is hovering over "Test Editbox", otherwise it just has no background at all. The other two are buttons of different sizes.

Any ideas what I'm doing wrong?
I copied the MyGUI_3.2.0\Media\MyGUI_Media folder to ./data/ui/MyGUI and called the function below:
m_platform->getDataManagerPtr()->addResourceLocation("./data/ui/MyGUI", false);
Here's a screenshot (click for bigger). My mouse is hovering over "Test Editbox", otherwise it just has no background at all. The other two are buttons of different sizes.
Any ideas what I'm doing wrong?