Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 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 (17 days ago)
- Default Branch: main
- Last Pushed: 2025-01-07T10:41:19.000Z (17 days ago)
- Last Synced: 2025-01-07T11:37:45.401Z (17 days ago)
- Language: C++
- Homepage:
- Size: 81.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![Screenshot](screenshot.png)
# 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 builds debug by default. It also supports these commands:
```
make rebuild
make clean
make release
SRC_DIR=Video8 make rebuild 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.