Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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)