-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is there any samples ? #2
Comments
As fair as i know development has stalled on haxeui-heaps, and honestly, im not 100% what state its in as ive never used it. Eventually it would be nice to breathe some life into the project, but at this stage i honestly just dont know. @aW4KeNiNG - do you have a moment? Is haxeui-heaps in a usable state? I forget how it left off. :) |
Chiming in here as I'm stumbling into Heaps dev and would also really like to use HaxeUI. Any samples or examples of how to setup the project to use this would be really helpful! |
Funnily enough im actually writing docs at the moment, not on heaps specifically, but on all the backends - so that includes heaps. For now though is there something you are having issues with? You should just be able to do: Toolkit.init();
var b = new Button();
b.text = "Test";
Screen.instance.addComponent(b); That should be all you need, if that doesnt work then let me know as there might be some additional steps (i cant remember them off hand though) Cheers, |
Thanks for the help! I'm a bit new to Haxe development, in general, so I'm also not sure what the best practice is for incorporating this repo's contents into my project structure. Should that be handled through haxelib? |
Yeah, haxelib is the usual method, though there are other ways... you can install the official versions with:
or the development versions with:
The development versions will likely have more fixes, but may also create regresssions, but you can flip between the two with ease. Then in your .hxml file (im assuming you are building using .hxml?) you can add these lines:
And that should be it... if you run into any troubles, let me know. Cheers, |
This is really helpful, thank you!! |
Hi @ianharrigan
P.S. if don't import , no above error After I add -D resourcesPath=DIR compile.hxml
|
So, i think you need to create a "res" folder in your project root... something like that, and when you say |
@ianharrigan
Again if don't import haxe.ui.Toolkit; no above error
|
I think that maybe your heaps is out of date, ive been told to always use the git version. But not sure if that is the error to be honest. Can you try out git heaps and see? |
I think maybe haxeui-heaps is out of date (instead of heaps)
Thanks for your help, really appreciated ! |
ah, right... cool... other way round then :) Weird though, i thought i made a haxelib release with all the latest changes, ill have to double check. Thanks! |
A data point:
This makes the |
You almost certainly want to be using git version of haxeui-core and haxeui-heaps - the haxelib versions have yet again managed to get woefully out of date - i going to rerelease soon (tm) and also see if i can work out a way to release more often (ie, start actually using minor versions again, |
are there any samples?
how to use haxeui with heaps?
The text was updated successfully, but these errors were encountered: