Changeset 489
- Timestamp:
- 10/23/13 15:57:55 (11 years ago)
- Location:
- trunk/src_apollo/org/apollo
- Files:
-
- 1 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src_apollo/org/apollo/ApolloSystem.java
r375 r489 259 259 * Releases all resources currently used by the SampledAudioManager. 260 260 */ 261 p rivatestatic void shutdown() {261 public static void shutdown() { 262 262 263 263 ApolloSystemLog.println("Saving banks..."); -
trunk/src_apollo/org/apollo/AudioFrameKeyboardActions.java
r365 r489 21 21 import org.expeditee.gui.FrameUtils; 22 22 import org.expeditee.gui.FreeItems; 23 import org.expeditee.items.UserAppliedPermission; 23 24 import org.expeditee.items.Dot; 24 25 import org.expeditee.items.Item; … … 145 146 if (ip.getParent() != current) continue; 146 147 147 if (ip.hasPermission( Permission.full)) {148 if (ip.hasPermission(UserAppliedPermission.full)) { 148 149 // Only include lines if one of their enpoints are also being removed 149 150 if (ip instanceof Line) { -
trunk/src_apollo/org/apollo/gui/FrameLayoutDaemon.java
r375 r489 69 69 private int leftMargin = DEFAULT_LAYOUT_LEFT_MARGIN; 70 70 private int rightMargin = DEFAULT_LAYOUT_RIGHT_MARGIN; 71 71 72 /* 72 73 public static final int DEFAULT_LAYOUT_RIGHT_MARGIN = 30; 73 74 public static final int DEFAULT_LAYOUT_LEFT_MARGIN = 30; 74 75 public static final int MAX_TIMELINE_MARGIN_AREA = 400; 76 */ 77 78 public static final int DEFAULT_LAYOUT_RIGHT_MARGIN = 300; 79 public static final int DEFAULT_LAYOUT_LEFT_MARGIN = 100; 80 public static final int MAX_TIMELINE_MARGIN_AREA = 500; 81 82 75 83 public static final int LAYOUT_MAX_INITIATION_PIXEL = 100; 76 84 public static final int MIN_TRACK_WIDGET_WIDTH = 20; -
trunk/src_apollo/org/apollo/io/AudioPathManager.java
r355 r489 26 26 27 27 /** Suffixed with the native file separator */ 28 public static final String AUDIO_HOME_DIRECTORY = "audio" + File.separatorChar; 29 // TODO: TMP FOR WORKING IN LINUX LABS: Avoids using my quota 30 //public static final String AUDIO_HOME_DIRECTORY = "/research/bjn8/apollosaudio/"; 28 public static String AUDIO_HOME_DIRECTORY = "audio" + File.separatorChar; 31 29 32 30 /** Stores all virtual names created by this repository. */ … … 44 42 */ 45 43 static { 44 45 String expeditee_home = System.getProperty("expeditee.home"); 46 47 if (expeditee_home != null) { 48 AUDIO_HOME_DIRECTORY = expeditee_home + File.separator + AUDIO_HOME_DIRECTORY; 49 } 46 50 47 51 // Ensure audio directory exists -
trunk/src_apollo/org/apollo/io/IconRepository.java
r355 r489 59 59 if (icon == null) { 60 60 try { 61 62 URL url = ClassLoader.getSystemResource("org/apollo/icons/" + name); 63 61 URL url; 62 ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); 63 if (classLoader!=null) { 64 // Applet friendly 65 url = classLoader.getResource("org/apollo/icons/" + name); 66 } 67 else { 68 url = ClassLoader.getSystemResource("org/apollo/icons/" + name); 69 } 70 64 71 if (url != null) { 65 72 icon = new ImageIcon(url); -
trunk/src_apollo/org/apollo/items/EmulatedTextItem.java
r352 r489 247 247 Point2D.Float newMouse = emulatedSource.moveCursor( 248 248 (e.getKeyCode() == KeyEvent.VK_LEFT) ? Text.LEFT : Text.RIGHT, 249 (float)p.getX(), (float)p.getY(), false );249 (float)p.getX(), (float)p.getY(), false, false); 250 250 251 251 if (newMouse != null) { -
trunk/src_apollo/org/apollo/items/FramePlaybackLauncher.java
r375 r489 112 112 113 113 @Override 114 public intgetWidth() {114 public Integer getWidth() { 115 115 return WIDTH; 116 116 } -
trunk/src_apollo/org/apollo/items/RecordOverdubLauncher.java
r363 r489 87 87 88 88 @Override 89 public intgetWidth() {89 public Integer getWidth() { 90 90 return WIDTH; 91 91 }
Note:
See TracChangeset
for help on using the changeset viewer.