An open API service indexing awesome lists of open source software.

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

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-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.