https://github.com/programmingrainbow/super-clock-c-sdl2
A binary clock written in C and SDL2
https://github.com/programmingrainbow/super-clock-c-sdl2
Last synced: about 2 months ago
JSON representation
A binary clock written in C and SDL2
- Host: GitHub
- URL: https://github.com/programmingrainbow/super-clock-c-sdl2
- Owner: ProgrammingRainbow
- Created: 2025-01-05T00:54:47.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-02-02T14:38:16.000Z (3 months ago)
- Last Synced: 2025-02-02T15:26:42.688Z (3 months ago)
- Language: C
- Size: 934 KB
- Stars: 1
- 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-C-SDL2
cd Super-Clock-C-SDL2
make run
```
The Makefile also supports these commands:
```
make rebuild
make clean
make release
make debug
SRC_DIR=Video8 make rebuild run
CC=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.