This is a C++ implementation of my previously built DeskClock using C++ and some nicer features(date and colored hands) The project is still in development.
It is currently configured for 1920 x 1080 resolution for now.
You can build the software yourself or just download the setup file provided.
This project uses a Rust based build tool called builder_cpp
I am using the MSYS2 mingw 64-bit g++ compiler for installation of libraries and such on windows. For linux use your preferred package manager.
- GLEW
- GLFW
- Freetype2
- STB Image
- mingw64_crt (For windows)
To install libraries in msys2
pacman -S mingw-w64-x86_64-glew mingw-w64-x86_64-glfw mingw-w64-x86_64-stb mingw-w64-x86_64-freetype mingw-w64-x86_64-crt-git
cargo install builder_cpp
builder_cpp -b
To clean build, run
builder_cpp -rb
To run
builder_cpp -r
The binaries will be placed in the bin directory
The windows config is in C:\User<username>\Roaming\DeskClock_Cpp\config.txt
The linux config file is in $HOME/.config/DeskClock_Cpp/config.txt
You may edit the width, height and x and y pos of the center.
If you bork the config, just delete the file and the pprogram will regenerate a default config if there is no such file.
Audio is handled using miniaudio