Changes between Version 30 and Version 31 of GraphicsApi
- Timestamp:
- Aug 3, 2012, 4:16:35 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GraphicsApi
v30 v31 7 7 * In a window (opened using the Show Graphics button in the BOINC Manager). 8 8 9 There are two ways to supply these graphics: 10 11 * Using a program (separate from your main program). 12 * Using HTML (this can be used only for the Show Graphics context). 13 In this case your main program supplies a URL that supplies the HTML. 14 This may be an external URL, or it may refer to a web server embedded in your main program 15 (i.e. a URL of the form '''http://localhost:port'''). 16 17 == Graphics applications == 18 19 Normally, both types of graphics are produced using a 'graphics app' program having the properties that: 9 Both types of graphics are produced using a 'graphics app' program 10 (separate from your main application). 11 This graphics app must have the properties that: 20 12 21 13 * If invoked with `--fullscreen`, it opens a full-screen borderless window. … … 158 150 == Using Web graphics == 159 151 152 You can also generate graphics using HTML. 153 '''Note: this works for graphics windows created using the Manager's Show Graphics button; 154 it doesn't provide a screensaver.''' 155 156 In this case your main program supplies a URL that supplies the HTML. 157 This may be an external URL, or it may refer to a web server embedded in your main program 158 (i.e. a URL of the form '''http://localhost:port'''). 160 159 Your main program can call 161 160 {{{ … … 164 163 to register a URL to be used for graphics; 165 164 in this case, the BOINC Manager's '''Show Graphics''' button will 166 open a browser window to this URL.165 open a Web browser window to this URL.