Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ppekko/dpgtk
a small demo configurator
https://github.com/ppekko/dpgtk
demoscene gtk sizecoding
Last synced: 24 days ago
JSON representation
a small demo configurator
- Host: GitHub
- URL: https://github.com/ppekko/dpgtk
- Owner: ppekko
- License: mit
- Created: 2022-09-17T20:39:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-15T20:56:47.000Z (over 1 year ago)
- Last Synced: 2024-11-15T04:41:31.816Z (3 months ago)
- Topics: demoscene, gtk, sizecoding
- Language: Python
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
dpgtk is a small demo configurator to put at the beginning of your demos. It is header only and requires GTK. The basic program in the src/ totals up to 1871 bytes (1814 without the printf) when compiled on Arch Linux and gcc (The basic program uses some additional dependencies, which are [vondehi](https://gitlab.com/PoroCYon/vondehi) and [sstrip](https://github.com/aunali1/super-strip) to crunch down on size).
It only requires one command.
```c++
#include "dpgtk.h"void _start(){
...
int input1, input2, input3;
dpgtk(&input1, // Resolution width
&input2, // Resolution height
&input3) // FPS// run demo
}
```Licensed under the MIT license (see LICENSE file)