fixes editor header stuff, also 1.4-only prefs line, plus Info.plist

This commit is contained in:
benfry
2004-09-28 00:39:08 +00:00
parent 20705564fb
commit f9c580dfb8
4 changed files with 15 additions and 12 deletions
+4 -3
View File
@@ -146,10 +146,11 @@ public class PdeEditorHeader extends JComponent {
Graphics g = offscreen.getGraphics();
if (font == null) {
font = PdePreferences.getFont("header.text.font");
g.setFont(font);
metrics = g.getFontMetrics();
fontAscent = metrics.getAscent();
}
g.setFont(font); // need to set this each time through
metrics = g.getFontMetrics();
fontAscent = metrics.getAscent();
//}
//Graphics2D g2 = (Graphics2D) g;
//g2.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING,
+2 -2
View File
@@ -296,14 +296,14 @@ public class PdePreferences extends JComponent {
pain.add(textarea);
*/
label = new JLabel("More preferences can be edited directly in the file");
label.setForeground(Color.GRAY);
label.setForeground(Color.gray);
pain.add(label);
d = label.getPreferredSize();
label.setBounds(left, top, d.width, d.height);
top += d.height; // + GUI_SMALL;
label = new JLabel(preferencesFile.getAbsolutePath());
label.setForeground(Color.GRAY);
label.setForeground(Color.gray);
pain.add(label);
d = label.getPreferredSize();
label.setBounds(left, top, d.width, d.height);
+2 -2
View File
@@ -3,7 +3,7 @@
<plist version="0.9">
<dict>
<key>CFBundleName</key>
<string>finch</string>
<string>Processing</string>
<key>CFBundleVersion</key>
<string>10.2</string>
<key>CFBundleAllowMixedLocalizations</key>
@@ -44,7 +44,7 @@
<string>true</string>
<key>com.apple.hwaccel</key>
<string>true</string>
<key>com.apple.macos.use-file-dialog-packages</key>
<key>apple.awt.use-file-dialog-packages</key>
<string>false</string>
</dict>
</dict>
+7 -5
View File
@@ -219,15 +219,17 @@ X http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs
X history is not implemented in this version
X update build instructions for cvs
_ macosx
_ check to see if new linemetrics stuff is working better (it's not)
_ enable the "use screen menubar" stuff (finch?)
_ check to see if it's running ok with new java update
X macosx
X check to see if new linemetrics stuff is working better (it's not)
X redo setFont() in PdeEditorHeader
X enable the "use screen menubar" stuff (finch?)
X check to see if it's running ok with new java update
X update to new shell runner (old mrj guy was ancient)
with casey
_ figure out what to include for examples/libraries
_ let's not call it 'expert', let's just say w/o java
_ "draw" is not highlighted as a keyword
......................................................................