Changeset 3e73eb74f88c840906f6889e46418bb8634af0b5
- Timestamp:
- 06/19/11 19:57:32 (8 months ago)
- Author:
- Robin Gareus <robin@…>
- Parents:
- cb5297d42f18823d3b05ce472cd6328700f52241
- git-committer:
- Robin Gareus <robin@gareus.org> / 2011-06-19T21:57:32Z+0200
- Message:
-
image loading optimizations and titles..
- Location:
- InOutExpositor
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
rcb5297d
|
r3e73eb7
|
|
| 23 | 23 | ////////////////////////////////////////////////////////////////////////////// Screen |
| 24 | 24 | // WARNING ! : to export as web applet, you must set the size() arguments manually too |
| 25 | | //int windW = 1024 ; // Set to screen resolution to get fullscreen in 'Present' mode (or when exporting as application) |
| 26 | | //int windH = 768 ; |
| 27 | | int windW = 800 ; |
| 28 | | int windH = 600 ; |
| | 25 | int windW = 1024 ; // Set to screen resolution to get fullscreen in 'Present' mode (or when exporting as application) |
| | 26 | int windH = 768 ; |
| | 27 | //int windW = 800 ; |
| | 28 | //int windH = 500 ; |
| 29 | 29 | ////////////////////////////////////////////////////////////////////////////// Auto Pilot Mode |
| 30 | 30 | int autoPilotLaunchCompt = 50*25 ; // time before AUTO |
| 31 | | int autoPilotBetween = 50*25 ; // time between AUTO modes |
| | 31 | int autoPilotBetween = 20*25 ; // time between AUTO modes |
| 32 | 32 | int fadingTime = 7*25 ; // fading time between modes |
| 33 | 33 | ////////////////////////////////////////////////////////////////////////////// LOADING FROM XML(s) : |
| … |
… |
|
| 300 | 300 | int theMode = modUlo%6 ; // modes 0 1 2 3 4 5 only |
| 301 | 301 | */ |
| 302 | | // only modes 0 2 3 5 |
| 303 | | if ((modUlo%6)==1 || (modUlo%4)==4) { |
| | 302 | // only modes 0 1 2 3 5 |
| | 303 | if ((modUlo%4)==4) { |
| 304 | 304 | modUlo++; |
| 305 | 305 | } |
| … |
… |
|
| 445 | 445 | textAlign(LEFT); |
| 446 | 446 | textFont(font,20); |
| 447 | | text("Art Collider Traffic",bx,by) ; |
| | 447 | text("TheArtCollider.org Traffic-Monitor",bx,by) ; |
| 448 | 448 | /* |
| 449 | 449 | textFont(font,10); |
-
|
rcb5297d
|
r3e73eb7
|
|
| 75 | 75 | // URL encode spaces |
| 76 | 76 | String lin = login.replace(' ','+'); |
| 77 | | String imPath = previewFilesAddress + lin + ".png"; |
| | 77 | String imPath = previewFilesAddress + lin + ".png?timeout=500"; |
| 78 | 78 | if (vImID>=0) { |
| 79 | 79 | print("discarding prev image request: "+login+": "+vImID+"\n") ; |
| … |
… |
|
| 95 | 95 | void traceImage(float a, float b, float w, float h) { |
| 96 | 96 | if (vImID >=0) { |
| 97 | | vIm[curr] = loader.getImage(vImID); |
| 98 | | if (vIm[curr] != null) { |
| | 97 | PImage tmpIm ; |
| | 98 | tmpIm = loader.getImage(vImID); |
| | 99 | if (tmpIm != null) { |
| 99 | 100 | print("Image ID: "+vImID+" loaded."); |
| 100 | 101 | loader.delImage(vImID); |
| 101 | 102 | vImID=-1; |
| | 103 | vIm[curr]=tmpIm; |
| 102 | 104 | } |
| 103 | 105 | } |