| 1 | = Using HTML = |
| 2 | |
| 3 | You can also generate graphics using HTML. |
| 4 | '''Note: this works for graphics windows created using the Manager's Show Graphics button; |
| 5 | it doesn't provide a screensaver.''' |
| 6 | |
| 7 | In this case your main program supplies a URL that supplies the HTML. |
| 8 | This may be an external URL, or it may refer to a web server embedded in your main program |
| 9 | (i.e. a URL of the form '''http://localhost:port'''). |
| 10 | Your main program can call |
| 11 | {{{ |
| 12 | boinc_web_graphics_url(char* url) |
| 13 | }}} |
| 14 | to register a URL to be used for graphics; |
| 15 | in this case, the BOINC Manager's '''Show Graphics''' button will |
| 16 | open a Web browser window to this URL. |