f845d59213
* add fltk example * fix clippy lint * fix rustfmt check * add missing trailing new line * use no-pango feature * remove call to win.draw()
16 lines
371 B
Markdown
16 lines
371 B
Markdown
# Hello Pixels
|
|
|
|
![Hello Pixels](../../img/minimal-fltk.png)
|
|
|
|
Minimal example with fltk.
|
|
|
|
## Running
|
|
|
|
```bash
|
|
cargo run --release --package minimal-fltk
|
|
```
|
|
|
|
## About
|
|
|
|
This example demonstrates the absolute minimum for creating an fltk window and pixel buffer. It animates a purple circle moving on a darker purple background, just for _something_ interesting to display.
|