Skip to content
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

Spike: Find what will be the best GUI library (C++) for this software. #18

Open
hetulbhatt opened this issue Jun 18, 2023 · 4 comments
Open
Labels
beginner friendly enhancement New feature or request good first issue Good for newcomers GUI help wanted Extra attention is needed spike A timeboxed task to research up-for-grabs Available to anyone who wants to contribute

Comments

@hetulbhatt
Copy link
Owner

This software is not UI intensive - so we need a light GUI library in order to have basic form controls and run in tray (background) functionality.

Find - by what margin will the bundle size of the software increase. It is currently standing at ~3 MB statically linked compiled exe.

@hetulbhatt hetulbhatt added the spike A timeboxed task to research label Jun 18, 2023
@hetulbhatt hetulbhatt added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers beginner friendly up-for-grabs Available to anyone who wants to contribute GUI labels Aug 17, 2023
@acinis
Copy link

acinis commented Sep 1, 2023

I was going to suggest FLTK, but it doesn't seem to support tray icons (see https://www.fltk.org/str.php?L3486).

If you don't plan to support other platforms (at least for now), I think native Windows API is best bet for minimal - but functional - user interface. Small and efficient.

@hetulbhatt
Copy link
Owner Author

Thanks, @acinis! Even I was thinking of Win32 - just wanted to know whether there is a better way to do it with lesser boilerplate.

@acinis
Copy link

acinis commented Sep 4, 2023

If we look at file size and external dependecies I don't think that there is something better than native API.

Also in apps like KeyFlow some features can be hard to implement or even not possible in frameworks.

I think I can find some spare time this or next week and make some basic GUI in Win32 API so you can decide if you like it.

@hetulbhatt
Copy link
Owner Author

Feel free to go ahead @acinis. Let me know if you want to discuss the wireframeing before commencing the development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beginner friendly enhancement New feature or request good first issue Good for newcomers GUI help wanted Extra attention is needed spike A timeboxed task to research up-for-grabs Available to anyone who wants to contribute
Projects
None yet
Development

No branches or pull requests

2 participants