counter GUI with egui
version: 2024.1129.1437 date: 2024-11-29 author: bestia.dev repository: GitHub
Hashtags: #tutorial #egui #rust #gui
My projects on GitHub are more like a tutorial than a finished product: bestia-dev tutorials.
A simple test program that creates a simple GUI for Windows with the crate egui
.
This is an "immediate mode" GUI, but I will not need that in my future work.
On my machine I have Windows11 with WSL/Debian. I will cross compile to Windows, copy the exe file with scp
and run it on Windows.
I use cargo-auto
for automation of the build process and to commit to GitHub. Just run cargo auto
and follow the instructions. To work with GitHub it will need the Personal Access Token from https://github.com/settings/tokens.
Copy the exe file from the container 'crustde' to win folder. Run in windows git-bash:
scp rustdevuser@crustde:/home/rustdevuser/rustprojects/counter_egui/target/x86_64-pc-windows-gnu/release/counter_egui.exe /c/Users/Luciano/rustprojects/counter_egui/
# then run in git-bash
cd ~/rustprojects/counter_egui
./counter_egui.exe
My open-source projects are free as a beer (MIT license).
I just love programming.
But I need also to drink. If you find my projects and tutorials helpful, please buy me a beer by donating to my PayPal.
You know the price of a beer in your local bar ;-)
So I can drink a free beer for your health :-)
Na zdravje! Alla salute! Prost! Nazdravlje! 🍻
//bestia.dev
//github.com/bestia-dev
//bestiadev.substack.com
//youtube.com/@bestia-dev-tutorials