-
Notifications
You must be signed in to change notification settings - Fork 37
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
Raygui ? #10
Comments
You would need to wrap raygui to be accesible from the Janet, like this lib is wrapped around raylib. I think it is good idea, even if we have janetui. |
HI pepe, thank you, yes I think it can be a quick win. My problem is I don't have the knowledge to handle the mapping. |
Well, I am not C programmer at all (25 years ago I was kind of it in the high school) and I still managed to wrap LevelDB for Janet. I will take look at the raygui and maybe we can make it (by copying jaylib :-). |
It would be great if you can have a look, |
Working on it: |
Oh. I was not able to compile with musl stdlib. Great @kamisori! |
sorry, at the moment im working on windows. |
I'd also like to see this (I'm on GNU/Linux). |
@kamisori oh, that's awesome! Where you planning on creating a PR here for your work? |
A fair bit seems to be working in kamisori's fork: That is based on this test file: https://github.com/kamisori/jaylib/blob/master/test/test5.janet The following file seems to be related to the implementation: https://github.com/kamisori/jaylib/blob/master/src/gui.h |
FWIW, I went through kamisori's The following is the resulting script -- it's meant to work from the project directory:
|
Thanks, @sogaiu ! I also appreciate the simplified example here. Personally, I also like to How did you run this test file? Did you have to build and install @kamisori 's jaylib instead of |
Re: Re: running the test file - In this case, just to run the test file, I don't think any invocation of Basically the following sort of steps in a (
Note that |
I don't understand. I currently have jaylib installed. So, I should
? |
BTW, not sure how relevant this is here, but it looks like raysan recently removed the tooltip API. raysan5/raygui@13aac61 |
@uvtc I don't think whether you have jaylib installed should affect the instructions above because AFAIK all of the relevant code in this case refers to things in the cloned directory using relative paths. To spell that out a bit, in I don't have any version of jaylib installed and the instructions work for me [1]. Didn't know about the tooltip thing -- thanks for the tip :) [1] I gather though that we manage our janet setups differently. I have a user-specific setup (i.e. it's not a setup where janet lives in a place like |
Thank you for jaylib it works like a charm !
https://github.com/raysan5/raygui
Do you know if I can use raygui with jaylib ? if yes how ?
raygui looks like a set of .h files.
Regards
The text was updated successfully, but these errors were encountered: