| Paint glimmer with nothing under it f554a01 nandi 12d ago | 1 | {:paths ["src"] |
| 2 | |
| 3 | ;; glimmer-gfx is a backend for glimmer, beside glimmer-vidya and glimmer-tui |
| 4 | ;; and against the same reconciler: glimmer owns the reactive core and knows |
| 5 | ;; about no toolkit, and this project supplies widgets, painting and the frame |
| 6 | ;; loop. |
| 7 | ;; |
| 8 | ;; Unlike its siblings there is no shared object under it. The rasterizer is |
| 9 | ;; jolt, the layout is jolt, the font is jolt; the only foreign code is Xlib, |
| 10 | ;; and Xlib draws nothing here — it opens a window and takes a finished |
| 11 | ;; framebuffer. So this backend is the one that runs where no toolkit is |
| 12 | ;; installed, and the one to read to see what a backend actually has to do. |
| 13 | :deps {jolt-lang/glimmer {:git/url "https://github.com/jolt-lang/glimmer" |
| 14 | :git/tag "v0.1.0" |
| 15 | :git/sha "5581c331c51aff989259b9e8e92ec920fe5e6741"}} |
| 16 | |
| 17 | ;; The system Xlib, not one of this repo's crates. :optional so the tests, |
| 18 | ;; which open no window, run on a machine with no X11 at all. |
| 19 | :jolt/native [{:name "X11" :optional true |
| 20 | :linux ["libX11.so.6"] :darwin ["libX11.6.dylib"]}] |
| 21 | |
| Play three games on the gfx backend e98a184 nandi 11d ago | 22 | :aliases {:tictactoe {:extra-paths ["examples"] |
| 23 | :main-opts ["-m" "glimmer-gfx.tictactoe"]} |
| 24 | :maze {:extra-paths ["examples"] |
| 25 | :main-opts ["-m" "glimmer-gfx.maze"]} |
| 26 | :asteroids {:extra-paths ["examples"] |
| 27 | :main-opts ["-m" "glimmer-gfx.asteroids"]} |
| 28 | :counter {:extra-paths ["examples"] |
| Paint glimmer with nothing under it f554a01 nandi 12d ago | 29 | :main-opts ["-m" "glimmer-gfx.counter"]} |
| Play three games on the gfx backend e98a184 nandi 11d ago | 30 | :test {:extra-paths ["test" "examples"] |
| Paint glimmer with nothing under it f554a01 nandi 12d ago | 31 | :main-opts ["-m" "glimmer-gfx.tests"]}} |
| 32 | |
| Play three games on the gfx backend e98a184 nandi 11d ago | 33 | :tasks {counter "jolt -M:counter" |
| 34 | tictactoe "jolt -M:tictactoe" |
| 35 | maze "jolt -M:maze" |
| 36 | asteroids "jolt -M:asteroids" |
| 37 | test "jolt -M:test"}} |