bright-gpu-74537
05/01/2021, 5:46 PMbright-gpu-74537
05/01/2021, 5:46 PMbright-gpu-74537
05/01/2021, 5:48 PMmost-caravan-45834
05/01/2021, 6:56 PMxml
<box>
<box id="SpecialBox">
<label id="coolStuff" />
</box>
</box>
In haxe I'm building Root.hx with:
haxe
@:build(haxe.ui.macros.ComponentMacros.build("assets/haxeui/xml/root.xml"))
To have easy access to SpecialBox. But I want SpecialBox to be of type SpecialBox.hx instead of "Box", is it possible or does that make sense?most-caravan-45834
05/01/2021, 6:59 PMbright-gpu-74537
05/01/2021, 7:00 PMbright-gpu-74537
05/01/2021, 7:00 PMbright-gpu-74537
05/01/2021, 7:01 PMxml
<box>
<special-box id="SpecialBox">
<label id="coolStuff" />
</special-box>
</box>bright-gpu-74537
05/01/2021, 7:01 PMbright-gpu-74537
05/01/2021, 7:01 PMmost-caravan-45834
05/01/2021, 7:01 PMbright-gpu-74537
05/01/2021, 7:02 PMbright-gpu-74537
05/01/2021, 7:09 PMbright-gpu-74537
05/01/2021, 7:09 PMmost-caravan-45834
05/02/2021, 4:06 AMmost-caravan-45834
05/02/2021, 4:06 AMhaxe
private function onShopItemClicked(item: Data.Items)
{
switch(item.type)
{
case WEAPON:
itemDescription.removeAllComponents();
weaponDescription.populate(item);
itemDescription.addComponent(weaponDescription);
default:
}
}bright-gpu-74537
05/02/2021, 7:45 AMfaint-answer-24569
05/02/2021, 9:04 AMD:\Libraries\wxWidgets\3.1.5\include\wx/platform.h(159): fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directoryfaint-answer-24569
05/02/2021, 9:05 AMbright-gpu-74537
05/02/2021, 9:06 AMbright-gpu-74537
05/02/2021, 9:07 AM* Download and install wxWidgets using installer from https://www.wxwidgets.org/downloads/
* Create WXWIN environment var if setup didnt (eg: C:\wxWidgets-3.0.2)
* Run vcvarsall.bat from Visual Studio dir (eg: "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat")
* Build shared and static releases of wxWidgets:
* cd %WXWIN%\build\msw\
* nmake.exe -f makefile.vc BUILD=release
* nmake.exe -f makefile.vc BUILD=release SHARED=1faint-answer-24569
05/02/2021, 9:08 AMfaint-answer-24569
05/02/2021, 9:08 AMbright-gpu-74537
05/02/2021, 9:09 AMfaint-answer-24569
05/02/2021, 9:09 AMbright-gpu-74537
05/02/2021, 9:10 AMbright-gpu-74537
05/02/2021, 9:10 AMbright-gpu-74537
05/02/2021, 9:11 AMfaint-answer-24569
05/02/2021, 9:20 AMbright-gpu-74537
05/02/2021, 9:20 AM