webui-dev / webui

Use any web browser or WebView as GUI, with your preferred language in the backend and modern web technologies in the frontend, all in a lightweight portable library.
https://webui.me
MIT License
2.9k stars 164 forks source link

webui_event_t has new element (Wrappers Update Needed) #171

Closed hassandraga closed 11 months ago

hassandraga commented 1 year ago

To make sending raw binary data between backend and frontend possible, I had to add a new element to webui_event_t.

typedef struct webui_event_t {
    ...
    long long int size;
} webui_event_t;

Please keep this issue open until all wrappers get updated.

neroist commented 1 year ago

Added it on Nim👍

ttytm commented 1 year ago

I can offer to also have an eye on the V repository. If it's not to intrusive to extend the merge rights for my role to the V WebUI repository I would push the things like such new features or simple fixes directly, without the overhead for you. More profound changes only approved.

delphius commented 1 year ago

I will try to update pascal wraper to library version 2.4.0 in the very near future.

Also, a cursory glance at the header file did not find the added webui_set_hide function, while it is already implemented in the library itself.

ttytm commented 1 year ago

Also, a cursory glance at the header file did not find the added webui_set_hide function, while it is already implemented in the library itself.

Maybe because it knows how to hide :p https://github.com/webui-dev/webui/blob/0d400644d13740990aeb9dc813655cd02d140be9/include/webui.h#L212

delphius commented 1 year ago

because it knows how to hide

I looked at the wrong place :)

delphius commented 1 year ago

I will try to update pascal wraper to library version 2.4.0 in the very near future.

~Also, a cursory glance at the header file did not find the added webui_set_hide function, while it is already implemented in the library itself.~

Added to Pascal