-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Show your widgets! #349
Comments
Impressive work! Will you then publish your work and add a link here? Are you using something like Cassowary (see #123 (comment) ) for placement? By the way, there is already a thread for screenshots: #202 . |
https://github.com/OpenMusicKontrollers/moony.lv2
No, stock nuklear with a slightly modified nk_text_edit with hooks for character index based coloring for syntax hilighting. |
@dumblob oh sorry I didn't see the thread... |
@fr500 @ventosus this made my day. Looks quite amazing. @fr500 as for sidebar gamepad control why not just use an index to store currently active component since the sidebar is fixed and just increment/decrement on up/down. As for left/right you could just switch between sidebar and main window focus. |
@vurtun, yeah I haven't hooked GLFW inputs yet at all so I haven't tested but I guess following the example you made for me back when it was zahnrad it should be possible. I was thinking about having two indexes to allow easy navigation between both panels. |
@vurtun, I have a question now that I have you here.
it works fine, it even shows the scrollbar for the items that draw partially off screen, looks like this: But if I draw anything after this last section it just crashes. Even a tiny label so I guess it doesn't like to draw anything "off window" bounds? I can't even get a trace since it doesn't crash, it only terminates:
If I make the window... 10x the height it doesn't crash but I don't get a scrollbar then of course...
So I guess what I should do is not to use a group but actually make a custom widget that looks like that container + widgets, it's a button_text after all so I should be able to work from that. |
I'm using nuklear in the character editor for C-Dogs SDL: Overall nuklear was very good; only problem was that to do custom widgets (the nk_combo with custom images), I had to copy a lot of nuklear functions until I get to the part containing draw calls. It would have been easier if nuklear had a way of customising all the drawing using a struct of callbacks. I also would have loved an SDL2 renderer backend but I guess that's not a very popular use case. |
Trying to move forward with my GUI (I attempt this once every few months :) ) Now I'm trying a different approach, trying to build a toolkit on top of nuklear this time that provides me with the different views and helpers I may require so I may reuse them in different projects Also playing with different typefaces and sizes, A bit OT, but is there any way to have a window always on top? |
@fr500 could you make that public? |
@fr500 |
I never finished it and I don't have it anymore
…On Mon, Oct 8, 2018, 1:37 AM PramUkesh Venky ***@***.***> wrote:
@fr500 <https://github.com/fr500>
Where can i find source code
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#349 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABpC0NmEzvYMsI3v2t2C5Nx5MTpjGwNVks5uivKagaJpZM4MICCx>
.
|
@fr500 |
Sure... |
Thanks you very much ! |
I'm working on an android style interface, so I'm doing some custom widgets and I thought a showoff thread would be nice...
I'm just getting started so:
Update
I don't think I can fully replicate the paradigm or the animations, shading, etc. But I should be able to follow the guidelines at least.
I gotta figure out gamepad navigation now for this sidebar component.
The text was updated successfully, but these errors were encountered: