| 1 | package processing.app.legacy; |
| 2 | |
| 3 | public class PConstants { |
| 4 | |
| 5 | // platform IDs for PApplet.platform |
| 6 | |
| 7 | public static final int OTHER = 0; |
| 8 | public static final int WINDOWS = 1; |
| 9 | public static final int MACOSX = 2; |
| 10 | public static final int LINUX = 3; |
| 11 | |
| 12 | public static final String[] platformNames = { |
| 13 | "other", "windows", "macosx", "linux" |
| 14 | }; |
| 15 | |
| 16 | |
| 17 | // used by split, all the standard whitespace chars |
| 18 | // (also includes unicode nbsp, that little bostage) |
| 19 | |
| 20 | static final String WHITESPACE = " \t\n\r\f\u00A0"; |
| 21 | |
| 22 | } |