https://github.com/programmingrainbow/super-clock-cpp-sdl2
A binary clock written in C++ and SDL2.
https://github.com/programmingrainbow/super-clock-cpp-sdl2
Last synced: 10 days ago
JSON representation
A binary clock written in C++ and SDL2.
- Host: GitHub
- URL: https://github.com/programmingrainbow/super-clock-cpp-sdl2
- Owner: ProgrammingRainbow
- Created: 2025-01-07T10:34:58.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-02-02T14:37:30.000Z (3 months ago)
- Last Synced: 2025-04-23T23:12:32.032Z (10 days ago)
- Language: C++
- Homepage:
- Size: 446 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# Super Clock (C++ - SDL2)
A Binary Clock with 3 Layouts, 2 Themes, Color or Black & White and 2 sizes. The Clock displays the Hours, Minutes, and Seconds each as 8 bits.# ArchLinux instructions.
You will need to make sure SDL2 SDL2_image and SDL2_ttf is installed.
```
sudo pacman -S --needed base-devel sdl2 sdl2_image sdl2_ttf
cd
git clone https://github.com/ProgrammingRainbow/Super-Clock-Cpp-SDL2
cd Super-Clock-Cpp-SDL2
make run
```
The Makefile also supports these commands:
```
make rebuild
make clean
make release
make debug
SRC_DIR=Video8 make rebuild run
CXX=clang++ make clean release run
```
# Controls
L/S - Change Layout/Style. \
C - Toggles Color mode. \
B - Toggles Big Mode. \
T - Toggle Text Mode. \
Space - Displays Time in Title for 5 seconds. \
Escape - Close Clock.