File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -71,13 +71,28 @@ Build the library and demo program.
7171$ make
7272```
7373
74- Run sample ` Mado ` program:
74+ ` Mado ` supports SDL or Linux framebuffer as backends. The basic usage is given as:
75+
7576``` shell
76- $ ./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
7784```
7885
7986Once the window appears, you should be able to move the windows and interact with the widgets.
8087
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+
8196## License
8297
8398` Mado ` is available under a MIT-style license, permitting liberal commercial use.
You can’t perform that action at this time.
0 commit comments