Problems in using HikariWidget and AwesomiumWidget

wbfnnn

14-05-2010 21:57:21

i'm wondering how to using these widgets properly,
i write my code like this :

MyGUI::PluginManager::getInstance().loadPlugin("Plugin_AwesomiumWidget.dll");
mAwe=mGui->createWidgetRealT("AwesomiumWidget", "Canvas", MyGUI::FloatCoord(0.5f, 0.5f, 0.5f, 0.5f), MyGUI::Align::Stretch, "Overlapped");
mAwe->setProperty("sourceURL","www.google.com");

but it just display a white rect on the window,
when i use the HikariWidget int similar way,it shows nothing

how to solove this,anyone can help?
thx :D

my.name

17-05-2010 09:13:42

try create in editor.

mprestia

18-05-2010 21:17:53

Have you tried the AwesomiumWIdget::loadURL function?

Also, what rendering system are you using? I had a similar problem with DirectX but OpenGL worked right away.

my.name

19-05-2010 09:25:37

show your log (MyGUI.log, Ogre.log)

wbfnnn

22-05-2010 08:27:08

thx everyone
i've got the mistake
now i write the code like this

mAwe->setProperty("Awesomium_SourceURL","http://www.google.com");

and it works well