|
Revision 119, 219 bytes
(checked in by DRK, 6 years ago)
|
* Added bindings for the Glitz and Xlib backends.
* Checked in cairooo: an OO layer on top of the cairo binding.
* Added snippets directory for cairooo
* Added basic tutorial on how to use cairooo
* Added a simple demo program.
* Added scripts for building import libraries.
* Fixed several bugs.
* Drank WAAY too much coffee.
|
| Line | |
|---|
| 1 |
module snippets.common; |
|---|
| 2 |
|
|---|
| 3 |
private import cairooo.all; |
|---|
| 4 |
|
|---|
| 5 |
// Type for our callbacks |
|---|
| 6 |
alias void function(Context cr, int width, int height) snippet_fn; |
|---|
| 7 |
|
|---|
| 8 |
// Registry of snippets |
|---|
| 9 |
snippet_fn[char[]] snippets_hash; |
|---|