We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc00614 commit 4c2376fCopy full SHA for 4c2376f
README.md
@@ -71,13 +71,28 @@ Build the library and demo program.
71
$ make
72
```
73
74
-Run sample `Mado` program:
+`Mado` supports SDL or Linux framebuffer as backends. The basic usage is given as:
75
+
76
```shell
-$ ./demo-sdl
77
+$ ./demo -b backend [-p fb-path]
78
+```
79
80
+For example, to run `Mado` with SDL as backend:
81
82
83
+$ ./demo -b sdl
84
85
86
Once the window appears, you should be able to move the windows and interact with the widgets.
87
88
+To run `Mado` with Linux framebuffer as backend, type:
89
90
91
+$ ./demo -b fb -p /dev/fb0
92
93
94
+Note that the user may require to execute `Mado` with `sudo` command with Linux framebuffer mode.
95
96
## License
97
98
`Mado` is available under a MIT-style license, permitting liberal commercial use.
0 commit comments