-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Hi
Thank you for all great jobs you did specifically fidget
and pixie
. fidget
made programming GUIs lot easier, specially the node structure got my attention.
I was trying to make a GUI library that uses Gtk
for Linux clients and win32
for Windows users. It's already done, and it is called NiGui
. The thing about NiGui
is that it runs really fast and light, but it needs further development. So I tried to rewrite it all over again and it looks really good on Linux. NiGui
and my own code are both good in one thing that they are dependent on libraries that are native to the operating system, so there is no need to look for any library or module over the internet in order for the code to work. The problem is, it is just a wrapper around some C code, and not entirely written in Nim, and I am really stuck in Windows part of my own library. I was looking for a library that could communicate with devices specifically cameras to put the output of the camera inside some widget. I then come across fidget
, when I tried it, I really liked it. I have some suggestion that can make working with it more efficient. I was hoping that you could consider them and somehow help with the below questions.
-
It uses
opengl
, which is a problem with old PCs that their VGA card are not based onopengl
, or they can only operate with lower version ofopengl
, so running programs in those PCs would be a problem. I am not sure if using browser would solve this problem or not. -
There is a delay in running compiled program. I mean when you double click on exe file it waits for almost a second and then open the GUI. But with
NiGui
opening exe GUI is instantaneous. -
I am not sure if it wrapper around
figma
or it is just inspired by it? in each case, can you please explain why? -
When loading fonts and images, I think they must be prepared in another folder with the name
data
, which resides beside the code and the compiled program. If after compilation I remove or rename that folder the compiled program stops working. Is there any way to embed that folder into the compiled file? And I could not find anywhere in demo code that specifically points to folderdata
. Why is that so? If someone wanted to use another name for the resources, is there a way to do so? -
As I said above, I tried to find a way for handling devices with Nim, and so far no success. for the camera, I finally decided to run
ffmpeg
through terminal and send the output throughpipe:1
to the code. So far no success for this one too. Are you familiar with any library that could handle USB devices easily in Nim? or can you kindly make one? -
I use programming as a hobby and I really like Nim, But I think it needs to be comprehensive and cover all other areas of works on its own, and not using wrappers. But I don't think that would be possible for any other languages.